mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-07-21 00:35:51 +00:00
Changed it to allow for automated script execution
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
text=open('os-names.txt').read().split('\n')
|
||||
text=open('../Fuzzing/os-names.txt').read().split('\n')
|
||||
new_temp=[]
|
||||
for i in text:
|
||||
if " " in i:
|
||||
@@ -9,7 +9,6 @@ for i in text:
|
||||
else:
|
||||
new_temp.append(i)
|
||||
temp=[]
|
||||
#print(new_temp)
|
||||
for i in new_temp:
|
||||
if i.lower() != i:
|
||||
temp.append(i)
|
||||
@@ -17,4 +16,4 @@ for i in new_temp:
|
||||
else:
|
||||
temp.append(i)
|
||||
|
||||
print('\n'.join(temp))
|
||||
open("../Fuzzing/os-names-mutated.txt","w").write('\n'.join(temp))
|
||||
|
||||
Reference in New Issue
Block a user