arachni on multiple pc/laptop

endoch6's Avatar

endoch6

03 Oct, 2013 10:50 AM

hai Tasos Laskos,

i have a laptop and a pc, both running arachni. i want to use my laptop and pc both doing the same scan so that the scanner can finish faster. is there any guide on how to achieve this?

regards,

  1. Support Staff 1 Posted by Tasos Laskos on 03 Oct, 2013 12:10 PM

    Tasos Laskos's Avatar

    Hey man,

    You sure can but it needs some minor preparation first, specifically, setting up a Dispatcher on each machine you want to use.

    pc

    ./bin/arachni_rpcd --address=<address of external interface>
    

    laptop

    ./bin/arachni_rpcd --address=<address of external interface> --neighbour=<address of pc>:7331
    

    At this point you've set up a small cluster setup to utilize both machines.
    Before continuing, do you want to use the WebUI or the CLI to perform the scan?

  2. 2 Posted by endoch6 on 03 Oct, 2013 12:17 PM

    endoch6's Avatar

    aha. very quick reply.

    i want to use the CLI to perform the scan.

    thanks,

  3. Support Staff 3 Posted by Tasos Laskos on 03 Oct, 2013 12:27 PM

    Tasos Laskos's Avatar

    Cool, this is what you do to run the scan from the CLI, utilizing both machines:

    ./bin/arachni_rpc --grid --spawns=1 --server=<address of either Dispatcher>:7331 <URL to scan>
    

    You should then see some activity on the consoles of both Dispatchers, this means that both of them provided scanner Instances. If you see activity from only one Dispatcher then something wasn't configured properly so let me know if that's the case.

    Cheers

  4. 4 Posted by endoch6 on 03 Oct, 2013 12:33 PM

    endoch6's Avatar

    cool. lemme try this config and give you the update.

    cheers,

  5. 5 Posted by endoch6 on 03 Oct, 2013 05:09 PM

    endoch6's Avatar

    hey man,

    thanks for the guide. its working.
    now scanning ... REALLY FAST :))))

    anyway, im just curious, how many pc/laptop can i add to this cluster?

    cheers,

  6. Support Staff 6 Posted by Tasos Laskos on 03 Oct, 2013 05:15 PM

    Tasos Laskos's Avatar

    There's no limit on Arachni's side and you can still request more Instances from those 2 machines by increasing the --spawns option. Although eventually you'll end up saturating your bandwidth pipe if you use too many regardless of how you distribute them, or just kill the remote server.

  7. 7 Posted by endoch6 on 03 Oct, 2013 05:27 PM

    endoch6's Avatar

    cool ... :)))
    thanks man

  8. Tasos Laskos closed this discussion on 03 Oct, 2013 05:27 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