From bfe3c0105d951a87a83a92611943d288575dcbe5 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 5 Nov 2019 20:26:42 -0600 Subject: [PATCH] wirefuzz: removed unified2 file removal --- qa/wirefuzz.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/wirefuzz.pl b/qa/wirefuzz.pl index e68d80824d..f385150c05 100755 --- a/qa/wirefuzz.pl +++ b/qa/wirefuzz.pl @@ -318,7 +318,7 @@ sub printhelp { -x=<(optional) regex for excluding certian files incase something blows up but we want to continue fuzzing .> -z=<(optional) regex for excluding certian files from fuzzing but still process them note: the original files will be processed and not removed.> -y - -k + -k Example usage: First thing to do is download and build suricata from git with -O0 so vars don't get optimized out. See the example below: git clone git://phalanx.openinfosecfoundation.org/oisf.git suricatafuzz1 && cd suricatafuzz1 && ./autogen.sh && CFLAGS=\"-g -O0\" ./configure && make @@ -641,7 +641,7 @@ sub clean_logs { #system("$rmcmd"); } - foreach my $file (glob "$logdir/unified2.* $logdir/*.log $logdir/*.json") { + foreach my $file (glob "$logdir/*.log $logdir/*.json") { #print $file . "\n"; if (unlink($file) <= 0) { print "clean_logs: failed to delete log file $file\n"; -- 2.47.2