From 32f18900a3638ac93db6f729c7d047df058950c5 Mon Sep 17 00:00:00 2001 From: Tib3rius <48113936+Tib3rius@users.noreply.github.com> Date: Sat, 28 Aug 2021 08:43:11 -0400 Subject: [PATCH] Update autorecon.py Added notes.txt back. --- autorecon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autorecon.py b/autorecon.py index 6709ff1..84ac789 100644 --- a/autorecon.py +++ b/autorecon.py @@ -1085,6 +1085,10 @@ async def scan_target(target): info('Found {bmagenta}' + service.name + '{rst} on {bmagenta}' + service.protocol + '/' + str(service.port) + '{rst} on {byellow}' + target.address + '{rst}') + if not autorecon.config['only_scans_dir']: + with open(os.path.join(target.reportdir, 'notes.txt'), 'a') as file: + file.writelines('[*] ' + service.name + ' found on ' + service.protocol + '/' + str(service.port) + '.\n\n\n\n') + service.target = target # Create variables for command references.