shogunlab / shuriken

Cross-Site Scripting (XSS) command line tool for testing lists of XSS payloads on web apps.
MIT License
136 stars 34 forks source link

Phantomjs executable needs to be in PATH #3

Closed s0md3v closed 7 years ago

s0md3v commented 7 years ago
root@kali:~/shuriken# python shuriken_xss.py -u http://dramaonline.pk/search.php?q={xss} -p wordlist.txt
Traceback (most recent call last):
  File "shuriken_xss.py", line 198, in <module>
    Shuriken().main()
  File "shuriken_xss.py", line 37, in __init__
    self.browser = Browser("phantomjs")
  File "/usr/local/lib/python2.7/dist-packages/splinter/browser.py", line 63, in Browser
    return driver(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/splinter/driver/webdriver/phantomjs.py", line 38, in __init__
    self.driver = PhantomJS(desired_capabilities=capabilities, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/phantomjs/webdriver.py", line 52, in __init__
    self.service.start()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 81, in start
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.
s0md3v commented 7 years ago

Oh sorry, its something that needs to be downloaded. My bad 👍 Btw you should mention the requirements in your repo.

shogunlab commented 7 years ago

Hey! Thanks for flagging this up, I just merged a commit made by @paralax which addresses this issue. Now, you should be able to get all the dependencies via pip so it should be easier to get going with Shuriken. Hope you enjoy using the tool and please let me know if you have any additional ideas for improvements!

s0md3v commented 7 years ago

@shogunlab I have done everything your readme tells a user to do but shuriken is taking forever to scan. Here's a short video I have made regarding the issue: http://shuriken.vidmeup.com/

shogunlab commented 7 years ago

I'll investigate the issue and see if there's anything I can add to improve the speed.

jjiema commented 3 years ago

What requirement did you add in your repo? @s0md3v

s0md3v commented 3 years ago

If you are getting this error, you need 'geckodriver'.

You can find how to get it by googling: 'install geckodriver on windows/linux/mac'.