Arachni Plugin configuration

kurkure.sonal's Avatar


05 Nov, 2016 10:22 AM

Hi , I have a web application that contain username and password. The second page could be informational pages and this proceeds to the home page which has "logout link" .
How can i set up the auto login plugin or login sequence in such scenario?

  1. Support Staff 1 Posted by Tasos Laskos on 05 Nov, 2016 10:54 AM

    Tasos Laskos's Avatar


    You'll need a login script, please see:


  2. Tasos Laskos closed this discussion on 05 Nov, 2016 10:54 AM.

  3. kurkure.sonal re-opened this discussion on 05 Nov, 2016 11:21 AM

  4. 2 Posted by kurkure.sonal on 05 Nov, 2016 11:21 AM

    kurkure.sonal's Avatar

    Hi, I am a new learner. I have read README document. After this can you tell me steps.
    Where this script is write in arachni.

  5. Support Staff 3 Posted by Tasos Laskos on 05 Nov, 2016 01:03 PM

    Tasos Laskos's Avatar

    Did you read the article I mentioned?
    There's not much more information I can provide you other than that and the therein linked Watir API.

  6. 4 Posted by kurkure.sonal on 07 Nov, 2016 06:35 AM

    kurkure.sonal's Avatar

    Yes I have read that article but i don't got the installation information of that plug-ins. How to use Watir API to set login sequence?

  7. Support Staff 5 Posted by Tasos Laskos on 07 Nov, 2016 10:26 AM

    Tasos Laskos's Avatar

    You need to write a Ruby script that will use the exposed browser variable.
    That variable provides you with a Watir instance that allows you to interact with the web application and log-in.

    You load that script by passing it to the login_script plugin like so:


    You can find more about the Watir API at:

    The most important thing to remember is that you should not try to instantiate a new Watir client (i.e. you can't use a different browser), you should only use the one provided by the browser variable.

    Does that clear things up?

  8. Tasos Laskos closed this discussion on 28 Nov, 2016 03:29 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