34 lines
1.6 KiB
JavaScript
34 lines
1.6 KiB
JavaScript
#!/usr/bin/env node
|
|
// provides a menu for accessing tools and stuff
|
|
|
|
const inquire = require("inquirer");
|
|
const sys = require("util")
|
|
const { spawn } = require("child_process")
|
|
|
|
console.log("" +
|
|
"---------------------/$$------------------------------------------------------------------\n" +
|
|
"--------------------|-$$------------------------------------------------------------------\n" +
|
|
"--/$$$$$$$--/$$$$$$$|-$$$$$$$--/$$$$$$$---/$$$$$$---/$$$$$$---/$$$$$$---/$$$$$$--/$$$$$$$-\n" +
|
|
"-/$$_____/-/$$_____/|-$$__--$$|-$$__--$$-|____--$$-/$$__--$$-/$$__--$$-/$$__--$$|-$$__--$$\n" +
|
|
"|--$$$$$$-|-$$------|-$$--\\-$$|-$$--\\-$$--/$$$$$$$|-$$--\\-$$|-$$--\\-$$|-$$$$$$$$|-$$--\\-$$\n" +
|
|
"-\\____--$$|-$$------|-$$--|-$$|-$$--|-$$-/$$__--$$|-$$--|-$$|-$$--|-$$|-$$_____/|-$$--|-$$\n" +
|
|
"-/$$$$$$$/|--$$$$$$$|-$$--|-$$|-$$--|-$$|--$$$$$$$|-$$$$$$$/|-$$$$$$$/|--$$$$$$$|-$$--|-$$\n" +
|
|
"|_______/--\\_______/|__/--|__/|__/--|__/-\\_______/|-$$____/-|-$$____/--\\_______/|__/--|__/\n" +
|
|
"--------------------------------------------------|-$$------|-$$--------------------------\n" +
|
|
"--------------------------------------------------|-$$------|-$$--------------------------\n" +
|
|
"--------------------------------------------------|__/------|__/--------------------------");
|
|
|
|
inquire.prompt([{
|
|
"type": "list",
|
|
"name": "menu",
|
|
"choices": ["Nmap", "Shodan",new inquire.Separator(), "Credits"]
|
|
|
|
}]).then(answer => {
|
|
|
|
if (answer["menu"] === "Credits") {
|
|
console.clear()
|
|
console.log("Written by: \n Alex \"Technically\"\n Under the Mozilla Public Licence 2.0\n https://git.sdf.org/Technically/schnappen");
|
|
}
|
|
|
|
});
|