UNPKG

cve-2020-17453

Version:

CVE-2020-17453 is a powerful scanner for bug bounty hunters and penetration testers to discover vulnerabilities in their web applications.

63 lines (62 loc) 2.59 kB
#!/usr/bin/env node /** * CVE-2020-17453 * CVE-2020-17453 is a powerful scanner for bug bounty hunters and penetration testers to discover vulnerabilities in their web applications. * * @author karthikeyan V (karthithehacker) <https://karthithehacker.com> */ //lib and includes section const { boolean } = require("yargs"); //lib and includes section require("os").userInfo().username module.exports = { helpmenu: function() { var argv = require('yargs/yargs')(process.argv.slice(2)) .usage('\n\n \x1b[30;1m$\x1b[0m \x1b[32;1mCVE-2020-17453 \x1b[36;1m[option]\n\n \x1b[37;42;1mUsage:\x1b[0m $0 \x1b[33;1m[options]\x1b[30;1m') .version('version', '1.0.1').alias('version', 'V') .options({ help: { alias: 'h', description: "Show help", requiresArg: true, required: false }, url: { alias: 'u', description: "url to scan for CVE-2020-17453", requiresArg: true, required: true }, output: { alias: 'o', description: "Save the results to text file", requiresArg: true, required: false }, list: { alias: 'l', description: "File containing a list of URLs for CVE-2020-17453 scan.", requiresArg: true, required: false } }) .argv; console.log('Inspecting options'); console.dir(argv); console.log("input:", argv.input); console.log("output:", argv.output); }, helpintro: function() { cyan='\e[1;36m%s\e[0m\n' console.log(" \n\n\x1b[36;1m👋 Hey \x1b[37;1m"+require("os").userInfo().username+" \x1b[36;1m\n"); console.log(" .-----------------------------. "); console.log(" | Tool : \x1b[31mCVE-2020-17453\x1b[36;1m 💉 | "); console.log(" | Author : \x1b[32;1m@karthithehacker🎖️\x1b[36;1m | "); console.log(" | \x1b[30m';alert('\x1b[31mXSS\x1b[30m')//';\x1b[36;1m | "); console.log(" '-----------------------------' "); console.log(" ^ (\\_/) "); console.log(" '----- (O.o) "); console.log(" (> <) "); console.log("\n\x1b[37;1mCVE-2020-17453 Scanner \x1b[30;1m\nCVE-2020-17453 is a powerful scanner for bug bounty hunters and penetration testers to discover vulnerabilities in their web applications.") } };