luger Posted March 15, 2014 Posted March 15, 2014 (edited) @Danyfirex: Yes. .txt file upload to link:(x86 compiling) https://www.virustotal.com/file/07db1fc84131d63ede8a5ec77d15574e3c80c01eb0bd1c501b8a9527ed37667f/analysis/1394901520/ We could not quite understand why you do something? There is no problem in x86. Edited March 16, 2014 by luger
Danyfirex Posted November 18, 2014 Author Posted November 18, 2014 I'm not thinking in improve it. If You want to improve it. the door is open. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Kruvi Posted May 19, 2015 Posted May 19, 2015 Hi Danyfirex,i am really new to Autoit,i need to use your script for scanning exe in VT.care to explain i can i use your script?
Danyfirex Posted June 3, 2015 Author Posted June 3, 2015 Hi Danyfirex,i am really new to Autoit,i need to use your script for scanning exe in VT.care to explain i can i use your script?Look the code I've left in the post here. the $fScan flag is what you need.Sorry for a late reply the notifications does not notificate me till today :SSaludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Danyfirex Posted April 26, 2017 Author Posted April 26, 2017 8 minutes ago, cu0x said: Hello Guys, does someone know how to get a Virus total API key ? I do a lot of stuff with AutoIT and need to automate the commits for False-Positives... Thanks a lot! check here. Saludos Skysnake 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
cu0x Posted April 27, 2017 Posted April 27, 2017 15 hours ago, Danyfirex said: check here. Saludos Gracias! Many thanks!
cu0x Posted April 27, 2017 Posted April 27, 2017 On 13.5.2013 at 6:17 AM, Danyfirex said: Hi mates, well this is my first contribution. a simple UDF to use Virustotal API v2.0 The response return is not parsed|splitted. requires >WinHttp UDF Functions List: Update: Now a Only Function using a flags for respective mode. VT() Use respective flag($Type) VT(ByRef $aAPI, $Type, $sResource, $sAPIkey,$Comments="") flags($Type) $fReport = retrieve a scan report on a given file $fScan = submit a file for Scanning $fRescan = Rescan files in VirusTotal's file store $uReport = retrieve a scan report on a given URL $uScan = submit a URL for Scanning $Comment = Make a commnet on files and URLs Example: #include <Crypt.au3> #include "VT.au3" Example() Func Example() _Crypt_Startup() Local $sFilePath = @WindowsDir & "\Explorer.exe" Local $bHash = _Crypt_HashFile($sFilePath, $CALG_MD5) _Crypt_Shutdown() Local $hVirusTotal = VT_Open() Local $APIkey='Your API key' ConsoleWrite(VT($hVirusTotal, $fReport, '20c83c1c5d1289f177bc222d248dab261a62529b19352d7c0f965039168c0654',$APIkey) & @CRLF) ConsoleWrite(VT($hVirusTotal, $fScan, $sFilePath,$APIkey) & @CRLF) ConsoleWrite(VT($hVirusTotal, $fRescan, hex($bHash),$APIkey) & @CRLF) ConsoleWrite(VT($hVirusTotal, $uReport, "http://www.virustotal.com",$APIkey) & @CRLF) ConsoleWrite(VT($hVirusTotal, $uScan, "http://www.google.com",$APIkey) & @CRLF) ConsoleWrite(VT($hVirusTotal, $Comment, hex($bHash) ,$APIkey,"Hello Word | Hola Mundo") & @CRLF) VT_Close($hVirusTotal) ; EndFunc ;==>Example Saludos Hi I reveice an empty string while $hVirusTotal = VT_Open(), do you know why? VT.au3
Flax Posted February 28, 2019 Posted February 28, 2019 Does anyone know, why i can't upload bigger exe files ? Small exe and other files uploads fine, but bigger like 8MB exe wont. Dont even get any response from VirusTotal api, VT function just returns 0.
Flax Posted February 28, 2019 Posted February 28, 2019 (edited) okay, it looks like its not only exe files, but all bigger files, I was able to send about 6MB txt file, bet when it got to around 7.5mb got response 0. It's strange because according to VirusTotal, you can send files up to 32MB :/ Edited February 28, 2019 by Flax
Flax Posted May 22, 2020 Posted May 22, 2020 If you have problems with uploading larger files, you need to increase http timeouts. Change VT_Open() function to this: ; #FUNCTION# ============================================================================================= ; Name...........: VT_Open ; Description ...: Initialize and get session handle & connection handle ; Syntax.........: VT_Open() ; guinness ; #FUNCTION# ============================================================================================= Func VT_Open() Local $aAPI[2] = [0, 0] $aAPI[$eAPI_HttpOpen] = _WinHttpOpen() If @error Then $aAPI[$eAPI_HttpOpen] = -1 _WinHttpSetTimeouts($aAPI[$eAPI_HttpOpen], 9900, 60000, 31000, 90000) $aAPI[$eAPI_HttpConnect] = _WinHttpConnect($aAPI[$eAPI_HttpOpen], $__sVirusTotal_Page) If @error Then $aAPI[$eAPI_HttpConnect] = -1 Return $aAPI EndFunc ;==>VT_Open Danyfirex 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now