Skip to content

Commit

Permalink
Update LfiDump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HackfutSec authored Dec 30, 2024
1 parent 743ad95 commit 627d674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LfiDump.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def check_vulnerability(url, output_file):
f.write(url + '\n')
print(f"\n{YELLOW_BOLD}[>>]{RESET} {WHITE_BOLD}{url}{RESET} --> {GREEN_BOLD}[Vuln]{RESET}")
else:
print(f"{RED_BOLD}[x]{RESET} {WHITE_BOLD}{url}{RESET} --> {RED_BOLD}[Not Vuln]{RESET}")
print(f"\n{RED_BOLD}[x]{RESET} {WHITE_BOLD}{url}{RESET} --> {RED_BOLD}[Not Vuln]{RESET}")
except requests.RequestException as e:
with error_lock:
with open('errors.log', 'a') as f:
Expand All @@ -109,7 +109,7 @@ def main():

if choice == '2':
# Handle list of URLs
urls_file = input(f"{YELLOW_BOLD}Give me your URL list file: {RESET}").strip()
urls_file = input(f"\n[] {YELLOW_BOLD}Give me your URL list file: {RESET}").strip()

if not os.path.isfile(urls_file):
print(f"\n[✘] {RED_BOLD}Error:{RESET} The provided URL list file does not exist.")
Expand Down

0 comments on commit 627d674

Please sign in to comment.