diff options
| author | van Hauser <vh@thc.org> | 2023-04-12 10:54:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-12 10:54:08 +0200 |
| commit | 4f2d9eeaaa6b702ef28eb883f9000321eaf1fe9b (patch) | |
| tree | 125cecc79c148552844723e95ddd246bf918d6fc /afl-whatsup | |
| parent | 7101192865893e00b9029d0cb898a3ca3015d50b (diff) | |
| parent | 743ae507756db0707a213cd8272b219b0de0f514 (diff) | |
| download | afl++-4f2d9eeaaa6b702ef28eb883f9000321eaf1fe9b.tar.gz | |
Merge pull request #1700 from AFLplusplus/dev
push to stable
Diffstat (limited to 'afl-whatsup')
| -rwxr-xr-x | afl-whatsup | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/afl-whatsup b/afl-whatsup index 5546523a..cec1ae28 100755 --- a/afl-whatsup +++ b/afl-whatsup @@ -70,10 +70,10 @@ if [ -d queue ]; then fi -RED=`tput setaf 9 1 1` -GREEN=`tput setaf 2 1 1` -BLUE=`tput setaf 4 1 1` -YELLOW=`tput setaf 11 1 1` +RED=`tput setaf 9 1 1 2>/dev/null` +GREEN=`tput setaf 2 1 1 2>/dev/null` +BLUE=`tput setaf 4 1 1 2>/dev/null` +YELLOW=`tput setaf 11 1 1 2>/dev/null` NC=`tput sgr0` RESET="$NC" @@ -141,7 +141,8 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do sed 's/^command_line.*$/_skip:1/;s/[ ]*:[ ]*/="/;s/$/"/' "$i" >"$TMP" . "$TMP" - + DIR=$(dirname "$i") + DIR=${DIR##*/} RUN_UNIX=$run_time RUN_DAYS=$((RUN_UNIX / 60 / 60 / 24)) RUN_HRS=$(((RUN_UNIX / 60 / 60) % 24)) @@ -154,7 +155,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do if [ "$SUMMARY_ONLY" = "" ]; then - echo ">>> $afl_banner ($RUN_DAYS days, $RUN_HRS hrs) fuzzer PID: $fuzzer_pid <<<" + echo ">>> $afl_banner instance: $DIR ($RUN_DAYS days, $RUN_HRS hrs) fuzzer PID: $fuzzer_pid <<<" echo fi |
