fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void request_process(char *request)
  6. {
  7. for (int j = 0; j< 27; j++)
  8. {
  9. cout << (request[j] << 0) << "\n";
  10. }
  11. }
  12.  
  13. int main() {
  14. char foo[] = "\xe1\x0c\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x06google\x03com\x00\x00\x01\x00\x01";
  15.  
  16. request_process(foo);
  17. }
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
-31
12
1
0
0
1
0
0
0
0
0
0
6
103
111
111
103
108
101
60
111
109
0
0
1
0
1