How do I generate a html report from command line interface?

Darryl 's Avatar


05 Oct, 2017 03:13 PM

First off, I'm new to Linux so I don't have a super deep understanding of it and I'm working on getting Arachni set up. So far I have been able to successfully complete a scan but I'm having trouble generating a report from the scan result. I don't use the Web interface as I plan on putting arachni on a serve with no GUI.

The command I'm currently using is:

/home/XXXX/Downloads/arachni-2.0dev-1.0dev/bin/\ 2017-0X-XX\ 13_36_47\ -0400.afr

I've Xed out things I'm not sure I can post publicly.

The above command doesn't work and generates an error message:

[-] [ui/cli/reporter#run:47] [NoMethodError] undefined method session_storage=' for #<Arachni::OptionGroups::BrowserCluster:0x0055bc9e8b2be8> [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/option_group.rb:101:inblock in update' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/option_group.rb:101:in each' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/option_group.rb:101:inupdate' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/options.rb:291:in block in update' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/options.rb:288:ineach' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/options.rb:288:in update' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/options.rb:383:inrpc_data_to_hash' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/options.rb:57:in method_missing' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:306:inprepare_options' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:77:in options=' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:46:inblock in initialize' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:46:in each' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:46:ininitialize' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:281:in new' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:281:infrom_rpc_data' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:144:in block in load' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:139:inopen' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/lib/arachni/report.rb:139:in load' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/ui/cli/reporter.rb:40:inrun' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/ui/cli/reporter.rb:25:in initialize' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/bin/arachni_reporter:12:innew' [-] [ui/cli/reporter#run:47] /var/lib/gems/2.3.0/gems/arachni-1.5.1/bin/arachni_reporter:12:in <top (required)>' [-] [ui/cli/reporter#run:47] /usr/local/bin/arachni_reporter:22:inload' [-] [ui/cli/reporter#run:47] /usr/local/bin/arachni_reporter:22:in `'

I honestly have no idea what the error message means or what I'm doing wrong. If someone could help me figure this out I would greatly appreciate it.

  1. Support Staff 1 Posted by Tasos Laskos on 05 Oct, 2017 03:16 PM

    Tasos Laskos's Avatar

    Are you trying to use a report generated via the nightlies with the reporter from the latest stable version?
    Also, I see that you're not using the official packages, you better grab them and stick to one version.

  2. 2 Posted by Darryl on 05 Oct, 2017 03:21 PM

    Darryl 's Avatar

    I'm assuming I have the latest version but I could be wrong. Could you point me in the right direction for the newest stable version that you're talking about so I can make sure I'm starting off on the right foot?

    As far as the official packages I honestly thought they were. I believe I got them directly from the Arachni Scanner web site.

  3. Support Staff 3 Posted by Tasos Laskos on 13 Oct, 2017 09:21 AM

    Tasos Laskos's Avatar

    I think you've followed some installation instructions that where wrong.
    You've run the WebUI from a nightly package and then tried to pass it to a GEM installation of Arachni v1.5.1.

    You need to uninstall the gem and just either use the nightlies or stable official packages.

    I'm just guessing, but that's what it looks like from the error.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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