How do I generate a html report from command line interface?
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/XXXXXXXXX.com\ 2017-0X-XX\ 13_36_47\ -0400.afr --reporter=html:outfile=my_report.html.zip
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:in
block 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:in
update' [-] [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:in
each' [-] [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:in
rpc_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:in
prepare_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:in
block 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:in
initialize' [-] [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:in
from_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:in
open' [-] [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:in
run' [-] [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:in
new' [-] [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:in
load' [-] [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.
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
Support Staff 1 Posted by Tasos Laskos on 05 Oct, 2017 03:16 PM
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 Posted by Darryl on 05 Oct, 2017 03:21 PM
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.
Support Staff 3 Posted by Tasos Laskos on 13 Oct, 2017 09:21 AM
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.