[problem] Install and run arachni on a remote vps

Paulo Ricardo Chaves Choupina's Avatar

Paulo Ricardo Chaves Choupina

11 Mar, 2017 04:34 PM

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?

  1. Support Staff 1 Posted by Tasos Laskos on 11 Mar, 2017 04:40 PM

    Tasos Laskos's Avatar

    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. 2 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:13 PM

    Paulo Ricardo Chaves Choupina's Avatar

    "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!

  3. Support Staff 3 Posted by Tasos Laskos on 11 Mar, 2017 05:16 PM

    Tasos Laskos's Avatar

    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. 4 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:17 PM

    Paulo Ricardo Chaves Choupina's Avatar

    What you mean the address?

    The address is the machines IP.

  5. Support Staff 5 Posted by Tasos Laskos on 11 Mar, 2017 05:21 PM

    Tasos Laskos's Avatar

    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. 6 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:27 PM

    Paulo Ricardo Chaves Choupina's Avatar

    i can run apache on port 80

    but when i try ./arachni_web --port 80
    nothing happends

  7. 7 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:29 PM

    Paulo Ricardo Chaves Choupina's Avatar

    I mean, it says:

    • Min threads: 0, max threads: 16
    • Environment: development
    • Listening on tcp://localhost:80

    But in the local machine broser, when i visit the remote vps ip, nothing apears

  8. 8 Posted by Paulo Ricardo C... on 11 Mar, 2017 05:36 PM

    Paulo Ricardo Chaves Choupina's Avatar

    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. 9 Posted by Paulo Ricardo C... on 11 Mar, 2017 06:14 PM

    Paulo Ricardo Chaves Choupina's Avatar

    Solution:

    RUN:

    ./arachni_web --host 0.0.0.0

  10. Tasos Laskos closed this discussion on 11 Mar, 2017 07:20 PM.

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