login_script login check failed
When I try to scan with plugin “login_script”, I get the error "[components/plugins/login_script#set_status:99] Login script: The script was executed successfully, but the login check failed." I don't know how to deal with.
Here is command line:
arachni --plugin=login_script:script="D:\arachni\arachni-1.5.1-0.5.12-windows-x86_64\bin\example.rb" --report-save-path=output.afr http://testfire.net/bank/login.aspx
Here is my script:
response = http.post( 'http://testfire.net/bank/login.aspx',
parameters: { 'uid' => 'jsmith', 'passw' => 'Demo1234' }, mode: :sync, update_cookies: true )
framework.options.session.check_url = to_absolute( '/bank/main.jsp', 'http://testfire.net/bank/main.jsp' )
framework.options.session.check_pattern = /Sign Off|MY ACCOUNT/
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