Skip to content

Commit

Permalink
Fixed known issue with http urls
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-Apollyon committed Aug 28, 2024
1 parent fa509f2 commit 8b86896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LFIscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def use_payload(x,payloads_per_thread,payload_path,target_url):

if parse.url:
print(f"RUNNING ON TARGET ---> {parse.url}")
if r"https://" in parse.url:
if r"https://" in parse.url or r"http://" in parse.url:
current_target = parse.url
else:
current_target = r"https://" + parse.url
Expand Down

0 comments on commit 8b86896

Please sign in to comment.