You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
348 B
Python

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