mylo@swift:~/cors-anywhere$ sudo ngrep -d any -W byline port 7777
[sudo] password for mylo:
interface: any
filter: ( port 7777 ) and (ip || ip6)
####
T 127.0.0.1:44942 -> 127.0.0.1:7777 [AP] #4
OPTIONS /http://127.0.0.1:12277 HTTP/1.1.
Host: 127.0.0.1:7777.
Connection: keep-alive.
Pragma: no-cache.
Cache-Control: no-cache.
Access-Control-Request-Method: POST.
Origin: http://localhost:8080.
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.
DNT: 1.
Access-Control-Request-Headers: authorization,content-type.
Accept: */*.
Referer: http://localhost:8080/.
Accept-Encoding: gzip, deflate, br.
Accept-Language: en-US,en;q=0.9.
.
##
T 127.0.0.1:7777 -> 127.0.0.1:44942 [AP] #6
HTTP/1.1 200 OK.
access-control-allow-origin: *.
access-control-allow-methods: POST.
access-control-allow-headers: authorization,content-type.
access-control-expose-headers: access-control-allow-origin,access-control-allow-methods,access-control-allow-headers.
Date: Sun, 12 May 2019 06:03:55 GMT.
Connection: keep-alive.
Transfer-Encoding: chunked.
.
0.
.
##
T 127.0.0.1:44942 -> 127.0.0.1:7777 [AP] #8
POST /http://127.0.0.1:12277 HTTP/1.1.
Host: 127.0.0.1:7777.
Connection: keep-alive.
Content-Length: 67.
Pragma: no-cache.
Cache-Control: no-cache.
Accept: application/json, text/plain, */*.
Origin: http://localhost:8080.
Authorization: Basic dXNlcjE3MTc3NTU4NTE6cGFzczczOGQ2ODMxOTZhNGI0YzNhYWFlMTE4ZTg1ZTNmZTljZjRiNDA3NDc5MzNhMzJjZWY1OGNiOWIzNTcyN2E5ZjQ5MA==.
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.
DNT: 1.
Content-Type: application/json;charset=UTF-8.
Referer: http://localhost:8080/.
Accept-Encoding: gzip, deflate, br.
Accept-Language: en-US,en;q=0.9.
.
{"jsonrpc":"2.0","method":"getinfo","params":[],"id":1557641035222}
##
T 127.0.0.1:7777 -> 127.0.0.1:44942 [AP] #10
HTTP/1.1 200 OK.
x-request-url: http://127.0.0.1:12277/.
content-type: application/json.
date: Sun, 12 May 2019 06:03:55 GMT.
content-length: 831.
connection: close.
x-final-url: http://127.0.0.1:12277/.
access-control-allow-origin: *.
access-control-expose-headers: content-type,date,content-length,connection,x-final-url,access-control-allow-origin.
.
{"result":{"version":2001526,"protocolversion":170007,"KMDversion":"0.3.3b","notarized":0,"prevMoMheight":0,"notarizedhash":"0000000000000000000000000000000000000000000000000000000000000000","notarizedtxid":"0000000000000000000000000000000000000000000000000000000000000000","notarizedtxid_height":"mempool","KMDnotarized_height":0,"notarized_confirms":0,"walletversion":60000,"balance":1000.16480777,"blocks":1,"longestchain":0,"timeoffset":0,"tiptime":1557636451,"connections":0,"proxy":"","difficulty":1,"testnet":false,"keypoololdest":1557636439,"keypoolsize":101,"paytxfee":0.00000000,"relayfee":0.00000100,"errors":"","pubkey":"024edf5c4b2d7d45c40bbad404ece9c470080d8d0c466a62b936bdf93cc1c01c15","name":"MYCOIN","sapling":-1,"p2pport":12276,"rpcport":12277,"magic":-1795458551,"premine":1000},"error":null,"id":1557641035222}
Created
May 12, 2019 06:05
-
-
Save imylomylo/254f510333929e86eba294755eaf2341 to your computer and use it in GitHub Desktop.
network trace getinfo RPC from browser with cors anywhere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment