mirror of
https://github.com/danielmiessler/SecLists.git
synced 2025-07-18 01:39:18 -04:00
Changed it to allow for automated script execution
This commit is contained in:
parent
b65c31a678
commit
3b569c860d
1 changed files with 2 additions and 3 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue