From 3b569c860d196472325c7a95ac5ae3b28a97c54f Mon Sep 17 00:00:00 2001 From: Mo Langning <133737702+molangning@users.noreply.github.com> Date: Fri, 24 Nov 2023 02:08:27 +0800 Subject: [PATCH] Changed it to allow for automated script execution --- .bin/os-names-mutate.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.bin/os-names-mutate.py b/.bin/os-names-mutate.py index 3e6509e4..77ead6f0 100644 --- a/.bin/os-names-mutate.py +++ b/.bin/os-names-mutate.py @@ -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)) \ No newline at end of file +open("../Fuzzing/os-names-mutated.txt","w").write('\n'.join(temp))