0

I was trying to install XSS Validator for Burpsuite and I need to use phantomjs for that however I can't open the xss.js file. Sadly I have very little code knowledge. I tried following other tutorials but still coulding figure it out.

I'm using the executable phantomjs.exe version. Am I supposed to drag the xss.js file into the phantomjs command line or copy the directory of it and enter?

1
  • You can run JavaScript scripts in PhantomJS and you can open webpages that contain JavaScript scripts. What exactly do you want to do? Commented Sep 7, 2016 at 16:24

1 Answer 1

0
phantomjs --help
Usage:
   phantomjs [switchs] [options] [script] [argument [argument [...]]]

So you need to run it as

/path/to/phantomjs.exe path/to/xss.js

Also found a detailed discussion: How to have Phantomjs execute a js file on Windows

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.