Login About Gallery
VirusTotal Scan
Accepts
WFAppContentItem, WFFolderContentItem, Files, Images, Media, PDFs, Rich Text and Text
COMMENT
‎VirusTotal Scan by Ormetis_Build on RoutineHub This shortcut can be used to analyze any type of file and detect whether or not it’s malicious. The analysis will not work if the file is compressed AND is password protected. If you have any problems with the shortcut, please contact me by e-mail (select all the text below then click on "New Mail message"): mailto:compte26@orange.fr?subject=help: VirusTotal Scan shortcut
COMMENT
‎⤵️ SETUP HERE ============== 1. Create an account on VirusTotal: https://www.virustotal.com/gui/join-us 2. Retrieve your API key: https://www.virustotal.com/gui/my-apikey 3. Paste the key in the Text action below ⬇️ 4. Run the shortcut once to enable notification and file upload to VirusTotal. That's it, you can now run the shortcut and choose a file, or share a file and choose this shortcut!
TEXT
‎Text
VARIABLES
‎Set variable ‎API-key ‎to ‎Texte
SCRIPTING
‎If ‎API-key ‎does not have any value
SCRIPTING
‎Show alert ‎Informational Message
Title
‎optional
Show Cancel Button
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎End If
SCRIPTING
‎If ‎Shortcut Input ‎does not have any value
MISSING
‎file.select Under Construction
SCRIPTING
‎End If
DOCUMENTS
‎Get ‎File Size ‎from ‎Résultat de la condition
SCRIPTING
‎If ‎Taille du fichier ‎is greater than ‎<value>
NETWORK
‎Get contents of ‎https://www.virustotal.com/api/v3/files/upload_url
‎Options Under Construction
SCRIPTING
‎Get ‎Value ‎for ‎data ‎in ‎Contenu de l’URL
VARIABLES
‎Set variable ‎request__url ‎to ‎URL_large-file
SCRIPTING
‎Otherwise
TEXT
‎https://www.virustotal.com/api/v3/files
VARIABLES
‎Set variable ‎request__url ‎to ‎Texte
SCRIPTING
‎End If
SCRIPTING
‎Generate ‎MD5 ‎hash of ‎Résultat de la condition
NETWORK
‎Get contents of ‎request__url
‎Options Under Construction
SCRIPTING
‎Get ‎Value ‎for ‎data ‎in ‎Contenu de l’URL
SCRIPTING
‎Get ‎Value ‎for ‎id ‎in ‎Valeur du dictionnaire
VARIABLES
‎Set variable ‎file__id ‎to ‎Valeur du dictionnaire
NOTIFICATIONS
‎Show notification ‎Input
‎Options Under Construction
SCRIPTING
‎Repeat ‎12 times
NETWORK
‎Get contents of ‎https://www.virustotal.com/api/v3/analyses/ ‎file__id
‎Options Under Construction
SCRIPTING
‎Get ‎Value ‎for ‎data ‎in ‎Contenu de l’URL
SCRIPTING
‎Get ‎Value ‎for ‎attributes ‎in ‎Dico data
SCRIPTING
‎Get ‎Value ‎for ‎status ‎in ‎Dico attributes
TEXT
‎Match ‎(queued|in-progress) ‎in ‎Valeur du dictionnaire
Case Sensitive
SCRIPTING
‎If ‎Correspondances ‎has any value
SCRIPTING
‎Wait ‎25 seconds
SCRIPTING
‎Otherwise
SCRIPTING
‎Get ‎Value ‎for ‎stats ‎in ‎Dico attributes
SCRIPTING
‎Get ‎Value ‎for ‎undetected ‎in ‎Dico stats
SCRIPTING
‎Get ‎Value ‎for ‎harmless ‎in ‎Dico stats
SCRIPTING
‎Get ‎Value ‎for ‎suspicious ‎in ‎Dico stats
SCRIPTING
‎Get ‎Value ‎for ‎malicious ‎in ‎Dico stats
TEXT
‎Undetected: ‎Valeur du dictionnaire ‎ Harmless: ‎Valeur du dictionnaire ‎ Suspicious: ‎Valeur du dictionnaire ‎ Malicious: ‎Valeur du dictionnaire
SCRIPTING
‎Show ‎Texte
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎End If
SCRIPTING
‎End Repeat

Showcuts

Magic Vars

Screenshot

Submitted Anonymously over a year ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0