summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-08 15:34:55 -0700
committermo khan <mo@mokhan.ca>2015-02-08 15:34:55 -0700
commitef0868d5c4e91eb288650a5f345b91fd22cd1274 (patch)
treed7fdf8a05bf93aae84dbc1a5e78f68857c954a76
parent9c84576258e05b05abee5eac36f8fc565c35bb8a (diff)
parent941027693b8392cc9068fc81969686f0856f3056 (diff)
Merge branch 'master' of github.com:mokhan/malwer
-rw-r--r--bin/virus_total.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/virus_total.sh b/bin/virus_total.sh
index 6c0978a..52ccbfb 100644
--- a/bin/virus_total.sh
+++ b/bin/virus_total.sh
@@ -1,5 +1,6 @@
API_KEY=$VIRUS_TOTAL_API_KEY
-HASH=8a468d8671ededf24e04628913acc82665f3c14ad898cda33687716a3fed1c14
+CLEAN_SHA=8c4d49445d0050884e0703571f187338b10c7836b08ed822cc5fc6cf15ac76b0
+MAL_SHA=000c78b44246fe6a0016dd3bb67802abb200509d943a1ea3d749b0b11d768cf4
-#curl -vvv https://www.virustotal.com/vtapi/v2/file/report -X POST --form resource="$HASH" --form apiKey="$API_KEY"
-curl https://www.virustotal.com/api/get_file_report.json -X POST --form resource="$HASH" --form key="$API_KEY" | jq .
+#curl https://www.virustotal.com/api/get_file_report.json -X POST --form resource="$MAL_SHA" --form key="$API_KEY" | jq .
+curl https://www.virustotal.com/vtapi/v2/file/report --form apikey=$API_KEY --form resource=$MAL_SHA | jq .