How to create multiple dispatchers in arachni?

mamatha's Avatar

mamatha

11 Oct, 2013 09:33 AM

i want to create multiple dispatchers in arachni to increase the speed. how it's possible?

  1. Support Staff 1 Posted by Tasos Laskos on 11 Oct, 2013 01:33 PM

    Tasos Laskos's Avatar

    Hi,

    First of all, do you want to use the WebUI or the CLI to perform the scan?

    Cheers

  2. 2 Posted by mamatha on 15 Oct, 2013 06:57 AM

    mamatha's Avatar

    Hi,

    I am using CLI to perform the scan. can you help me to implement multiple dispatchers in arachni?

  3. Support Staff 3 Posted by Tasos Laskos on 15 Oct, 2013 03:49 PM

    Tasos Laskos's Avatar

    If you have multiple machines that you'd like to use see: http://support.arachni-scanner.com/discussions/questions/4448-arach...

    Otherwise you don't need Dispatchers, just use the arachni_multi executable:
    arachni_multi --spawns=2 http://stuff.com

    Let me know how it goes.

    Cheers

  4. 4 Posted by mamatha on 16 Oct, 2013 07:12 AM

    mamatha's Avatar

    thanks for ur replay but it's taking time to start the scan. what is the limit of spawns to increase the speed more? i mean we can write --spawns=10 or somthing. it will increase the high speed right?

  5. 5 Posted by mamatha on 16 Oct, 2013 09:14 AM

    mamatha's Avatar

    i am using this command
    arachni_multi --spawns=5 -fv https://example.com/ --repload=test.com.afr --report=html:outfile=my_report.html

    to increase the speed but it is taking more time why?

  6. 6 Posted by mamatha on 16 Oct, 2013 11:21 AM

    mamatha's Avatar

    i am using https://github.com/Arachni/arachni to run the scan in this if i use the

    arachni_multi --spawns=5 -fv https://example.com/ --repload=test.com.afr --report=html:outfile=my_report.html
    it's giving the bellow error

    /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:280:in block in replace_bin_path': can't find executable arachni_multi (Gem::Exception) from /usr/local/bin/arachni_multi:23:in' how to solve this to increase the speed?

  7. 7 Posted by mamatha on 16 Oct, 2013 12:20 PM

    mamatha's Avatar

    sorry i am using arachni 0.4.2 in this arachni_multi is not working how to implement this in arachni 0.4.2?

  8. Support Staff 8 Posted by Tasos Laskos on 16 Oct, 2013 12:26 PM

    Tasos Laskos's Avatar

    You can't, you'll need the latest version in order to perform multi-Instance scans.

  9. 9 Posted by mamatha on 17 Oct, 2013 11:36 AM

    mamatha's Avatar

    how to intigrate multi-instance scans in api

  10. Support Staff 10 Posted by Tasos Laskos on 17 Oct, 2013 11:40 AM

    Tasos Laskos's Avatar
  11. 11 Posted by Sreedeep on 17 Oct, 2013 12:47 PM

    Sreedeep's Avatar

    Hi,
    :grid_mode (String, Symbol)

    what is Symbol in grid_mode option??

  12. Support Staff 12 Posted by Tasos Laskos on 17 Oct, 2013 12:54 PM

    Tasos Laskos's Avatar

    Don't worry about it, it's a Ruby type; you can remove the : from the available options and pass them as strings.

  13. 13 Posted by Sreedeep on 17 Oct, 2013 01:01 PM

    Sreedeep's Avatar

    Can pass like this

    opts.grid_mode = ( " aggregate ", " : " )

  14. Support Staff 14 Posted by Tasos Laskos on 17 Oct, 2013 01:09 PM

    Tasos Laskos's Avatar

    No, it's not a method signature, you just pass "aggeregate" as the option. Also, these options are for that specific method (Instance#scan) it's not a good idea to directly set the options as you're bypassing the relevant sanity checks.

  15. 15 Posted by mamatha on 17 Oct, 2013 01:13 PM

    mamatha's Avatar

    opts = Arachni::Options.instance

    opts.grid_mode = :aggregate

    is this ok?

  16. Support Staff 16 Posted by Tasos Laskos on 17 Oct, 2013 01:19 PM

    Tasos Laskos's Avatar

    Guys, I think you should start by explaining what you want to achieve because we're heading down the wrong road. Then I'll be able to be of proper assistance to you.

    Cheers

  17. 17 Posted by Sreedeep on 17 Oct, 2013 01:27 PM

    Sreedeep's Avatar

    We wrote a api using arachni for scanning a web application, Its working fine but we want to increase the scan performance by creating multiple instances.

  18. Support Staff 18 Posted by Tasos Laskos on 17 Oct, 2013 01:47 PM

    Tasos Laskos's Avatar

    When you say API you mean by locally using the Framework libraries right? If you want to perform multi-Instance scans you can't do it that way, you'll need to use the RPC API.

  19. 19 Posted by Sreedeep on 21 Oct, 2013 08:45 AM

    Sreedeep's Avatar

    Hi,
    Ya i am using framework.
    Should i implement rpc along with framework or separately??

  20. Support Staff 20 Posted by Tasos Laskos on 21 Oct, 2013 12:40 PM

    Tasos Laskos's Avatar

    You'll have to do it separately.

  21. Tasos Laskos closed this discussion on 11 Nov, 2013 09:22 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