Jelajahi Sumber

Fixed bug when flows matched from outside data/ dir.

Thomas Flucke 6 tahun lalu
induk
melakukan
ead2339caf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      data/match-flows.sh

+ 1 - 1
data/match-flows.sh

@@ -8,7 +8,7 @@ readonly OUTFILE="$BASE_DIR/keylog-matchings.txt"
 for k in "$BASE_DIR"/keylogs/*/*/*.log; do
     printf "%s " "$k"
     seq 2 15 | while read i; do
-        if "$MATCHER" -t $i -l 250 "$k" flows/*.pcap; then
+        if "$MATCHER" -t $i -l 250 "$k" "$BASE_DIR"/flows/*.pcap; then
             return $MATCH_FOUND
         fi
     done 2> /dev/null