Changed it to allow for automated script execution

This commit is contained in:
Mo Langning 2023-11-24 02:08:27 +08:00 committed by GitHub
parent b65c31a678
commit 3b569c860d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))