Cannot import report using WebUI
Arachni v1.5 and webUI 0.5.11
I am testing the Arachni REST server in order to automate the scanning pipeline process using Rundeck. So I generated the reports that I'm going to use, using this command (this step is ok):
wget -qO $dir_base/relatorios/report http://10.40.3.111:8080/scans/$id_scan/report
wget -qO $dir_base/relatorios/report.xml http://10.40.3.111:8080/scans/$id_scan/report.xml
wget -qO $dir_base/relatorios/report.html.zip http://10.40.3.111:8080/scans/$id_scan/report.html.zip
when I'm trying to execute the command:
./arachni_web_scan_import "test.afr" 1
I received the error message:
Report format could not be understood.
I'm not being able to upload the xml report generated with the new version of Arachni to Threadfix community
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
1 Posted by Silvio Correia on 03 Apr, 2017 08:14 PM
The scan report.
Support Staff 2 Posted by Tasos Laskos on 04 Apr, 2017 11:35 AM
I don't think that you realize that you're trying to import a JSON report (default for the REST API) rather than an AFR report. Right?
3 Posted by Silvio Correia on 04 Apr, 2017 01:03 PM
Tasos thx for the respose! But I'm following the instructions on page.
https://github.com/Arachni/arachni/wiki/REST-API#example-client
How can I generate the .afr on REST server?
Thanks
4 Posted by Silvio Correia on 04 Apr, 2017 04:57 PM
I read the REST api and I didn't see nothing about generate the afr report. What's the best way to generate the afr file prior to import on webui.
thx
Support Staff 5 Posted by Tasos Laskos on 04 Apr, 2017 05:18 PM
There currently is no way but I'll enable it and push nightlies, probably tomorrow though.
6 Posted by Silvio Correia on 04 Apr, 2017 05:26 PM
Thank you!!!! This feature will be really important to finish our project and we will use Arachni to test thousand web projects on our company.
Support Staff 7 Posted by Tasos Laskos on 06 Apr, 2017 06:51 PM
Nightlies are up, give them a try,
8 Posted by Silvio Correia on 06 Apr, 2017 08:17 PM
Tasos
Thank you! I'll try and give you a feedback.
9 Posted by Silvio Correia on 07 Apr, 2017 06:00 PM
It works! Thx!
It generate correctly the afr report.
Support Staff 10 Posted by Tasos Laskos on 07 Apr, 2017 06:05 PM
Good to know.
Tasos Laskos closed this discussion on 07 Apr, 2017 06:05 PM.