Closed Anu-bhav closed 4 years ago
GFSCAN="$RESULTDIR/gfscan"
: 'Use gf to find secrets in meg file' startGfScan(){ startFunction "Gf scan in meg files" cd "$SUBS"/meg for i in gf -list; do gf ${i} > "$GFSCAN"/"${i}".txt [[ -s "$GFSCAN"/"${i}".txt ]] || rm "$GFSCAN"/"${i}".txt done cd - }
gf -list
startGfScan # add function after startMeg to run
Can you send a Pull request with change, we would love to have contribution.
Merged your change.
GFSCAN="$RESULTDIR/gfscan"
: 'Use gf to find secrets in meg file' startGfScan(){ startFunction "Gf scan in meg files" cd "$SUBS"/meg for i in
gf -list
; do gf ${i} > "$GFSCAN"/"${i}".txt [[ -s "$GFSCAN"/"${i}".txt ]] || rm "$GFSCAN"/"${i}".txtdone cd - }
startGfScan # add function after startMeg to run