Page 3 of 3

Re: VirusTotal Reporter for XYplorer

Posted: 18 Aug 2016 17:27
by SammaySarkar
Hey all, updated version, no URL errors in xyscript-only version. Plus a tiny notice about archives.
Hastily updated. Will fix code style and syntax warnings soon. Done. v3.2.1 !

Hey Don, readurl()'s nocookie=1 caused that problem. Gives any ideas?

Re: VirusTotal Reporter for XYplorer

Posted: 19 Aug 2016 13:35
by admin
The nocookies parameter sets this flag:

INTERNET_FLAG_NO_COOKIES = 0x00080000

If it makes problems don't use it.

Re: VirusTotal Reporter for XYplorer

Posted: 07 May 2017 12:22
by Dean36
How can I change the browser in which the report is opened?

wie kann ich den browser in dem der report geöffnet wird, ändern?

Re: VirusTotal Reporter for XYplorer

Posted: 07 May 2017 12:52
by highend
Depending on which version you use (Sammay''s / mine), the end of the script looks like this:

Code: Select all

// OUTPUT
  html("<html><head>$reportCSS</head><body>$reportHTML$hiliteJS$sortJS$filterTglJS</body></html>",
       450, 600, "VirusTotal report for selected files");

// ENDOFSCRIPT

or

Code: Select all

//v OUTPUT
 // remember to put css inside <head />
 html("<html><head>$reportCSS$rtClickJS</head><body>$reportHTML$hiliteJS$sortJS</body></html>", 450, 600, "VirusTotal report for selected files") ;

replace the html line with

Code: Select all

 $htmlFile = "%TEMP%\virustotal.html";
 writefile($htmlFile, "<html><head>$reportCSS$rtClickJS</head><body>$reportHTML$hiliteJS$sortJS</body></html>", , "utf8");
 run """<path to your browser .exe file>"" ""$htmlFile""";
These 3 lines must be indented (by at least one space)!

Re: VirusTotal Reporter for XYplorer

Posted: 16 Jun 2019 18:04
by giuliastar
highend wrote: 07 May 2017 12:52 Depending on which version you use (Sammay''s / mine), the end of the script looks like this:

Code: Select all

// OUTPUT
  html("<html><head>$reportCSS</head><body>$reportHTML$hiliteJS$sortJS$filterTglJS</body></html>",
       450, 600, "VirusTotal report for selected files");

// ENDOFSCRIPT

or

Code: Select all

//v OUTPUT
 // remember to put css inside <head />
 html("<html><head>$reportCSS$rtClickJS</head><body>$reportHTML$hiliteJS$sortJS</body></html>", 450, 600, "VirusTotal report for selected files") ;

replace the html line with

Code: Select all

 $htmlFile = "%TEMP%\virustotal.html";
 writefile($htmlFile, "<html><head>$reportCSS$rtClickJS</head><body>$reportHTML$hiliteJS$sortJS</body></html>", , "utf8");
 run """<path to your browser .exe file>"" ""$htmlFile""";
These 3 lines must be indented (by at least one space)!
hi
does it still work with xyplorer 20 and the new virus total api?
just because it does not send any files to virus total
would be amazing having a button , select some files and send to virus total from xplorer
thanks

Re: VirusTotal Reporter for XYplorer

Posted: 16 Jun 2019 20:14
by SammaySarkar
Oh yes, I'd seen their api upgrades (and no this script doesn't work with that any more), but never got around to reading more or upgrading the script. Thanks for the bump, I'll see what I can do.

Re: VirusTotal Reporter for XYplorer

Posted: 18 Jun 2019 17:15
by SammaySarkar
Okay, not some great news.

The current api is at version 2, and can be utilized by xyscripts without external assistance, but it's going to be deprecated when the beta v3 become stable. The v3 api is POST-based and the response is in json which means I'd have to include possibly multiple external utilities or hefty vbscript libraries.

But more importantly, their api access is rate-limited to 4 requests per minute. This kills any realistic use of batch reports or rapid multiple script executions.

Re: [DEFUNCT] VirusTotal Reporter for XYplorer

Posted: 18 Jun 2019 17:17
by admin
Pity!

Re: [DEFUNCT] VirusTotal Reporter for XYplorer

Posted: 10 Jun 2020 09:40
by darekkay
There's a (very limited) alternative. Here's a command/script to open the results page in your browser. It will show you the results IF the file has already been uploaded:

Code: Select all

::Open("https://www.virustotal.com/gui/file/<prop #hash.sha256>/detection")
It's not nearly as nice as the original script, but it still saves some time, as I don't have to drag&drop popular files.

Re: [DEFUNCT] VirusTotal Reporter for XYplorer

Posted: 12 Jun 2020 15:28
by admin
Cool! :appl:

Re: [DEFUNCT] VirusTotal Reporter for XYplorer

Posted: 27 Jun 2020 14:06
by Dean36
Can anyone post a finished script? :biggrin:

Re: [DEFUNCT] VirusTotal Reporter for XYplorer

Posted: 27 Jun 2020 19:56
by nas8e9
Although using an external utility and not a complete solution (I'm not a scripter), would using Sysinternals' Sigcheck with XYplorer's runret-command be feasible?