-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSSF.py
More file actions
27 lines (21 loc) · 830 Bytes
/
SSF.py
File metadata and controls
27 lines (21 loc) · 830 Bytes
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
#!/usr/bin/env python3
#Copyright 2018, The RouterSploit Framework (RSF) by Threat9 All rights reserved.
from __future__ import print_function
import logging.handlers
import sys
if sys.version_info.major < 3:
print("secistsploit supports only Python3. Rerun application in Python3 environment.")
exit(0)
from secistsploit.main import secistsploitInterpreter
#
# log_handler = logging.handlers.RotatingFileHandler(filename="secistsploit_attack.log", maxBytes=500000)
# log_formatter = logging.Formatter("%(asctime)s %(levelname)s %(name)s %(message)s")
# log_handler.setFormatter(log_formatter)
# LOGGER = logging.getLogger()
# LOGGER.setLevel(logging.DEBUG)
# LOGGER.addHandler(log_handler)
def secistsploit():
ssf = secistsploitInterpreter()
ssf.start()
if __name__ == "__main__":
secistsploit()