Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to open TCP connection to 127.0.0.1:44525 #1081

Open
HonMoo opened this issue Aug 10, 2022 · 0 comments
Open

Failed to open TCP connection to 127.0.0.1:44525 #1081

HonMoo opened this issue Aug 10, 2022 · 0 comments

Comments

@HonMoo
Copy link

HonMoo commented Aug 10, 2022

In the Ubuntu arm64 environment, arachni 1.5.1 cannot run normally after installation.

root@0f109c4bd03f:~# arachni http://testhtml5.vulnweb.com
Arachni - Web Application Security Scanner Framework v1.5.1
   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


 [~] No checks were specified, loading all.
 [~] No element audit options were specified, will audit links, forms, cookies, UI inputs, UI forms, JSONs and XMLs.

 [*] Initializing...
 [*] Preparing plugins...
 [*] ... done.
 [*] BrowserCluster: Initializing 6 browsers...
 [-] [utilities#exception_jail:428] [Errno::ECONNREFUSED] Failed to open TCP connection to 127.0.0.1:44525 (Connection refused - connect(2) for "127.0.0.1" port 44525)
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:879:in `block in connect'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:878:in `connect'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:852:in `start'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/net/http.rb:1384:in `request'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/default.rb:103:in `response_for'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/default.rb:57:in `request'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:653:in `raw_execute'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:124:in `create_session'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:88:in `initialize'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/common/driver.rb:57:in `new'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/common/driver.rb:57:in `for'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver.rb:82:in `for'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser.rb:1109:in `selenium'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser.rb:1337:in `start_webdriver'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser.rb:187:in `initialize'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster/worker.rb:51:in `initialize'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:495:in `new'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:495:in `block in initialize_workers'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:494:in `times'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:494:in `initialize_workers'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:112:in `initialize'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:33:in `new'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:33:in `block in browser_cluster'
 [-] [utilities#exception_jail:428] /usr/local/rvm/rubies/ruby-2.3.8/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:28:in `browser_cluster'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework/parts/audit.rb:173:in `audit'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `block in run'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/utilities.rb:425:in `exception_jail'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `run'
 [-] [utilities#exception_jail:428] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/ui/cli/framework.rb:80:in `block in run'
 [-] [utilities#exception_jail:429]
 [-] [utilities#exception_jail:430] Parent:
 [-] [utilities#exception_jail:431] Arachni::Framework
 [-] [utilities#exception_jail:432]
 [-] [utilities#exception_jail:433] Block:
 [-] [utilities#exception_jail:434] #<Proc:0x0000aaadd493ff30@/usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework.rb:117>
 [-] [utilities#exception_jail:435]
 [-] [utilities#exception_jail:436] Caller:
 [-] [utilities#exception_jail:437] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/utilities.rb:424:in `exception_jail'
 [-] [utilities#exception_jail:437] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `run'
 [-] [utilities#exception_jail:437] /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/ui/cli/framework.rb:80:in `block in run'
 [-] [utilities#exception_jail:438] --------------------------------------------------------------------------------
root@0f109c4bd03f:~# phantomjs -v
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
2.1.1

Using arachni_ rest_server The server will also make an error

root@0f109c4bd03f:~# arachni_rest_server --address 0.0.0.0 --port 9999
Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
Arachni - Web Application Security Scanner Framework v1.5.1
   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


 [*] Listening on http://0.0.0.0:9999
/usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/processes/executables/base.rb:9:in `load': undefined class/module Set (ArgumentError)
        from /usr/local/rvm/gems/ruby-2.3.8/gems/arachni-1.5.1/lib/arachni/processes/executables/base.rb:9:in `<main>'

I print out Options.paths.root and Options.paths.lib is Empty string。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant