asdf
This commit is contained in:
parent
bd7bb0b69a
commit
a014c19ac6
|
@ -1,3 +1,4 @@
|
|||
__pycache__
|
||||
*.pyc
|
||||
results/
|
||||
venv/
|
||||
|
|
|
@ -11,8 +11,8 @@ class DirBuster(ServiceScan):
|
|||
self.slug = 'dirbuster'
|
||||
self.priority = 0
|
||||
self.tags = ['default', 'safe', 'long', 'http']
|
||||
print('asdfasdf')
|
||||
exit()
|
||||
# print('asdfasdf')
|
||||
# exit()
|
||||
|
||||
def configure(self):
|
||||
self.add_choice_option('tool', default='feroxbuster', choices=['feroxbuster', 'gobuster', 'dirsearch', 'ffuf', 'dirb', 'none'], help='The tool to use for directory busting. set to "none" to disable dirbusting. Default: %(default)s')
|
||||
|
@ -25,6 +25,7 @@ class DirBuster(ServiceScan):
|
|||
self.match_service_name('^nacn_http$', negative_match=True)
|
||||
|
||||
def check(self):
|
||||
print('asdfasdfasdf')
|
||||
tool = self.get_option('tool')
|
||||
if tool == 'none':
|
||||
self.info('dirbuster disabled via "--dirbuster.tool none"')
|
||||
|
|
|
@ -1111,6 +1111,7 @@ async def run():
|
|||
autorecon.argparse.set_defaults(**{'global.' + slugify(gkey).replace('-', '_'): gval})
|
||||
elif isinstance(val, dict): # Process potential plugin arguments.
|
||||
for pkey, pval in config_toml[key].items():
|
||||
print(pkey, pval)
|
||||
if autorecon.argparse.get_default(slugify(key).replace('-', '_') + '.' + slugify(pkey).replace('-', '_')) is not None:
|
||||
for action in autorecon.argparse._actions:
|
||||
if action.dest == slugify(key).replace('-', '_') + '.' + slugify(pkey).replace('-', '_'):
|
||||
|
|
Loading…
Reference in New Issue