Closed nrathaus closed 5 months ago
If the right URLs are to be used, this is the expected structure:
https://raw.githubusercontent.com/hansmach1ne/LFImap/main/src/exploits/ysvznc.html
I would recommend to also use requests.utils.requote_uri(input_string)
and store in Python the URLs not in their encoded form
i.e.
pylds.append(
requests.utils.requote_uri(
'https://raw.githubusercontent.com/hansmach1ne/LFImap/main/src/exploits/ysvznc.html'
)
)
base_uri = "https://raw.githubusercontent.com/hansmach1ne/LFImap/main/src/exploits/"
pylds = []
pylds.append(
requests.utils.requote_uri(f"{base_uri}ysvznc.php")
)
pylds.append(
requests.utils.requote_uri(f"{base_uri}ysvznc.jsp")
)
pylds.append(
requests.utils.requote_uri(f"{base_uri}ysvznc.html")
)
pylds.append(
requests.utils.requote_uri(f"{base_uri}ysvznc.gif")
)
pylds.append(
requests.utils.requote_uri(f"{base_uri}ysvznc.png")
)
Maybe the right function to use is test = urllib.parse.quote_plus(test)
The rfi.py refers to these URLs:
Which decode results in:
None of these URLs exist :(
Is this intentional? looks like a mishap