MariaGarber / XSS-Scanner

XSS scanner that detects Cross-Site Scripting vulnerabilities in website by injecting malicious scripts
125 stars 35 forks source link

Error: Chromium revision is not downloaded #3

Open lordm369 opened 3 years ago

lordm369 commented 3 years ago

Hi. I've installed XSS Scanner on Kali Linux and I'm trying to use it with firefox and google chrome, but each time I enter a URL in the box, this error appears in terminal:

(node:6428) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" at Launcher.launch (/lordm369/XSS-Scanner/node_modules/puppeteer/lib/Launcher.js:119:15) at async check_xss (/lordm369/XSS-Scanner/server.js:33:19) at async /lordm369/XSS-Scanner/server.js:19:16 (node:6428) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:6428) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. get request can you give any suggestions for fixing this error? thanks