mitmproxy/examples/pathoc.py
2012-10-05 10:46:09 +13:00

7 lines
125 B
Python
Executable File

#!/usr/bin/env python
from libpathod import pathoc
p = pathoc.Pathoc("google.com", 80)
p.connect()
print p.request("get:/")