[DEFUNCT] VirusTotal Reporter for XYplorer

Discuss and share scripts and script files...
bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

[DEFUNCT] VirusTotal Reporter for XYplorer

Post by bdeshi »

This is not functional any more. See reason here: viewtopic.php?f=7&t=11360&p=170474#p170474

get a second opinion on suspicious files!
This script gets VirusTotal reports for selected files and displays them in a nice-ish html table, with some bells and whistles.
vtreporter1.png
vtreporter1.png (33.3 KiB) Viewed 8397 times
Features:
• as stated, gets VirusTotal reports on files.
• Results can be sorted and filtered (thanks to list.js and TheQwerty)
• Only Filename is visible initially. Fullpath is shown as tooltip.
• Links to VirusTotal's report page on that file.
If File does not exist in VirusTotal Database, then links to VT homepage instead. (so that user might upload the file a little bit easily)
• Selection is limited so that XYplorer doesn't freeze for eternity while downloading too many urls
• Links open in new IE window, so that the report stays visible.


Notes:
*) links open in new IE windows, to open them inside the scripted dialog, open the code and remove relevant target="_blank" (commented in code) .
*) don't select files larger than 64128 mb, it's a Virustotal restriction.
*) extracting an archive's contents might give better results than selecting the archive itself.


if you want a feature, if there are any mistakes, or if any problem occurs, or if you have any pointers, by all means, please let me know! :D


Current Version:
VirusTotalReporter.xys
v3.2.1
(23.96 KiB) Downloaded 453 times
[/size]
changes wrote:* fixed "URL empty" error
* warn about archived files
* all syntax warnings should be gone now.
highend has written an alternative workaround for the script-breaking "URL empty" error. Download here.


No anti-malware programs are perfect! Always be careful when dealing with suspicious files!
Attachments
virustotal_icon.zip
in case you need a button image...
(3.54 KiB) Downloaded 281 times
Last edited by bdeshi on 21 Apr 2014 19:46, edited 6 times in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin »

Cool! :appl:

:idea: And gave me the idea for a new type of Custom Column: On-Demand-Script. The column would initially only show buttons (or something clickable) in each cell, and only where you click the script would be triggered and the result written into the cell. Good?

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Of course , if you mean good = excellent!!! :D
So, for example, the virustotal reports can become sortable columns, cooool^2
:idea: And while you're at it, can you also make that button execute scripts?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin »

SammaySarkar wrote: :idea: And while you're at it, can you also make that button execute scripts?
Uhm, that was the idea. Or what you mean? :?

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Right. I was probably too excited... :lol:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: VirusTotal Reporter for XYplorer

Post by SkyFrontier »

Itching to try this one, but no time for now.
My only initial suggestion by looking at the sshots would be exactly the capability of sorting results by detection, if any. Gossip tells me a negative, but have to play a bit with the code itself to see what happens.

Great idea, anyway! Thanks for sharing it!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

SkyFrontier wrote:Itching to try this one, but no time for now.
My only initial suggestion by looking at the sshots would be exactly the capability of sorting results by detection, if any.
Great idea! Thanks.
Great idea, anyway! Thanks for sharing it!
Thanks!! :D
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: VirusTotal Reporter for XYplorer

Post by Enternal »

Oh man this is great! I was thinking of doing something like this but your version is sooo much better and better looking too! :biggrin: Thank you! :appl:

Don. That would be perfect! My initial idea was using the custom columns to dispaly the detection ratio using VirusTotal but I was having issues on how to deal with it because by design, XYplorer would attempt to do it for every file listed and that's not what you would want. Now you just need to make the button looks soo good that you want to push it.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

:D Thanks!!
And yes, clickable column buttons will be the greatest feature after custom columns.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Updated. folders are skipped now. The dialog is much shorter.
.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Updated again. List can be sorted and filtered now, thanks to TheQwerty!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin »

Great script, thanks! Nice showcase for XY's power. :appl:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Thanks! just doing my part... :D
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: VirusTotal Reporter for XYplorer

Post by bdeshi »

Recently readurl("https://www.virustotal.com/en/file/<som ... /analysis/"); started throwing "url empty" errors.
The script stops working as a result. Just a "heads up".

:evil: :evil: :evil:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: VirusTotal Reporter for XYplorer

Post by JLoftus »

Just noticed this error too. Stepping through the script, I copied the value of $vtReturn and pasted that into a browser, and got the correct result.

Any ideas on this?

Post Reply