Unable to provide the Autologin to the URL

RAJA's Avatar

RAJA

04 Jul, 2016 04:44 AM

Hi,

I am using this tool to scan a URL by using autologin plug in option. In autologin plug in option i have mentioned the url details, Username, password. i.e

author:      'Tasos "Zapotek" Laskos <[email blocked]>',
            version:     '0.2.1',
            options:     [
                Options::String.new( url:'https://abcd.net',
                    required:    true,
                    description: 'The URL that contains the login form.'
                ),
                Options::String.new( parameters:' [email blocked]&password=****',
                    required:    true,
                    description: 'Form parameters to submit. ( username=user&password=pass )'
                ),
                Options::String.new( :check,
                    required:    true,
                    description:
                        'A pattern which will be used to verify a successful login.
                        For example, if a logout link only appears when a user is ' +
                        'logged in then it can be a perfect choice.'
                )

After this i am running this command:

arachni.bat --plugin=autologin https://abc.com

OutputErrors:

[-] [ui/cli/framework#run:112] [NoMethodError] undefined method to_sym' for #&lt;
Hash:0x00000006d1bb80&gt;
 [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby
/lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/component/options/base.rb:47:i
ninitialize'
 [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby
/lib/ruby/gems/2.2.0/gems/arachni-1.4/components/plugins/autologin.rb:110:in ne
w'
 [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby
/lib/ruby/gems/2.2.0/gems/arachni-1.4/components/plugins/autologin.rb:110:inin
fo'
 [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby
/lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/plugin/manager.rb:97:in block
 in schedule'
 [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby
/lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/plugin/manager.rb:94:ineach'


[-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby /lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/plugin/manager.rb:94:in sched ule' [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby /lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/plugin/manager.rb:65:inrun' [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby /lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/framework/parts/state.rb:348:i n prepare' [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby /lib/ruby/gems/2.2.0/gems/arachni-1.4/lib/arachni/framework.rb:110:inrun' [-] [ui/cli/framework#run:112] C:/arachni-1.4-0.5.10-windows-x86_64/system/ruby /lib/ruby/gems/2.2.0/gems/arachni-1.4/ui/cli/framework.rb:63:in `block in run'
  1. Support Staff 1 Posted by Tasos Laskos on 04 Jul, 2016 09:00 AM

    Tasos Laskos's Avatar

    That's not how you pass options, you need to do it via the CLI.

    For an example see: http://support.arachni-scanner.com/kb/general-use/logging-in-and-ma...

  2. Tasos Laskos closed this discussion on 04 Jul, 2016 09:00 AM.

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