need help with timeout-suspend

Piyush's Avatar

Piyush

23 Dec, 2016 01:46 PM

Hello,

I am not able to get --timeout-suspend working for me. I am using "Arachni 2.0dev (ruby 2.2.3p173) [x86_64-linux]" on RHEL 7. --timeout is working fine but when I use suspend scanner keeps on running till the scan is completed. timeout is not honored in that case.

working fine
--timeout=00:10:00

Issue/not-working
--timeout=00:10:00 --timeout-suspend --snapshot-save-path=/home/users/

  1. Support Staff 1 Posted by Tasos Laskos on 23 Dec, 2016 01:51 PM

    Tasos Laskos's Avatar

    Does it run just the remaining browser jobs or does it keep auditing the webapp as usual?

  2. 2 Posted by Piyush on 23 Dec, 2016 02:08 PM

    Piyush's Avatar

    It keep auditing the webapp as usual.

  3. Support Staff 3 Posted by Tasos Laskos on 23 Dec, 2016 02:12 PM

    Tasos Laskos's Avatar

    Any chance that it's just auditing the last page within the timeout period but it takes a long time to do so?
    Or have you seen it audit more pages after the timeout?

  4. 4 Posted by Piyush on 23 Dec, 2016 02:58 PM

    Piyush's Avatar

    I not 100% sure but I believe it is auditing all pages. However, I am testing through vector feed and just with 3 URL's. So, might be all are loaded at once. Request concurrency is set to 1.

  5. 5 Posted by Piyush on 27 Dec, 2016 02:00 PM

    Piyush's Avatar

    I confirmed once again and my observation is:

    If scan is very very small like under minute (possible when you are providing vector feed and want to test only new pages added to the application) then timeout suspend switch didn't work which is fair because scanner loads all those URL's at once and complete the scan.

    In case of regular scans, the scan usually takes slightly 10-15 seconds extra then the timeout specified.

  6. Support Staff 6 Posted by Tasos Laskos on 28 Dec, 2016 02:45 PM

    Tasos Laskos's Avatar

    So, are we OK with this? Shall I close the discussion or do you require assistance with something?

  7. Tasos Laskos closed this discussion on 05 Feb, 2017 11:13 AM.

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