[DEFUNCT] VirusTotal Reporter for XYplorer

Discuss and share scripts and script files...
PeterH
Posts: 2575
Joined: 21 Nov 2005 20:39
Location: Germany

Re: VirusTotal Reporter for XYplorer

Post by PeterH » 30 Jan 2015 15:00

JLoftus wrote: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?
Good test - but typo?

Statement:
$vtReturn = readurl("$vtURL", 1, 1, 1) ;
Var replaced:
$vtReturn = readurl("https://www.virustotal.com/en/file/54f7 ... /analysis/", 1, 1, 1) ;
This shows error: "URL empty." in XY.
The same string (contents of $vtURL) entered into Firefox returns correct result!

So XY seems to have a problem here, with readurl()!

(I assume it has worked before: I didn't use it before...)

Edit: outline var name :roll:

Edit2: tried it without NoCookies (i.e. $vtReturn = readurl("$vtURL", 0, 1, 1) ; )
:arrow: same result.
W7(x64) SP1 German
( +WXP SP3 )

admin
Site Admin
Posts: 47182
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin » 31 Jan 2015 10:38

No chance. The URL is reported as having 0 bytes. Tried everything I know.

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar » 31 Jan 2015 15:41

how's the size obtained?
http header reports good content-lengths.
Attachments
vthtml_contentlen.png
vthtml_contentlen.png (18.3 KiB) Viewed 1841 times

admin
Site Admin
Posts: 47182
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin » 01 Feb 2015 15:12

HttpQueryInfo with (HTTP_QUERY_CONTENT_LENGTH | HTTP_QUERY_FLAG_NUMBER)

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

Re: VirusTotal Reporter for XYplorer

Post by JLoftus » 07 Aug 2015 15:49

Any chance of reviving this?

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: VirusTotal Reporter for XYplorer

Post by highend » 07 Aug 2015 15:59

Still reporting "URL empty" so I guess not...
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar » 07 Aug 2015 16:23

I had an idea to fix this. Ill see how it turns out, but not possible now.

edit: the idea is to read the URL using vbscript which hopefully won't have this problem. If anybody wants to fix this, be my guest. :smile:

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: VirusTotal Reporter for XYplorer

Post by highend » 18 Aug 2015 13:09

So, here is a working version. It uses a small vbscript to get the content of the urls...
I included error handling inside the vbscript but the .xys one currently doesn't care about it. If it's necessary I'll add it...
VirusTotalReporter.zip
(8.58 KiB) Downloaded 98 times
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

PeterH
Posts: 2575
Joined: 21 Nov 2005 20:39
Location: Germany

Re: VirusTotal Reporter for XYplorer

Post by PeterH » 18 Aug 2015 13:39

Hey: thanks a lot! :D Very helpful :appl:

But: "Dubious syntax: LR"
in $selItems = trim(<selitems>,'"',LR);
:arrow: In the future please quote 'LR', too.
(For this time I changed it here local. But maybe others...)
(Seems you don't use systax checking? :whistle: )
W7(x64) SP1 German
( +WXP SP3 )

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: VirusTotal Reporter for XYplorer

Post by highend » 18 Aug 2015 14:01

But: "Dubious syntax: LR"
in $selItems = trim(<selitems>,'"',LR);
:arrow: In the future please quote 'LR', too.
That's not my code :biggrin: and I didn't revise any code that Sammay wrote...
Seems you don't use systax checking?
Em, no^^ My scripts are always flawless. By default, no exceptions! :whistle:
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: VirusTotal Reporter for XYplorer

Post by highend » 18 Aug 2015 19:28

Minor change (no warning when strict syntax checking is used)...
VirusTotalReporter.zip
(8.57 KiB) Downloaded 120 times
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: VirusTotal Reporter for XYplorer

Post by JLoftus » 19 Aug 2015 03:03

Thank you very much! :appl:

yusef88
Posts: 945
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: VirusTotal Reporter for XYplorer

Post by yusef88 » 19 Aug 2015 03:16

Thanks for updating

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar » 19 Aug 2015 05:54

hey, thanks highend! :tup: :tup:
Sorry if any of my old code caused any irritation! :kidding:

@Peter, my past self apologizes sincerely for not following syntax; (bad past-me! no TV for me! :mrgreen: )
I can't make promises, but I TRY nowadays!

PeterH
Posts: 2575
Joined: 21 Nov 2005 20:39
Location: Germany

Re: VirusTotal Reporter for XYplorer

Post by PeterH » 19 Aug 2015 10:44

@ highend and Sammay :appl: :appl: :appl:

By the way: I don't know, why I have "Syntax Checking" checked.
As I never(!) code errors :biggrin: :lol:
(At least in the previous weeks, as I didn't have time :whistle:
Just enough to check the forum...)
W7(x64) SP1 German
( +WXP SP3 )

Post Reply