Arachni Framework

reshma's Avatar

reshma

25 Jun, 2015 12:21 PM

Hi Tasos Laskos,

i have launched a scan using arachni frame work but its not working can help me. Below is the code.

class Scan
require 'rubygems'
require 'net/smtp' 
require 'json' 
require 'arachni' 

def scanrun(url,target)
@opts = Arachni::Options.instance
        @opts.url = "#{target}"
         framework = Arachni::Framework.new( @opts )
         framework.checks.load( '*' )
        framework.plugins.load_default
      @reporters = Arachni::Reporter::Manager.new
 framework.reporters.load( reporters.keys )
scan = Thread.new {
           framework.run {
               # this block will be run right after the scan has finished and
               # before the reports are run

               # because we selected the stdout report we have to unmute the output
               Arachni::UI::Output.unmute
             }
           }
   scan.join
   end
    end # End of class
n = Scan.new 
n.scanrun(url,target)
  1. 1 Posted by reshma on 25 Jun, 2015 12:25 PM

    reshma's Avatar

    Attached file please check once.

  2. Support Staff 2 Posted by Tasos Laskos on 29 Jun, 2015 05:48 PM

    Tasos Laskos's Avatar

    Hello,

    Unless you're very familiar with the Framework you should avoid using it directly and instead use the RPC API to integrate.

    Cheers

  3. Tasos Laskos closed this discussion on 29 Jun, 2015 05:48 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