Skip to content

Commit

Permalink
VT check
Browse files Browse the repository at this point in the history
  • Loading branch information
brian committed Aug 11, 2018
1 parent 3b2aaac commit 3e6067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blazescan
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ while getopts ":ahltu:d:w:UARfi:mnN" opt; do
yesno; if [ $decision = 1 ]; then
vtkey=$(grep "#VTapikey=" /usr/local/scan/blazescand.conf| cut -d = -f2)
vthash=$(sha1sum $fileid| awk '{print$1}')
if [ $(echo $vtkey| wc -c) = 0 ]; then #no api key
if [ $(echo $vtkey| wc -c) = 1 ]; then #no api key
echo -e "$yellow No Virustotal API key found, please add to /usr/local/scan/blazescand.conf $whi"
else
vtcheck
Expand Down

0 comments on commit 3e6067d

Please sign in to comment.