|
|
@ -1,14 +1,13 @@
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
# panxy, a random proxy connector
|
|
|
|
# panxy, a random proxy connector
|
|
|
|
|
|
|
|
|
|
|
|
PXY_IP = "200.89.178.196"
|
|
|
|
|
|
|
|
PX_PORT = 80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from urllib import request
|
|
|
|
from urllib import request
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
target = "http://theresno.cloud/ip"
|
|
|
|
|
|
|
|
|
|
|
|
target = "https://theresno.cloud/ip"
|
|
|
|
proxy_handler = request.ProxyHandler({'https': 'http://felixpankratz.de:80/', 'http': 'http://felixpankratz.de:80/' })
|
|
|
|
|
|
|
|
|
|
|
|
result = request.urlopen(target)
|
|
|
|
opener = request.build_opener(proxy_handler)
|
|
|
|
content = result.read().decode()
|
|
|
|
content = result.read().decode()
|
|
|
|
|
|
|
|
|
|
|
|
print(content)
|
|
|
|
print(content)
|
|
|
|