i'm faily new to python,
What i'm trying is to use sockets to connect to a web server. I want to use a proxy for this. I'm however not sure how to achieve this Can someone point me to the right direction?
I'll leave what i have below.
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((str(args.host), int(args.port)))
s.send(str.encode(request))
try:
for y in range(150):
s.send(str.encode(request))
except:
s.close()