From 45e6843c55211d8c069aaad3309a735717195e21 Mon Sep 17 00:00:00 2001 From: i128 Date: Wed, 20 Jan 2021 14:58:29 -0600 Subject: [PATCH] Update wordlist_optimizer.py Updated copy command to allow correct execution outside of the /tmp/splitlen/ folder --- wordlist_optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordlist_optimizer.py b/wordlist_optimizer.py index b1caec9..27dc649 100644 --- a/wordlist_optimizer.py +++ b/wordlist_optimizer.py @@ -66,7 +66,7 @@ def main(): # Copy unique passwords into "optimized" for file in os.listdir("/tmp/splitlen"): if not os.path.isfile(destination + "/" + file): - shutil.copyfile(file, destination) + shutil.copyfile("/tmp/splitlen/" + file, destination + "/" + file) else: rliProcess = subprocess.Popen("%s /tmp/splitlen/%s /tmp/splitlen.out %s/%s" % (rli_bin, file, destination, file), shell=True).wait() if lineCount("/tmp/splitlen.out") > 0: