capture0x / LFI-FINDER

LFI-FINDER is an open-source tool available on GitHub that focuses on detecting Local File Inclusion (LFI) vulnerabilities
GNU General Public License v3.0
286 stars 53 forks source link

issue #6

Closed dimitrijrt closed 10 months ago

dimitrijrt commented 11 months ago

Hello ,

I get this error :

Trying payloads list, please wait...
Traceback (most recent call last):
File "/home/kali/tools/LFI-FINDER/lfi.py", line 99, in
vulnerable_urls = check_lfi_vulnerability(target_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/tools/LFI-FINDER/lfi.py", line 73, in check_lfi_vulnerability
browser = webdriver.Chrome(options=chrome_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in init
RemoteWebDriver.init(
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

any idea ? thx

b0c0de commented 11 months ago

Okay, let's break down the error and fix it!

Problem: Your LFI-FINDER tool can't find Chrome to run its tests. It's like a car needing gas, but the gas station (Chrome) is closed!

Possible reasons:

No Chrome: Make sure Chrome is installed on your system. Think of it like building a garage for your car before you buy one! Wrong Path: The LFI-FINDER doesn't know where to find Chrome. It needs a map (the system path) to reach the gas station! Mismatched Versions: Imagine your car needs a specific fuel type (Chrome version), but the gas station only has another kind (chromedriver version). They don't match!

Solutions:

Install Chrome: Get your car (Chrome) on the road! Fix the Path: Show the LFI-FINDER the way to the gas station (Chrome). Tell it exactly where the chromedriver lives, like giving directions. Update Versions: Make sure your car (Chrome) and the gas station (chromedriver) speak the same language (versions). Get the latest chromedriver that matches your Chrome. Bonus Tip: Check for any error messages in the LFI-FINDER, just like a car's dashboard warning lights. They might give you more clues!

With these fixes, your LFI-FINDER should find Chrome and zoom through its tests!

Let me know if you have any other questions. I'm here to help you keep your car running smoothly! 😉