Hey Don, readurl()'s nocookie=1 caused that problem. Gives any ideas?
[DEFUNCT] VirusTotal Reporter for XYplorer
Re: VirusTotal Reporter for XYplorer
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?
Hey Don, readurl()'s nocookie=1 caused that problem. Gives any ideas?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: VirusTotal Reporter for XYplorer
The nocookies parameter sets this flag:
INTERNET_FLAG_NO_COOKIES = 0x00080000
If it makes problems don't use it.
INTERNET_FLAG_NO_COOKIES = 0x00080000
If it makes problems don't use it.
FAQ | XY News RSS | XY Twitter
Re: VirusTotal Reporter for XYplorer
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?
wie kann ich den browser in dem der report geöffnet wird, ändern?
Re: VirusTotal Reporter for XYplorer
Depending on which version you use (Sammay''s / mine), the end of the script looks like this:
or
replace the html line with
These 3 lines must be indented (by at least one space)!
Code: Select all
// OUTPUT
html("<html><head>$reportCSS</head><body>$reportHTML$hiliteJS$sortJS$filterTglJS</body></html>",
450, 600, "VirusTotal report for selected files");
// ENDOFSCRIPT
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") ;
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""";
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 365
- Joined: 14 Sep 2013 07:22
Re: VirusTotal Reporter for XYplorer
hihighend wrote: ↑07 May 2017 12:52 Depending on which version you use (Sammay''s / mine), the end of the script looks like this:orCode: Select all
// OUTPUT html("<html><head>$reportCSS</head><body>$reportHTML$hiliteJS$sortJS$filterTglJS</body></html>", 450, 600, "VirusTotal report for selected files"); // ENDOFSCRIPT
replace the html line withCode: 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") ;
These 3 lines must be indented (by at least one space)!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""";
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
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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: VirusTotal Reporter for XYplorer
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.
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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: [DEFUNCT] VirusTotal Reporter for XYplorer
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:
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.
Code: Select all
::Open("https://www.virustotal.com/gui/file/<prop #hash.sha256>/detection")
Re: [DEFUNCT] VirusTotal Reporter for XYplorer
Can anyone post a finished script?
Re: [DEFUNCT] VirusTotal Reporter for XYplorer
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?