Unable to login using AutoLogin

MiikaH's Avatar


22 Feb, 2013 12:32 AM

I am trying to login with AutoLogin, but I'm always getting an error from Arachni:
"AutoLogin: Could not find a form suiting the provided params at: http://"

This is how I launch Arachni:
./arachni --plugin=autologin:url=,params='name=&passwd=',check='logout'

How does Autologin searches the login form? I do have quite complicated structure on this form, maybe that's the issue?
Here's some pseudo HTML:

<form action="/userauth/identify" method="post" class="loginForm">
<div id="xxx">
<div class="yyy">
<h2>Log in</h2>
<div class="emailError error" style="display: none;">Email is required</div>
<input type="text" class="emailinput" name="email" onfocus="if (this.value == 'Enter your email address') this.value = '';" value="Enter your email address"/>
<div class="passwordError error" style="display: none;">Password is required</div>
<input type="text" class="passwdinput" name="passwd" value="Enter your password"/>
...more divs in here...
  1. Support Staff 1 Posted by Tasos Laskos on 26 Feb, 2013 06:06 PM

    Tasos Laskos's Avatar

    Sorry for the late response, your post was erroneously marked as spam and I just noticed it.

    In the HTML you posted I see that there's no "name" input in the form and that you haven't provided the "email" input.
    Thus, as the error message says, it couldn't find a form with the params that you provided.

  2. Tasos Laskos closed this discussion on 26 Feb, 2013 06:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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