-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.js
59 lines (48 loc) · 1.15 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { Command } from "commander";
import { BANNER } from "./constants.js";
import {
hackerone,
bugcrowd,
intigriti,
hackenproof,
yeswehack,
federacy,
} from "./programs.js";
BANNER();
const cli = new Command();
cli.description(
"Provide the desire platform as parameter and get the listed in scope domains and subdomains of programs"
.cyan
);
cli.usage("node app.js [command]");
cli
.command("hackerone")
.description("Get all in scopes of hackerone platform.")
.alias("ho")
.action(hackerone);
cli
.command("bugcrowd")
.description("Get all in scopes of bugcrowd platform.")
.alias("bc")
.action(bugcrowd);
cli
.command("intigriti")
.description("Get all in scopes of intigriti platform.")
.alias("in")
.action(intigriti);
cli
.command("hackenproof")
.description("Get all in scopes of hackenproof platform.")
.alias("hp")
.action(hackenproof);
cli
.command("yeswehack")
.description("Get all in scopes of yeswehack platform.")
.alias("ywh")
.action(yeswehack);
cli
.command("federacy")
.description("Get all in scopes of federacy platform.")
.alias("fed")
.action(federacy);
cli.parse(process.argv);