Arachni Rest Api Behind Proxy
Hi
I try to run rest api behind a proxy and i face a problem
- setting http_proxy environment
export http_proxy=http://10.0.8.17:8888
than call
./arachni_rest_server
t try to connect to rpc server using a proxy and fail
- running rest api by issued a command
http_proxy=http://10.8.0.17:8888 ./arachni_rest_server
i got timeout
--------------------------------------------------------------------------------
[2017-11-30 16:48:03 +0000] [Net::OpenTimeout] execution expired
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:879:in `initialize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:879:in `open'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:879:in `block in connect'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/timeout.rb:88:in `block in timeout'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/timeout.rb:98:in `call'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/timeout.rb:98:in `timeout'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:878:in `connect'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:863:in `do_start'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:852:in `start'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/net/http.rb:1375:in `request'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/default.rb:103:in `response_for'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/default.rb:57:in `request'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:653:in `raw_execute'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:124:in `create_session'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/remote/bridge.rb:88:in `initialize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/common/driver.rb:57:in `new'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/common/driver.rb:57:in `for'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver.rb:82:in `for'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser.rb:1109:in `selenium'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser.rb:1337:in `start_webdriver'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser.rb:187:in `initialize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster/worker.rb:51:in `initialize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:495:in `new'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:495:in `block in initialize_workers'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:494:in `times'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:494:in `initialize_workers'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/browser_cluster.rb:112:in `initialize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:33:in `new'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:33:in `block in browser_cluster'
[2017-11-30 16:48:03 +0000] /root/arachni/system/usr/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework/parts/browser.rb:28:in `browser_cluster'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework/parts/audit.rb:173:in `audit'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `block in run'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/utilities.rb:425:in `call'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/utilities.rb:425:in `exception_jail'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `run'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/rpc/server/framework.rb:156:in `block in run'
[2017-11-30 16:48:03 +0000]
[2017-11-30 16:48:03 +0000] Parent:
[2017-11-30 16:48:03 +0000] Arachni::RPC::Server::Framework
[2017-11-30 16:48:03 +0000]
[2017-11-30 16:48:03 +0000] Block:
[2017-11-30 16:48:03 +0000] #<Proc:0x00000004196988@/root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework.rb:117>
[2017-11-30 16:48:03 +0000]
[2017-11-30 16:48:03 +0000] Caller:
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/utilities.rb:425:in `exception_jail'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/framework.rb:117:in `run'
[2017-11-30 16:48:03 +0000] /root/arachni/system/gems/gems/arachni-1.5.1/lib/arachni/rpc/server/framework.rb:156:in `block in run'
[2017-11-30 16:48:03 +0000] --------------------------------------------------------------------------------
Any suggestion on how to run it behind a proxy ?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 19 Dec, 2017 04:26 PM
This way won't work, please use: https://github.com/Arachni/arachni/wiki/Command-line-user-interface...
Cheers
Tasos Laskos closed this discussion on 19 Dec, 2017 04:26 PM.