about summary refs log tree commit diff
path: root/nyx_mode/custom_harness/fuzz.sh
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-01-11 12:20:35 +0100
committerGitHub <noreply@github.com>2022-01-11 12:20:35 +0100
commit10dae419d6e3ebc38f53840c5abfe98e9c901217 (patch)
tree352576e19c8a504c40ea58dbb141056762901a69 /nyx_mode/custom_harness/fuzz.sh
parent74a8f145e09d0361d8f576eb3f2e8881b6116f18 (diff)
parentd2715336a54635bb6e617a2e739c0ad5fe51d28d (diff)
downloadafl++-10dae419d6e3ebc38f53840c5abfe98e9c901217.tar.gz
Merge pull request #1236 from AFLplusplus/dev
push to stable
Diffstat (limited to 'nyx_mode/custom_harness/fuzz.sh')
-rw-r--r--nyx_mode/custom_harness/fuzz.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/nyx_mode/custom_harness/fuzz.sh b/nyx_mode/custom_harness/fuzz.sh
new file mode 100644
index 00000000..98138f70
--- /dev/null
+++ b/nyx_mode/custom_harness/fuzz.sh
@@ -0,0 +1,13 @@
+chmod +x hget
+cp hget /tmp/
+cd /tmp/
+echo 0 > /proc/sys/kernel/randomize_va_space
+echo 0 > /proc/sys/kernel/printk
+./hget hcat hcat
+./hget habort habort
+./hget target target
+chmod +x hcat
+chmod +x habort
+chmod +x target
+./target
+./habort "Target has terminated without initializing the fuzzing agent ..."