-
Notifications
You must be signed in to change notification settings - Fork 33
/
kill-router.py
38 lines (27 loc) · 905 Bytes
/
kill-router.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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from os.path import join, dirname
from dotenv import load_dotenv
from modules.kill_router import Kill_Router
from modules.presentations import Presentations
from modules.arguments import CLI
def main():
dotenv_path = join(dirname(__file__), '.env')
load_dotenv(dotenv_path, verbose=True)
Presentations.banner()
args = CLI.parse()
kill_router = Kill_Router()
if args.shodan != None:
kill_router.shodan_search(args)
else:
if args.method is None:
args.method = "http"
kill_router.bruteforce(args.target, args.port, args.method, args.passlist, args.username)
# try:
# kill_router = Kill_Router()
# kill_router.bruteforce(args.target, args.port, args.method, args.passlist, args.username)
# except:
# print "deu merda"
# sys.exit()
main()