-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkickstart.sh
21 lines (21 loc) · 4.06 KB
/
kickstart.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Need to replace <PODNAME> with pods that are alive for this to work.
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/cat && afl-fuzz -m 1000 -i /root/fuzzing/input/cat -o /root/out/cat -- /root/coreutils/src/cat -x /root/fuzzing/dictionaries/cat"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/date && afl-fuzz -m 1000 -i /root/fuzzing/input/date -o /root/out/date -- /root/coreutils/src/date -x /root/fuzzing/dictionaries/date"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/df && afl-fuzz -m 1000 -i /root/fuzzing/input/df -o /root/out/df -- /root/coreutils/src/df -x /root/fuzzing/dictionaries/df"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/echo && afl-fuzz -m 1000 -i /root/fuzzing/input/echo -o /root/out/echo -- /root/coreutils/src/echo -x /root/fuzzing/dictionaries/echo"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/ln && afl-fuzz -m 1000 -i /root/fuzzing/input/ln -o /root/out/ln -- /root/coreutils/src/ln -x /root/fuzzing/dictionaries/ln"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/mkdir && afl-fuzz -m 1000 -i /root/fuzzing/input/mkdir -o /root/out/mkdir -- /root/coreutils/src/mkdir -x /root/fuzzing/dictionaries/mkdir"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/mv && afl-fuzz -m 1000 -i /root/fuzzing/input/mv -o /root/out/mv -- /root/coreutils/src/mv -x /root/fuzzing/dictionaries/mv"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/pwd && afl-fuzz -m 1000 -i /root/fuzzing/input/pwd -o /root/out/pwd -- /root/coreutils/src/pwd -x /root/fuzzing/dictionaries/pwd"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/touch && afl-fuzz -m 1000 -i /root/fuzzing/input/touch -o /root/out/touch -- /root/coreutils/src/touch -x /root/fuzzing/dictionaries/touch"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/uname && afl-fuzz -m 1000 -i /root/fuzzing/input/uname -o /root/out/uname -- /root/coreutils/src/uname -x /root/fuzzing/dictionaries/uname"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/cp && afl-fuzz -m 1000 -i /root/fuzzing/input/cp -o /root/out/cp -- /root/coreutils/src/cp -x /root/fuzzing/dictionaries/cp"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/dd && afl-fuzz -m 1000 -i /root/fuzzing/input/dd -o /root/out/dd -- /root/coreutils/src/dd -x /root/fuzzing/dictionaries/dd"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/dir && afl-fuzz -m 1000 -i /root/fuzzing/input/dir -o /root/out/dir -- /root/coreutils/src/dir -x /root/fuzzing/dictionaries/dir"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/false && afl-fuzz -m 1000 -i /root/fuzzing/input/false -o /root/out/false -- /root/coreutils/src/false -x /root/fuzzing/dictionaries/false"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/ls && afl-fuzz -m 1000 -i /root/fuzzing/input/ls -o /root/out/ls -- /root/coreutils/src/ls -x /root/fuzzing/dictionaries/ls"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/mktemp && afl-fuzz -m 1000 -i /root/fuzzing/input/mktemp -o /root/out/mktemp -- /root/coreutils/src/mktemp -x /root/fuzzing/dictionaries/mktemp"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/printf && afl-fuzz -m 1000 -i /root/fuzzing/input/printf -o /root/out/printf -- /root/coreutils/src/printf -x /root/fuzzing/dictionaries/printf"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/sleep && afl-fuzz -m 1000 -i /root/fuzzing/input/sleep -o /root/out/sleep -- /root/coreutils/src/sleep -x /root/fuzzing/dictionaries/sleep"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/true && afl-fuzz -m 1000 -i /root/fuzzing/input/true -o /root/out/true -- /root/coreutils/src/true -x /root/fuzzing/dictionaries/true"
kubectl exec <PODNAME> -- bash -c "mkdir /root/out/ && mkdir /root/out/vdir && afl-fuzz -m 1000 -i /root/fuzzing/input/ vdir -o /root/out/vdir -- /root/coreutils/src/vdir -x /root/fuzzing/dictionaries/vdir"