0
I’m making a telnet client in python and I need to send a code to another machine but the code needs to put a Ctrl + To (CODE) but when I put ^A
(code) does not work, heeelp me
serv = raw_input("[+] SERVER: ")
port = raw_input("[+] PORT: ")
tn = telnetlib.Telnet(serv, port)
mess = ("^AXXXX")
tn.write(mess)
out=tn.read_all()
print(out)
tn.close()