Cannot import report using WebUI

Silvio Correia's Avatar

Silvio Correia

03 Apr, 2017 03:00 PM

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

  1. 1 Posted by Silvio Correia on 03 Apr, 2017 08:14 PM

    Silvio Correia's Avatar

    The scan report.

  2. Support Staff 2 Posted by Tasos Laskos on 04 Apr, 2017 11:35 AM

    Tasos Laskos's Avatar

    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. 3 Posted by Silvio Correia on 04 Apr, 2017 01:03 PM

    Silvio Correia's Avatar

    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. 4 Posted by Silvio Correia on 04 Apr, 2017 04:57 PM

    Silvio Correia's Avatar

    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

  5. Support Staff 5 Posted by Tasos Laskos on 04 Apr, 2017 05:18 PM

    Tasos Laskos's Avatar

    There currently is no way but I'll enable it and push nightlies, probably tomorrow though.

  6. 6 Posted by Silvio Correia on 04 Apr, 2017 05:26 PM

    Silvio Correia's Avatar

    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.

  7. Support Staff 7 Posted by Tasos Laskos on 06 Apr, 2017 06:51 PM

    Tasos Laskos's Avatar

    Nightlies are up, give them a try,

  8. 8 Posted by Silvio Correia on 06 Apr, 2017 08:17 PM

    Silvio Correia's Avatar

    Tasos

    Thank you! I'll try and give you a feedback.

  9. 9 Posted by Silvio Correia on 07 Apr, 2017 06:00 PM

    Silvio Correia's Avatar

    It works! Thx!

    It generate correctly the afr report.

  10. Support Staff 10 Posted by Tasos Laskos on 07 Apr, 2017 06:05 PM

    Tasos Laskos's Avatar

    Good to know.

  11. Tasos Laskos closed this discussion on 07 Apr, 2017 06:05 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