coffinxp / loxs

best tool for finding SQLi,CRLF,XSS,LFi,OpenRedirect
653 stars 148 forks source link

Error Selenium Webdriver #60

Open Conato1 opened 1 week ago

Conato1 commented 1 week ago

Hello ... anyone can help me with this error

Traceback (most recent call last): File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 242, in run_xss_scanner() File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 240, in run_xss_scanner main() File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 229, in main vulnerable_urls, scanned, start_time = run_scan([url], payload_file, concurrency=10, timeout=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 112, in run_scan driver = webdriver.Chrome(service=driver_service, options=chrome_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init super().init( File "/home/kali/.local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 55, in init self.service.start() File "/home/kali/.local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 98, in start self._start_process(self._path) File "/home/kali/.local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 208, in _start_process self.process = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/home/kali/.wdm/drivers/chromedriver/linux64/131.0.6778.69/chromedriver-linux64/THIRD_PARTY_NOTICES.chromedriver'

Conato1 commented 1 week ago

Traceback (most recent call last): File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 242, in run_xss_scanner() File "/home/kali/Downloads/Xss/loxs/tool/xss.py", line 32, in run_xss_scanner console = Console() ^^^^^^^ NameError: name 'Console' is not defined

moin-gun commented 1 week ago

Hey @Conato1 can you please reinstall tool and try to run it in virtual environment.

pedrojimenezrd commented 1 week ago

igual solo me funciona el lfi: lo hice en un entorno virtual he provado en dos kali y nada: Traceback (most recent call last): File "/home/andy/herramientas/loxs/tool/xss.py", line 242, in run_xss_scanner() File "/home/andy/herramientas/loxs/tool/xss.py", line 240, in run_xss_scanner main() File "/home/andy/herramientas/loxs/tool/xss.py", line 229, in main vulnerable_urls, scanned, start_time = run_scan([url], payload_file, concurrency=10, timeout=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/andy/herramientas/loxs/tool/xss.py", line 112, in run_scan driver = webdriver.Chrome(service=driver_service, options=chrome_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init super().init( File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init super().init(command_executor=executor, options=options) File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 238, in init self.start_session(capabilities) File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 325, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 380, in execute self.error_handler.check_response(response) File "/home/andy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 126.0.6478.126 with binary path /usr/bin/chromium Stacktrace:

0 0x556baf8e74e3

1 0x556baf616c76

2 0x556baf64404a

3 0x556baf63f4a1

4 0x556baf63c029

5 0x556baf67accc

6 0x556baf67a47f

7 0x556baf671de3

8 0x556baf6472dd

9 0x556baf64834e

10 0x556baf8a73e4

11 0x556baf8ab3d7

12 0x556baf8b5b20

13 0x556baf8ac023

14 0x556baf87a1aa

15 0x556baf8d06b8

16 0x556baf8d0847

17 0x556baf8e0243

18 0x7f3387e97dab