Skip to content

Arachni changed from --user-agent to --http-user-agent #347

@DePierre

Description

@DePierre

OWTF uses --user-agent when running Arachni.
But Arachni 1.0.2 (and since 1.0 imho), the correct option name is --http-user-agent (see below).

[*] Running: ./arachni --user-agent="Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0" --http-req-limit=20 --report="html:outfile=arachni_report2014-10-15_18_27_14.html" --report="txt:outfile=arachni_report2014-10-15_18_27_14.txt" --report="metareport:outfile=arachni_report2014-10-15_18_27_14.msf" --report="ap:outfile=arachni_report2014-10-15_18_27_14.ap" --report="xml:outfile=arachni_report2014-10-15_18_27_14.xml" --report="afr:outfile=arachni_report2014-10-15_18_27_14.afr" --proxy=0.0.0.0:8008 http://127.0.0.1:8080/
/usr/share/arachni/system/gems/gems/arachni-1.0.2/ui/cli/option_parser.rb:63:in `parse': invalid option: --user-agent=Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0 (OptionParser::InvalidOption)
from /usr/share/arachni/system/gems/gems/arachni-1.0.2/ui/cli/framework.rb:396:in `parse_options'
from /usr/share/arachni/system/gems/gems/arachni-1.0.2/ui/cli/framework.rb:32:in `initialize'
from /usr/share/arachni/system/gems/gems/arachni-1.0.2/bin/arachni:12:in `new'
from /usr/share/arachni/system/gems/gems/arachni-1.0.2/bin/arachni:12:in `<top (required)>'
from /usr/share/arachni/bin/../system/arachni-ui-web/bin/arachni:16:in `load'
from /usr/share/arachni/bin/../system/arachni-ui-web/bin/arachni:16:in `<main>'
Arachni - Web Application Security Scanner Framework v1.0.2
Author: Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>

(With the support of the community and the Arachni Team.)

Website:       http://arachni-scanner.com
Documentation: http://arachni-scanner.com/wiki
$ arachni --help | grep agent
      --http-user-agent USER_AGENT
$ arachni --version          
Arachni - Web Application Security Scanner Framework v1.0.2
   Author: Tasos "Zapotek" Laskos <[email protected]>

           (With the support of the community and the Arachni Team.)

   Website:       http://arachni-scanner.com
   Documentation: http://arachni-scanner.com/wiki


Arachni 1.0.2 (ruby 2.1.2p95) [x86_64-linux]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions