Closed jgor closed 2 years ago
Thanks for letting me know, I don't know how that happened, chromedriver is downloaded based on the bundled Chrome version. I'm rebuilding the packages now.
Btw, Chrome installation is suggested as a round-about way of resolving dependencies, on Linux.
Found the culprit, package build kept going even after the requested URL was for a non-existing chromedriver (versions aren't always identical to Chrome unfortunately), instead of printing an error and exiting. So, the last chromedriver that was used got packaged.
Should be fine now, thanks again.
Arm64 Arachini 1.6.1.3 the same problem still exists
root@22a47f575879:/# arachni -v
Arachni - Web Application Security Scanner Framework v1.6.1.3
Author: Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
(With the support of the community and the Arachni Team.)
Website: http://arachni-scanner.com
Documentation: http://arachni-scanner.com/wiki
Arachni 1.6.1.3 (ruby 2.7.4p191) [aarch64-linux-gnu]
root@22a47f575879:/# chromium --version
Chromium 104.0.5112.79 built on Debian 11.4, running on Debian 11.4
root@22a47f575879:/# chromedriver --version
ChromeDriver 104.0.5112.79 (3cf3e8c8a07d104b9e1260c910efb8f383285dc5-refs/branch-heads/5112@{#1307})
[*] BrowserCluster: Initializing 4 browsers...
[-] [browser#selenium:1123] Worker: Please ensure that chromedriver and Chrome are the same version and in your PATH.
[-] [utilities#exception_jail:428] [Selenium::WebDriver::Error::SessionNotCreatedError] session not created
from tab crashed
(Session info: headless chrome=104.0.5112.79)
[-] [utilities#exception_jail:428] #0 0xaaaaaef14058 <unknown>
[-] [utilities#exception_jail:428] #1 0xaaaaaed492a8 <unknown>
[-] [utilities#exception_jail:428] #2 0xaaaaaed38b4c <unknown>
[-] [utilities#exception_jail:428] #3 0xaaaaaed38590 <unknown>
[-] [utilities#exception_jail:428] #4 0xaaaaaed379e8 <unknown>
[-] [utilities#exception_jail:428] #5 0xaaaaaed36b50 <unknown>
[-] [utilities#exception_jail:428] #6 0xaaaaaed36f7c <unknown>
there are always has issue for 1.6.1.3
browser_cluster: local_storage: {} session_storage: {} wait_for_elements: {} wait_for_timers: false pool_size: 4 job_timeout: 60 worker_time_to_live: 250 ignore_images: false screen_width: 1600 screen_height: 1200 input: values: "(?i-mx:name)": arachni_name "(?i-mx:user)": arachni_user "(?i-mx:usr)": arachni_user "(?i-mx:pass)": 5543!%arachni_secret "(?i-mx:txt)": arachni_text "(?i-mx:num)": '132' "(?i-mx:amount)": '100' "(?i-mx:mail)": arachni@email.gr "(?i-mx:account)": '12' "(?i-mx:id)": '1' default_values: name: arachni_name user: arachni_user usr: arachni_user pass: 5543!%arachni_secret txt: arachni_text num: '132' amount: '100' mail: arachni@email.gr account: '12' id: '1' without_defaults: true force: false datastore: token: b95a7cc0d6fdd4d729432fce1e5b817c audit: parameter_values: true exclude_vector_patterns: [] include_vector_patterns: [] link_templates: [] links: true forms: true cookies: true headers: false with_both_http_methods: false cookies_extensively: false jsons: true xmls: true ui_forms: true ui_inputs: true nested_cookies: true http: user_agent: Mozilla/5.0 (Gecko) Arachni/v1.6.1.3 request_timeout: 20000 request_redirect_limit: 5 request_concurrency: 10 request_queue_size: 50 request_headers: {} response_max_size: 500000 cookies: {} authentication_type: auto scope: directory_depth_limit: 20 auto_redundant_paths: 15 redundant_path_patterns: {} dom_depth_limit: 4 exclude_file_extensions:
[2022-11-21 04:01:12 +0000] Please ensure that chromedriver and Chrome are the same version and in your PATH.
[2022-11-21 04:01:12 +0000] [Selenium::WebDriver::Error::UnknownError] unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
[2022-11-21 04:01:12 +0000] #0 0x55c567fe0f33 assert_ok' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/response.rb:35:in
initialize'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/http/common.rb:83:in new' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/http/common.rb:83:in
create_response'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/selenium/webdriver/remote/typhoeus.rb:51:in request' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/http/common.rb:59:in
call'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/bridge.rb:588:in execute' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/remote/bridge.rb:52:in
create_session'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/common/driver.rb:340:in create_bridge' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/common/driver.rb:74:in
initialize'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/common/driver.rb:47:in new' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/common/driver.rb:47:in
for'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver.rb:88:in for' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser.rb:1100:in
selenium'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser.rb:1274:in start_webdriver' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser.rb:192:in
initialize'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster/worker.rb:51:in initialize' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster.rb:495:in
new'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster.rb:495:in block in initialize_workers' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster.rb:494:in
times'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster.rb:494:in initialize_workers' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/browser_cluster.rb:112:in
initialize'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework/parts/browser.rb:33:in new' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework/parts/browser.rb:33:in
block in browser_cluster'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/usr/lib/ruby/2.7.0/monitor.rb:202:in synchronize' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/usr/lib/ruby/2.7.0/monitor.rb:202:in
mon_synchronize'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework/parts/browser.rb:28:in browser_cluster' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework/parts/audit.rb:173:in
audit'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework.rb:117:in block in run' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/utilities.rb:425:in
exception_jail'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework.rb:117:in run' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/rpc/server/framework.rb:156:in
block in run'
[2022-11-21 04:01:12 +0000]
[2022-11-21 04:01:12 +0000] Parent:
[2022-11-21 04:01:12 +0000] Arachni::RPC::Server::Framework
[2022-11-21 04:01:12 +0000]
[2022-11-21 04:01:12 +0000] Block:
[2022-11-21 04:01:12 +0000] #<Proc:0x000055616bfd3f00 /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework.rb:117>
[2022-11-21 04:01:12 +0000]
[2022-11-21 04:01:12 +0000] Caller:
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/utilities.rb:424:in exception_jail' [2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/framework.rb:117:in
run'
[2022-11-21 04:01:12 +0000] /home/adminuser/arachni-1.6.1.3-0.6.1.1/.system/gems/gems/arachni-1.6.1.3/lib/arachni/rpc/server/framework.rb:156:in `block in run'
[2022-11-21 04:01:12 +0000] --------------------------------------------------------------------------------
On a clean Ubuntu 22.04 LTS vm, arachni v1.6.1.1 fails with:
Which is confirmed by:
v1.6.0 runs as expected on the same vm, and has matched versions:
Note that the download page still says to install Google Chrome yourself for the linux version, and while v1.6.0 works without it I did also try installing
google-chrome-stable
from the official repositories and confirmedgoogle-chrome
was in the path, but v1.6.1.1 failed with the same error.