Created
June 24, 2019 17:41
-
-
Save RomanDG/561e8fda497c5f6d180293bebaa193cb to your computer and use it in GitHub Desktop.
netcat request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ncat -C httpbin.org 80 | |
GET /anything HTTP/1.1 | |
Host: httpbin.org | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Date: Mon, 24 Jun 2019 17:32:44 GMT | |
Referrer-Policy: no-referrer-when-downgrade | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: DENY | |
X-XSS-Protection: 1; mode=block | |
Content-Length: 228 | |
Connection: keep-alive | |
{ | |
"args": {}, | |
"data": "", | |
"files": {}, | |
"form": {}, | |
"headers": { | |
"Host": "httpbin.org" | |
}, | |
"json": null, | |
"method": "GET", | |
"origin": "7*.*0.*.**, 7*.*0.*.**", | |
"url": "https://httpbin.org/anything" | |
} | |
------------ | |
ncat -C httpbin.org 80 | |
GET /anything?name=Roman&pass=12345 HTTP/1.1 | |
Host: httpbin.org | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Date: Mon, 24 Jun 2019 17:34:26 GMT | |
Referrer-Policy: no-referrer-when-downgrade | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: DENY | |
X-XSS-Protection: 1; mode=block | |
Content-Length: 295 | |
Connection: keep-alive | |
{ | |
"args": { | |
"name": "Roman", | |
"pass": "12345" | |
}, | |
"data": "", | |
"files": {}, | |
"form": {}, | |
"headers": { | |
"Host": "httpbin.org" | |
}, | |
"json": null, | |
"method": "GET", | |
"origin": "7*.*0.*.**, 7*.*0.*.**", | |
"url": "https://httpbin.org/anything?name=Roman&pass=12345" | |
} | |
---------- | |
ncat -C httpbin.org 80 | |
POST /anything HTTP/1.1 | |
Host: httpbin.org | |
Content-Type: application/x-www-form-urlencoded | |
Content-Length: 26 | |
login=admin&password=12345 | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Date: Mon, 24 Jun 2019 17:36:28 GMT | |
Referrer-Policy: no-referrer-when-downgrade | |
Server: nginx | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: DENY | |
X-XSS-Protection: 1; mode=block | |
Content-Length: 366 | |
Connection: keep-alive | |
{ | |
"args": {}, | |
"data": "", | |
"files": {}, | |
"form": { | |
"login": "admin", | |
"password": "12345" | |
}, | |
"headers": { | |
"Content-Length": "26", | |
"Content-Type": "application/x-www-form-urlencoded", | |
"Host": "httpbin.org" | |
}, | |
"json": null, | |
"method": "POST", | |
"origin": "7*.*0.*.**, 7*.*0.*.**", | |
"url": "https://httpbin.org/anything" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment