mirror of
https://github.com/danielmiessler/SecLists.git
synced 2025-04-28 09:46:29 -04:00
Update .bin
This commit is contained in:
parent
1cdd4b9906
commit
3902902441
1 changed files with 20 additions and 0 deletions
20
.bin/os-names-mutate.py
Normal file
20
.bin/os-names-mutate.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
text=open('os-names.txt').read().split('\n')
|
||||
new_temp=[]
|
||||
for i in text:
|
||||
if " " in i:
|
||||
new_temp.append(i.replace(" ", "-"))
|
||||
new_temp.append(i.replace(" ", "_"))
|
||||
else:
|
||||
new_temp.append(i)
|
||||
temp=[]
|
||||
#print(new_temp)
|
||||
for i in new_temp:
|
||||
if i.lower() != i:
|
||||
temp.append(i)
|
||||
temp.append(i.lower())
|
||||
else:
|
||||
temp.append(i)
|
||||
|
||||
print('\n'.join(temp))
|
Loading…
Add table
Reference in a new issue