[problem] Install and run arachni on a remote vps
Hi guys.
I'm trying to setup arachni on a rented vps.
The vps is new, I just downloaded arachni, decompressed and runned arachni_web.
I got this:
Puma 2.14.0 starting...
* Min threads: 0, max threads: 16 * Environment: development * Listening on tcp://localhost:9292
But then, when i visit the vps ip, in my local machine, nothing apears.
Do i need to install LAMP ? or what?
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 11 Mar, 2017 04:40 PM
Since you started the WebUI on the remote server, it is listening on
localhost
on the remote server, not your own machine.Just visit the remote server using a browser at port 9292, if that doesn't work you may need to specify on which VPS address and port the WebUI should listen.
You can find out about the relevant options by passing the
-h
flag.2 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:13 PM
"Since you started the WebUI on the remote server, it is listening on localhost on the remote server, not your own machine. Just visit the remote server using a browser at port 9292,"
--- Thats what I did, not apears..
"if that doesn't work you may need to specify on which VPS address and port the WebUI should listen."
--- should i just try any random port?
"You can find out about the relevant options by passing the -h flag."
--- done it, still no clue, but i will try a few things while i wait for your response.
--- thank you so far!
Support Staff 3 Posted by Tasos Laskos on 11 Mar, 2017 05:16 PM
The address is the main issue, find out the address of the interface that handles client connections and use that. Your VPS provider can help you with that.
4 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:17 PM
What you mean the address?
The address is the machines IP.
Support Staff 5 Posted by Tasos Laskos on 11 Mar, 2017 05:21 PM
I don't know how I can help you further because that is a networking configuration issue specific to your VPS provider, so far as I can tell it has nothing to do with Arachni.
If you explain the situation to them I'm sure they'll be able to help you out.
Ask them what address and port you need to use for a server application, in order for it to receive client requests over the internet.
6 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:27 PM
i can run apache on port 80
but when i try ./arachni_web --port 80
nothing happends
7 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:29 PM
I mean, it says:
But in the local machine broser, when i visit the remote vps ip, nothing apears
8 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:36 PM
ohh shit.
I did /arachni_web
and then
curl localhost:9292
You are being redirected.So it is working, I just can't access it..
What now ? xD
9 Posted by Paulo Ricardo C... on 11 Mar, 2017 06:14 PM
Solution:
RUN:
./arachni_web --host 0.0.0.0
Tasos Laskos closed this discussion on 11 Mar, 2017 07:20 PM.