Merge pull request #38 from i128/patch-1

Update wordlist_optimizer.py
This commit is contained in:
David Kennedy
2021-06-08 13:28:14 -04:00
committed by GitHub

View File

@@ -66,7 +66,7 @@ def main():
# Copy unique passwords into "optimized" <output directory>
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: