From eecbdd99e177698c93873db351299467a910fc0e Mon Sep 17 00:00:00 2001 From: Alexander Shvedov <60114847+a-shvedov@users.noreply.github.com> Date: Thu, 30 May 2024 22:26:24 +0300 Subject: Update and rename make_dict.sh to make_dict_v2.sh --- utils/libtokencap/make_dict.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 utils/libtokencap/make_dict.sh (limited to 'utils/libtokencap/make_dict.sh') diff --git a/utils/libtokencap/make_dict.sh b/utils/libtokencap/make_dict.sh deleted file mode 100644 index 92c383fa..00000000 --- a/utils/libtokencap/make_dict.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -LD_PRELOAD_PATH="/path/to/libtokencap.so" -AFL_TOKEN_FILE=${PWD}/temp_output.txt -AFL_DICT_FILE=$(basename ${target_output}) -target_bin="/path/to/target/program" -target_output="/path/to/target/output" -timeout_sec="5" - -{ -touch $AFL_TOKEN_FILE -for i in $(find ${target_output} -type f -name "id*"); do - LD_PRELOAD=${LD_PRELOAD_PATH} \ - timeout -s SIGKILL ${timeout_sec} \ - ${target_bin} ${i} -done -} >${AFL_TOKEN_FILE} - -sort -u ${AFL_TOKEN_FILE} >${AFL_DICT_FILE}.dict -- cgit 1.4.1