-
-
[原创]python IP代理--开源
-
2015-4-21 10:53
16135
-
写这个pyhton版的寻找ip代理的程序是发现好用的IP代理软件
不是那么好找,用起来也不很方便,经常代理失效.于是利用闲暇时间
写了poxy这么个python程序.
poxy有两个模式,是proxy和alternate.
proxy就是单纯的寻找最快的IP代理,并把系统代理设置为最快的代理IP.
alternate是寻找同一域名的不同服务器的IP,会自动放入hosts,可直接使用.
所以,要用poxy建议首先使用alternate模式.
以下是详细说明.
-h --help Display usage information and exit.
-v --verbose Display detail information.
-t msec --timeout=msec Set timeout time for connection tries.default is 1000ms
-d url --target=url Set target url.
-f --force force to overwrite hosts file if target is in it.
--model=X choose an model: proxy or alternate
--modellevel=X set model level: 1 or greater.
example:
python poxy.py -f -v -t 1000 --model=proxy --modellevel=1 -d https://www.google.com.hk/?gws_rd=ssl
python poxy.py -f -v -t 1000 --model=alternate --modellevel=1 -d https://www.google.com.hk/?gws_rd=ssl
poxy.zip
源码也可在github下载:
https://github.com/yufengzjj/poxy.git
环境:python 3.4.3
win7 x64 SP1,win8.1 x64 with update 测试过.
[培训]二进制漏洞攻防(第3期);满10人开班;模糊测试与工具使用二次开发;网络协议漏洞挖掘;Linux内核漏洞挖掘与利用;AOSP漏洞挖掘与利用;代码审计。