mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-21 11:53:21 +00:00
Changed it to allow for automated script execution
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
text=open('os-names.txt').read().split('\n')
|
text=open('../Fuzzing/os-names.txt').read().split('\n')
|
||||||
new_temp=[]
|
new_temp=[]
|
||||||
for i in text:
|
for i in text:
|
||||||
if " " in i:
|
if " " in i:
|
||||||
@@ -9,7 +9,6 @@ for i in text:
|
|||||||
else:
|
else:
|
||||||
new_temp.append(i)
|
new_temp.append(i)
|
||||||
temp=[]
|
temp=[]
|
||||||
#print(new_temp)
|
|
||||||
for i in new_temp:
|
for i in new_temp:
|
||||||
if i.lower() != i:
|
if i.lower() != i:
|
||||||
temp.append(i)
|
temp.append(i)
|
||||||
@@ -17,4 +16,4 @@ for i in new_temp:
|
|||||||
else:
|
else:
|
||||||
temp.append(i)
|
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