zboya / gomitmproxy Goto Github PK
View Code? Open in Web Editor NEWgomitmproxy是想用golang语言实现[mitmproxy],实现http(s)代理
gomitmproxy是想用golang语言实现[mitmproxy],实现http(s)代理
不考虑Forward那块的。
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
[gomitmproxy]2016/06/21 13:51:40 /root/gocode/src/github.com/gomitmproxy/gomitmproxy.go:116: readRequest err: EOF
证书已经安装在手机了
2016/08/23 15:31:52 http: TLS handshake error from 172.20.35.218:64908: tls: oversized record received with length 20037
2016/08/23 15:31:52 http: TLS handshake error from 172.20.35.218:64910: tls: first record does not look like a TLS handshake
QQ:513994881,谢谢
日志输出
tls: oversized record received with length 20037
如 xxx:[email protected] 这种类型的url 貌似是无法使用的。请问有相关设置吗?
我在尝试使用gomitmproxy的Forward功能,将请求代理至下一级代理,我想在转发的时候做一个计数统计,看一段时间内转发了多少请求。
我发现使用了io.Copy(dst, src)之后,所有请求在两个connection之间直接拷贝转发,根本拦截不到到底发送了多少个请求。有办法可以满足我的技术需求吗?谢谢
dump.go添加:fmt.Printf("%s %s\n", Blue("RemoteAddr:"), req.RemoteAddr)
获取的ip不对的,如果本机是代理,ip获取出来是127.0.0.1,你试试。。
Request:
GET http://www.baidu.com/ <--200
RemoteAddr: 127.0.0.1:51647
User-Agent: [curl/7.43.0]
Accept: [/]
Connection: [Keep-Alive]
Response:
Server: [BWS/1.1]
Content-Type: [text/html; charset=utf-8]
Connection: [Keep-Alive]
Vary: [Accept-Encoding]
"listome.com/log"
go build
genKey.go:17:2: cannot find package "listome.com/log" in any of:
C:\Go\src\listome.com\log (from $GOROOT)
D:\Project\go\src\listome.com\log (from $GOPATH)
不能build
代理模式下,怎么获取 请求页面服务器的ip地址?
我安装了gomitmproxy,没有任何命令行参数.
2016/07/11 16:09:43 proxy listening port:8080
2016/07/11 16:09:43 ListenAndServe
2016/07/11 16:13:30 http: TLS handshake error from 10.1.1.129:56117: EOF
用手机通过这个代理上网。手机上会出现Connection Problem
this page contains too many server redirects.
请问windows下证书怎么处理?
包括证书生成、导入脚本
server.go:3012: http: TLS handshake error from 10.0.0.10:53828: tls: first record does not look like a TLS handshake
测试了几次,无法抓到https包。
加-tls和不加都抓不到
例如用这个包开一个http代理。
那么curl用这个代理去请求一个https网址的之后,会发送一个HTTP CONNECT请求和源站建立透明隧道。
这个包能劫持这种情况吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.