Last active
October 30, 2018 23:31
-
-
Save assafmo/7aa852d0b9ee377d42bb120212c439a2 to your computer and use it in GitHub Desktop.
Query VirusTotal.com for malicious sha256 / sha1 / md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
hash="$1" | |
curl "https://www.virustotal.com/ui/files/$hash" \ | |
-H 'dnt: 1' \ | |
-H 'accept-encoding: gzip, deflate, br' \ | |
-H 'accept-language: en-US,en;q=0.8' \ | |
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36' \ | |
-H 'accept: application/json' \ | |
-H 'referer: https://www.virustotal.com/' \ | |
-H 'authority: www.virustotal.com' \ | |
--compressed -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/assafmo/virustotal.sh