From 10d12351f617636d2beb2986b415f5035ec7ba40 Mon Sep 17 00:00:00 2001 From: ammar26627 Date: Sat, 27 Jul 2024 23:34:48 +0530 Subject: [PATCH] Added path to folder name --- finalrecon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/finalrecon.py b/finalrecon.py index c2bfefb..f2f21f8 100644 --- a/finalrecon.py +++ b/finalrecon.py @@ -231,8 +231,8 @@ def save_key(key_string): fname = f'{fpath}fr_{hostname}_{dt_now}.{output}' respath = f'{fpath}fr_{hostname}_{dt_now}' else: - fname = f'{folder_name}.{output}' - respath = f'{folder_name}' + fname = f'{fpath}{folder_name}.{output}' + respath = f'{fpath}{folder_name}' if not os.path.exists(respath): os.makedirs(respath) out_settings = {