I hereby claim:
- I am juhakivekas on github.
- I am guttula (https://keybase.io/guttula) on keybase.
- I have a public key ASDcfONBZKs9DoKoTCHYzeGIMgJwtMx_Cwez6PXh_nypQgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### MITMPROXY FORMATTER TEMPLATE | |
# This script is meant to be run in a proxy chain to enable scanning with security tools such | |
# as Burp and ZAP. Common use cases for this type of scripts are fixing annoying encodings, | |
# packings, re-signing client-signed requests, and requests with hashes of some parameters. | |
# The script needs to run in two chained instances of mitmproxy, with ZAP chained in the middle, | |
# | |
# client -> mitmdump(preprocess):8081 -> ZAP:8080 -> mitmdump(postprocess):8082 -> server | |
# | |
# mitmdump -p 8081 --insecure -b 127.0.0.1 -s 'packer.py --pre' -U https://127.0.0.1:8080 | |
# mitmdump -p 8082 --insecure -b 127.0.0.1 -s 'packer.py --post' |
import socket | |
import random | |
import time | |
human = [ | |
" x x x x x x xxx x x", | |
" x x x x xx xx x x xx x", | |
" xxxxx x x x x x xxxxx x x x", | |
" x x x x x x x x x xx", | |
" x x xxx x x x x x x", |