autolgin-issue

andreas's Avatar

andreas

15 Jun, 2016 02:20 PM

Hi all! I am stuck...

As Tasos suggested, I started working on an autologin-script to run my scans with,
The funny part is, that when I execute the steps with irb, the browser is openend and the the login works.
If I run it within my scan, I have different errors, and the login is not working.

I attached the scripts and the log. So where should I go from here to figure out, what goes wrong?
I guess, it is possible to login, but it seems, I am missing something

Thanks in advance for any help!

  1. Support Staff 1 Posted by Tasos Laskos on 16 Jun, 2016 06:41 AM

    Tasos Laskos's Avatar

    Hello,

    Arachni doesn't use the same browser as when you run the script in a standalone fashion.
    Could I have a look at the web application to debug the issue?

  2. 2 Posted by andreas on 16 Jun, 2016 11:15 AM

    andreas's Avatar

    It is not that easy, as there is now public access to that application.
    I will try to figure this out with my managers. In the meantime, can I provide you some more information?

  3. 3 Posted by andreas on 17 Jun, 2016 08:19 AM

    andreas's Avatar

    In the mean time: How would one debug such an issue? I tryed to print the content of the browser, which worked, but it showed me only the login page. So I guess I am missing something.

  4. Support Staff 4 Posted by Tasos Laskos on 17 Jun, 2016 09:36 AM

    Tasos Laskos's Avatar

    You can try taking screenshots every now and then in the login script:

    browser.screenshot.save 'screenshot.png'
    

    Without access to the application though there's not much I can do.

  5. Tasos Laskos closed this discussion on 03 Aug, 2016 02:23 PM.

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