Python Proxy on several IPs and different ports.

Job ID: 32973457

Budget: $10 – $30 USD

I currently have a script, I would like to be able to add ports and IPs in this script.

Now:

LISTENING_ADDR = 'x.x.x.x'
LISTENING_PORT = 8888
PASS = 123123
BUFLEN = 4096 * 4
TIMEOUT = 60
DEFAULT_HOST = 'x.x.x.x:443'

Needed example:

LISTENING_ADDR = 'x.x.x.x'
LISTENING_PORT = 8888
LISTENING_PORT = 9999
PASS = 123123
BUFLEN = 4096 * 4
TIMEOUT = 60
DEFAULT_HOST = 'x.x.x.x:666'
DEFAULT_HOST = 'x.x.x.x:777'
Related categories: PHP Python Shell Script Ubuntu