Arachni not able to scan single page application

Vijay Patnana's Avatar

Vijay Patnana

05 Jun, 2019 08:06 PM

Hello,

I have configured arachni scans for one of the websites which is a Single page application. My goal is to scan two pages, one is login page and the other is the home page. For the home page, I am logging into the page using login_script plugin successfully. It is not crawling all over the page, Arachni is quitting the scan in 30 seconds. I am also attaching the scan log file below. Thanks!

here is the login script

browser.goto 'https://app.fitchconnect-stg.com/home'
form = browser.form( id: 'usernameLoginForm' )
form.text_field( name: 'username' ).set '***'
form.text_field( name: 'password' ).set '
***'
form.submit
framework.options.session.check_url = browser.url
framework.options.session.check_pattern = /.
/

Here is the command which I am using for triggering the scans -

arachni https://app.fitchconnect-stg.com/home --plugin=login_script:script=C:\Users\login_script.rb --session-check-url=https://app.fitchconnect-stg.com/home --session-check-pattern=FITCH --scope-exclude-pattern=Log Out

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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