| skipped 32 lines |
33 | 33 | | |
34 | 34 | | ### Global stuff |
35 | 35 | | current_path = os.path.dirname(os.path.realpath(__file__)) |
36 | | - | # SPECIAL_ARGUMENT = { |
37 | | - | # 'TARGET' : 'example.com', |
38 | | - | # 'COMPANY' : 'example.com', |
39 | | - | # 'STRIP_TARGET' : 'example.com', |
40 | | - | # 'IP' : '1.2.3.4', |
41 | | - | # 'BURPSTATE' : '', |
42 | | - | # 'OUTPUT' : 'out.txt', |
43 | | - | # 'WORKSPACE' : current_path + '/workspaces', |
44 | | - | |
45 | | - | # 'PLUGINS_PATH' : current_path + '/plugins', |
46 | | - | # 'GO_PATH' : '~/go/bin', |
47 | | - | # 'DIRECTORY_FULL' : current_path + '/plugins/wordlists/dir-all.txt', |
48 | | - | # 'DOMAIN_FULL' : current_path + '/plugins/wordlists/all.txt', |
49 | | - | # 'DEFAULT_WORDLIST' : '', |
50 | | - | |
51 | | - | # 'GITHUB_API_KEY' : 'abc123poi456', # this isn't work api :D |
52 | | - | # 'MORE' : '', |
53 | | - | # 'CWD' : os.path.dirname(os.path.realpath(__file__)), |
54 | | - | # } |
55 | | - | ### |
56 | | - | |
57 | | - | # options = { |
58 | | - | # 'target' : '', |
59 | | - | # 'targetlist' : '', |
60 | | - | # 'env' : SPECIAL_ARGUMENT, |
61 | | - | # 'speed' : 'quick', |
62 | | - | # 'DEBUG' : False |
63 | | - | # } |
64 | | - | |
65 | 36 | | |
66 | 37 | | def flask_run(): |
67 | 38 | | utils.print_banner("Staarting Flask API") |
| skipped 8 lines |
76 | 47 | | if args.config: |
77 | 48 | | config_path = args.config |
78 | 49 | | options = config.parsing_config(config_path, args) |
79 | | - | # if options['DEBUG'] == "True": |
80 | | - | # pprint(options) |
81 | | - | # sm = slack.Messages(options) |
82 | | - | # sm.testing() |
| 50 | + | |
83 | 51 | | |
84 | 52 | | #wait for flask API start |
85 | 53 | | time.sleep(2) |
| skipped 95 lines |