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
|
||||
|
||||
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue