luger Posted March 15, 2014 Share 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 Link to comment Share on other sites More sharing options...
luger Posted November 17, 2014 Share Posted November 17, 2014 Is there an improvement?.. Months passed.. Link to comment Share on other sites More sharing options...
Danyfirex Posted November 18, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Kruvi Posted May 19, 2015 Share 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? Link to comment Share on other sites More sharing options...
Danyfirex Posted June 3, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
cu0x Posted April 26, 2017 Share Posted April 26, 2017 (edited) .. Edited April 27, 2017 by cu0x Link to comment Share on other sites More sharing options...
Danyfirex Posted April 26, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
cu0x Posted April 27, 2017 Share Posted April 27, 2017 15 hours ago, Danyfirex said: check here. Saludos Gracias! Many thanks! Link to comment Share on other sites More sharing options...
cu0x Posted April 27, 2017 Share 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 Link to comment Share on other sites More sharing options...
Flax Posted February 28, 2019 Share 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. Link to comment Share on other sites More sharing options...
Flax Posted February 28, 2019 Share 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 Link to comment Share on other sites More sharing options...
Flax Posted May 22, 2020 Share 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 Link to comment Share on other sites More sharing options...
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