framework.rb:156:in `block in run'

Sergey's Avatar

Sergey

29 Apr, 2016 03:39 PM

Hi, after restarting the computer , run Arachne stopped and reinstalling does not help .

  1. Support Staff 1 Posted by Tasos Laskos on 29 Apr, 2016 03:43 PM

    Tasos Laskos's Avatar

    Hello,

    I'm afraid I'm going to need a lot more information.
    Can you please show me the entire error as well as tell me what version you're using, OS and system resources?

    Cheers

  2. 2 Posted by Sergey on 29 Apr, 2016 03:47 PM

    Sergey's Avatar

    What? I have attached a file ? I apologize.

    Ubuntu 15 , Intel HD, 2GB RAM

  3. Support Staff 3 Posted by Tasos Laskos on 29 Apr, 2016 03:50 PM

    Tasos Laskos's Avatar

    No worries.

    Are you trying to run a lot of scans at the same time or was the system under heavy load in general at the time?

  4. 4 Posted by Sergey on 29 Apr, 2016 03:51 PM

    Sergey's Avatar

    The system was normal.
    No, I was not trying to run more than one scan .

  5. Support Staff 5 Posted by Tasos Laskos on 29 Apr, 2016 03:54 PM

    Tasos Laskos's Avatar

    This is strange, can you retry with --output-debug and attach the output?

  6. 6 Posted by Sergey on 29 Apr, 2016 03:59 PM

    Sergey's Avatar
  7. Support Staff 7 Posted by Tasos Laskos on 29 Apr, 2016 04:00 PM

    Tasos Laskos's Avatar

    I thought you were using the CLI, can you try with the arachni executable please?

  8. 8 Posted by Sergey on 29 Apr, 2016 04:05 PM

    Sergey's Avatar

    I'm sorry , an executable file ? :D

  9. 9 Posted by Sergey on 29 Apr, 2016 04:06 PM

    Sergey's Avatar

    Got it

  10. 10 Posted by Sergey on 29 Apr, 2016 04:07 PM

    Sergey's Avatar
    sergey@G560:~/opt/arachni/arachni-1.4-0.5.10/bin$ ./arachni --output-debug http://step-rp.ru/
    Arachni - Web Application Security Scanner Framework v1.4
       Author: Tasos "Zapotek" Laskos <[email blocked]>
    
               (With the support of the community and the Arachni Team.)
    
       Website:       http://arachni-scanner.com
       Documentation: http://arachni-scanner.com/wiki
    
    
    /home/sergey/opt/arachni/arachni-1.4-0.5.10/system/gems/gems/arachni-1.4/ui/cli/option_parser.rb:73:in `parse': invalid argument: --output-debug http://step-rp.ru/ (OptionParser::InvalidArgument)
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/system/gems/gems/arachni-1.4/ui/cli/framework.rb:408:in `parse_options'
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/system/gems/gems/arachni-1.4/ui/cli/framework.rb:32:in `initialize'
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/system/gems/gems/arachni-1.4/bin/arachni:12:in `new'
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/system/gems/gems/arachni-1.4/bin/arachni:12:in `<top (required)>'
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/bin/../system/arachni-ui-web/bin/arachni:16:in `load'
        from /home/sergey/opt/arachni/arachni-1.4-0.5.10/bin/../system/arachni-ui-web/bin/arachni:16:in `<main>'
    
  11. 11 Posted by Sergey on 29 Apr, 2016 04:09 PM

    Sergey's Avatar
  12. 12 Posted by Sergey on 29 Apr, 2016 04:10 PM

    Sergey's Avatar
  13. Support Staff 13 Posted by Tasos Laskos on 29 Apr, 2016 04:12 PM

    Tasos Laskos's Avatar

    Try putting it after the URL.

  14. 14 Posted by Sergey on 29 Apr, 2016 04:17 PM

    Sergey's Avatar
  15. Support Staff 15 Posted by Tasos Laskos on 29 Apr, 2016 04:18 PM

    Tasos Laskos's Avatar

    I actually need the output of the process, not the error log.

  16. 16 Posted by Sergey on 29 Apr, 2016 04:20 PM

    Sergey's Avatar
  17. Support Staff 17 Posted by Tasos Laskos on 29 Apr, 2016 04:21 PM

    Tasos Laskos's Avatar

    No, the output you saw in the terminal window.

  18. 18 Posted by Sergey on 29 Apr, 2016 04:24 PM

    Sergey's Avatar

    I'm sorry for those awkward moments

  19. Support Staff 19 Posted by Tasos Laskos on 29 Apr, 2016 04:28 PM

    Tasos Laskos's Avatar

    Looks like the browser process is not starting up in time, can you please run the following and attach the output?

    ./arachni_shell -c 'phantomjs --webdriver=9999'
    
  20. 20 Posted by Sergey on 29 Apr, 2016 04:29 PM

    Sergey's Avatar

    sergey@G560:~/opt/arachni/arachni-1.4-0.5.10/bin$ ./arachni_shell -c 'phantomjs --webdriver = 9999'
    Fontconfig error: Cannot load default config file
    Can't open '9999'

  21. Support Staff 21 Posted by Tasos Laskos on 29 Apr, 2016 04:33 PM

    Tasos Laskos's Avatar

    You didn't run it properly, can you please copy paste the command I mentioned?
    You put some spaces in the --webdriver option.

  22. 22 Posted by Sergey on 29 Apr, 2016 04:36 PM

    Sergey's Avatar

    That's what I did .
    Just I tried again , the result did not change .

  23. Support Staff 23 Posted by Tasos Laskos on 29 Apr, 2016 04:37 PM

    Tasos Laskos's Avatar

    Somehow some extra spaces got in there, the option must be --webdriver=9999 instead of --webdriver = 9999.

  24. 24 Posted by Sergey on 29 Apr, 2016 04:39 PM

    Sergey's Avatar

    ./arachni_shell -c 'phantomjs --webdriver=9999' Fontconfig error: Cannot load default config file
    PhantomJS is launching GhostDriver...
    [INFO - 2016-04-29T16:36:45.635Z] GhostDriver - Main - running on port 9999

  25. Support Staff 25 Posted by Tasos Laskos on 29 Apr, 2016 04:40 PM

    Tasos Laskos's Avatar

    Did that last message take long to appear?
    I'd be very helpful if you time it in seconds.

  26. 26 Posted by Sergey on 29 Apr, 2016 04:43 PM

    Sergey's Avatar

    Do not quite understand what you mean, I understand very little English .

    Last Post ([INFO - 2016-04-29T16: 41 : 58.306Z] GhostDriver - Main - running on port 9999 ) hangs until I complete the process .

  27. Support Staff 27 Posted by Tasos Laskos on 29 Apr, 2016 04:47 PM

    Tasos Laskos's Avatar

    No problem, can you count the seconds from when you run the command until the message "GhostDriver - Main - running on port 9999" appears?

    The process itself does not hang, it starts a server and waits, so don't worry about that.
    What I'm interested in is how long it takes for the server to start.

  28. 28 Posted by Sergey on 29 Apr, 2016 04:49 PM

    Sergey's Avatar

    9 seconds

  29. Support Staff 29 Posted by Tasos Laskos on 29 Apr, 2016 04:52 PM

    Tasos Laskos's Avatar

    OK, Arachni waits for 10 seconds, so if you put a couple more extra seconds of overhead in the mix I can see why you'd be having trouble.

    I'll increase the timeout and upload a package for you to test, I'll let you know once it's up, it's going to take a couple of hours.

    Cheers

  30. 30 Posted by Sergey on 29 Apr, 2016 04:57 PM

    Sergey's Avatar

    Do not understand. Now I need to do something about it ?

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