Skip to content

Instantly share code, notes, and snippets.

View dsphper's full-sized avatar

Fujun Lv dsphper

View GitHub Profile
@dsphper
dsphper / intercept-https-with-python-mitmproxy.md
Created April 18, 2020 16:42 — forked from dannvix/intercept-https-with-python-mitmproxy.md
Intercept and manipulate HTTPs traffic with Python and mitmproxy

Intercepts HTTPs Traffic with Python & mitmproxy

Warning

This Gist is created in 2014, and it's highliy outdated now, according to one of mitmproxy's manjor contributor (check his comment below). Thanks for letting us know, @mhils!

Introduction

Modern applications usually make use of back-end API servers to provide their services. With a non-transparent HTTPs proxy, which intercepts the communication between clients and servers (aka the man-in-the-middle scheme), you can easily manipulate both API requests and responses.

@dsphper
dsphper / intercept-https-with-python-mitmproxy.md
Created April 18, 2020 16:42 — forked from dannvix/intercept-https-with-python-mitmproxy.md
Intercept and manipulate HTTPs traffic with Python and mitmproxy

Intercepts HTTPs Traffic with Python & mitmproxy

Warning

This Gist is created in 2014, and it's highliy outdated now, according to one of mitmproxy's manjor contributor (check his comment below). Thanks for letting us know, @mhils!

Introduction

Modern applications usually make use of back-end API servers to provide their services. With a non-transparent HTTPs proxy, which intercepts the communication between clients and servers (aka the man-in-the-middle scheme), you can easily manipulate both API requests and responses.

@dsphper
dsphper / sub-branches.json
Created February 25, 2020 05:30 — forked from zhwei/sub-branches.json
完整国内支行联行号(部分国外,取自中信银行)
This file has been truncated, but you can view the full file.
{
"000998800006": "电子联行转换中心",
"001100001509": "中国人民银行营业管理部营业室",
"001110002715": "中国人民银行天津分行营业管理部",
"001110002774": "中国人民银行天津分行塘沽中心支行营业部",
"001121004527": "中国人民银行石家庄中心支行营业部",
"001121004535": "中国人民银行赞皇县支行",
"001121004543": "中国人民银行元氏县支行",
"001121004551": "中国人民银行赵县支行",
"001121004560": "中国人民银行栾城县支行",