diff --git a/.gitignore b/.gitignore index a89c11f..3b3d60f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ __pycache__ *.pyc results/ +venv/ diff --git a/autorecon/default-plugins/dirbuster.py b/autorecon/default-plugins/dirbuster.py index 844ae1b..94c3081 100644 --- a/autorecon/default-plugins/dirbuster.py +++ b/autorecon/default-plugins/dirbuster.py @@ -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"') diff --git a/autorecon/main.py b/autorecon/main.py index f9542de..50f51f4 100644 --- a/autorecon/main.py +++ b/autorecon/main.py @@ -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('-', '_'):