-
Notifications
You must be signed in to change notification settings - Fork 27
/
osif
executable file
·35 lines (29 loc) · 854 Bytes
/
osif
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
#!/usr/bin/env python
import re
import sys
from sploitkit import *
from tinyscript.helpers import is_bool, ExpiringDict, Path
from tinyscript import *
class OsifConsole(FrameworkConsole):
exclude = ["root/test", "root/helpe"]
sources = {'banners': "banners"}
__all__ = ["OsifConsole"]
__script__ = "osif"
__doc__ = """
Osif launcher script.
"""
if __name__ == '__main__':
parser.add_argument("-d", "--dev", action="store_true", help="enable development mode")
initialize(exit_at_interrupt=False)
#add traceback
sys.tracebacklimit=0
#disable _pycachce_
sys.dont_write_bytecode = True
c = OsifConsole(
"OSIF",
#TODO: configure your console settings
banner_section_styles={'title': {'fgcolor': "lolcat"}},
dev=args.dev,
debug=args.verbose,
)
c.start()