Nov-28-2016, 09:25 PM
If some are you are into hacking(WhiteHat) here is a free proxy tester. Just type the address and port and it will tell you if it is up.
Have fun, I am slowly learning python.
bluedog
Have fun, I am slowly learning python.
import socket import sys print("proxy Tester by Blue Dog") print('When you enter the proxy address make sure that you put it in ""') print('Port does not have to have "" around it, it is not a string') try: #create socket (TCP) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) except socket.error, msg: print 'Failed to create socket. Error code: ' + str(msg[0]) + ' , Error message : ' + msg[1] sys.exit(); print 'Socket Created' addr = input("Type in your proxy address like this '104.145.75.97' ") port_num = input("Type in the port of your proxy ") host = addr port = port_num try: remote_ip = socket.gethostbyname( host ) except socket.gaierror: #could not resolve site is down or not their print 'Hostname could not be resolved. Exiting' sys.exit() print 'Ip address of ' + host + ' is ' + remote_ip #Connect to remote server s.connect((remote_ip , port)) print 'Socket Connected to ' + host + ' on ip ' + remote_ipThanks all of you for your help
bluedog