Skip to content

基于Tornado的随机转发HTTP/HTTPS代理

Notifications You must be signed in to change notification settings

c0d1007/RandomProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RandomProxy

Capture a large number of proxy IP from the Internet, and then through the agent cascade to achieve random forwarding traffic. Compatible with most support HTTP / HTTPS proxy procedures, such as Sqlmap, Burpsuite, FireFox, you can also run on Linux, Windows, MacOS.

Install

git clone https://github.com/UUUUnotfound/Randomproxy.git
cd Randomproxy/
#install random_proxy dependency
pip install request tornado pycurl
#install IPProxyPool dependency

#### Ubuntu,debian
# Install sqlite and python-lxml:
apt-get install sqlite3 python-lxml
# Install requests,chardet,web.py,gevent psutil:
pip install requests chardet web.py sqlalchemy gevent psutil

#### Windows
# Download[sqlite](https://www.sqlite.org/download.html),and add it to Path
# Install requests,chardet,web.py,gevent:
pip install requests chardet web.py sqlalchemy gevent
# Install lxml:
pip install lxml
# Or [lxml windows](https://pypi.python.org/pypi/lxml/)

Usage

Usage: python random_proxy.py [-H 127.0.0.1] [-p 8888] [-c 0] [-a https://127.0.0.1:8000] [-t 0] [-p 2]

Options:
  -h, --help            show this help message and exit
  -H HOST_IP, --host=HOST_IP
                        [RandomProxy] The RandomProxy listen host_ip; default
                        127.0.0.1
  -p HOST_PORT, --port=HOST_PORT
                        [RandomProxy] The RandomProxy listen host_port;
                        default 8888
  -c CHANGE, --change=CHANGE
                        [RandomProxy] Default (0); (0): every request has a
                        new IP; (60): Change IP every 60 seconds  ;  (less
                        than 0): curl https://127.0.0.1:8888/next to change IP
  -a ADDRESS, --address=ADDRESS
                        [IPProxyPool] The IPProxyPool api url;default
                        https://127.0.0.1:8000
  -t TYPE, --type=TYPE  [IPProxyPool] Default (0): high anonymous, (1):
                        anonymous, (2) transparent
  -P PROTOCOL, --protocol=PROTOCOL
                        [IPProxyPool] HTTP/HTTPS proxy you want ? (0): http,
                        (1) https, (2) http/https(default)

Reference

qiyeboy/IPProxyPool: IPProxyPool代理池项目,提供代理ip
https://github.com/qiyeboy/IPProxyPool
rfyiamcool/toproxy: 😈 high performance simple tornado http proxy.
https://github.com/rfyiamcool/toproxy

PS

if something wrong on windows,
because that pycurl not support python2 64bit on windows.
you can install python2 32bit to solve it.

About

基于Tornado的随机转发HTTP/HTTPS代理

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages