Code Monkey home page Code Monkey logo

pxclawer's Introduction

pxclawer

通过黛莉 MITM 实现 HTTP/HTTPS 抓包

使用

  1. 启动程序

  2. 找到客户端在局域网中的 ip

  3. 客户端设置代理到 ip:8888

  4. 访问 http://ip:8888/trust 安装证书,并且设置证书授信 https://github.com/zh-h/pxclawer/blob/master/docs/images/trust.jpg?raw=true

  5. 客户端访问任意网站,日志输出所有请求响应

日志信息

8:50:20,785    INFO javax.annotation.Resource:76 - Request: GET http://applehater.cn/
8:50:20,786    INFO javax.annotation.Resource:77 - {"Accept":"text/html,application/xhtml+xml,application/xml;q\u003d0.9,*/*;q\u003d0.8","Cache-Control":"no-cache","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0","Connection":"keep-alive","Host":"applehater.cn","Accept-Language":"zh-CN,zh;q\u003d0.8,en-US;q\u003d0.5,en;q\u003d0.3","Accept-Encoding":"gzip, deflate","Pragma":"no-cache"}
8:50:20,807    INFO javax.annotation.Resource:76 - Request: GET http://applehater.cn/css/fonts/fontawesome/fontawesome-webfont.woff?v=4.7
8:50:20,808    INFO javax.annotation.Resource:77 - {"Accept":"application/font-woff2;q\u003d1.0,application/font-woff;q\u003d0.9,*/*;q\u003d0.8","Cache-Control":"no-cache","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0","Referer":"http://applehater.cn/css/style.css","Connection":"keep-alive","Host":"applehater.cn","Accept-Language":"zh-CN,zh;q\u003d0.8,en-US;q\u003d0.5,en;q\u003d0.3","Accept-Encoding":"identity","Pragma":"no-cache"}
8:50:20,975    INFO javax.annotation.Resource:85 - Response
8:50:20,975    INFO javax.annotation.Resource:94 - Content: text/html; charset=utf-8 gzip
8:50:20,975    INFO javax.annotation.Resource:98 - {"X-Cache":"HIT","Server":"GitHub.com","Access-Control-Allow-Origin":"*","Connection":"keep-alive","Last-Modified":"Tue, 19 Sep 2017 12:37:07 GMT","Date":"Thu, 21 Sep 2017 05:51:46 GMT","Via":"1.1 varnish","X-Timer":"S1505973107.857604,VS0,VE0","Accept-Ranges":"bytes","Cache-Control":"max-age\u003d600","X-Served-By":"cache-nrt6130-NRT","Content-Encoding":"gzip","Vary":"Accept-Encoding","Expires":"Thu, 21 Sep 2017 04:27:29 GMT","Content-Length":"6821","X-Cache-Hits":"1","Age":"108","X-Fastly-Request-ID":"8a7894d4a5170b0ad3303ead46cd9089e731753e","Content-Type":"text/html; charset\u003dutf-8","X-GitHub-Request-Id":"30A8:2076C:70BC9F:7B408B:59C33D59"}
8:50:20,976    INFO javax.annotation.Resource:85 - Response
S
����

pxclawer's People

Contributors

zh-h avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.