tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/4228-redirect-after-authentication-not-followedArachni: Discussion 2017-03-24T12:41:05Ztag:support.arachni-scanner.com,2012-07-01:Comment/422226862017-03-24T08:15:48Z2017-03-24T08:15:48ZRedirect after authentication not followed<div><p>Can you please show me the login script and also retry using the <a href="http://www.arachni-scanner.com/download/">official packages</a>?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/422226862017-03-24T10:49:47Z2017-03-24T10:49:49ZRedirect after authentication not followed<div><p>Hi,</p>
<p>I have attached the login script and I will try with the latest version of arachni and let you know</p>
<p>Thanks<br>
Thierry</p></div>Thierry Beauquiertag:support.arachni-scanner.com,2012-07-01:Comment/422226862017-03-24T10:59:38Z2017-03-24T10:59:43ZRedirect after authentication not followed<div><p>Hi again,</p>
<p>Great, It worked! The login check failed but it should be easy to fix</p>
<p>Thanks<br>
Thierry</p></div>Thierry Beauquiertag:support.arachni-scanner.com,2012-07-01:Comment/422226862017-03-24T12:41:01Z2017-03-24T12:41:01ZRedirect after authentication not followed<div><p>This script should work:</p>
<pre>
<code>browser.goto 'http://host/WebGoat/login.mvc'
form = browser.form
form.text_field( name: 'username' ).set 'webgoat'
form.text_field( name: 'password' ).set 'webgoat'
form.submit
framework.options.session.check_url = 'http://host/WebGoat/start.mvc'
framework.options.session.check_pattern = /Logout/</code>
</pre></div>Tasos Laskos