-
Notifications
You must be signed in to change notification settings - Fork 80
/
sccmhunter.py
63 lines (50 loc) · 1014 Bytes
/
sccmhunter.py
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
60
61
62
63
#!/usr/bin/env python3
import typer
from lib.commands import find, mssql, smb, http, show, admin, dpapi
from lib.scripts.banner import small_banner
app = typer.Typer(
no_args_is_help=True,
add_completion=False,
rich_markup_mode='rich',
context_settings={'help_option_names': ['-h', '--help']},
pretty_exceptions_show_locals=False
)
app.add_typer(
find.app,
name=find.COMMAND_NAME,
help=find.HELP
)
app.add_typer(
http.app,
name=http.COMMAND_NAME,
help=http.HELP
)
app.add_typer(
mssql.app,
name=mssql.COMMAND_NAME,
help=mssql.HELP
)
app.add_typer(
smb.app,
name=smb.COMMAND_NAME,
help=smb.HELP
)
app.add_typer(
show.app,
name=show.COMMAND_NAME,
help=show.HELP
)
app.add_typer(
admin.app,
name=admin.COMMAND_NAME,
help=admin.HELP
)
app.add_typer(
dpapi.app,
name=dpapi.COMMAND_NAME,
help=dpapi.HELP
)
if __name__ == '__main__':
#show_banner()
small_banner()
app(prog_name='sccmhunter')