[DEFUNCT] VirusTotal Reporter for XYplorer

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

Re: VirusTotal Reporter for XYplorer

Post by PeterH »

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: 49973
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: VirusTotal Reporter for XYplorer

Post by admin »

No chance. The URL is reported as having 0 bytes. Tried everything I know.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar »

how's the size obtained?
http header reports good content-lengths.
Attachments
vthtml_contentlen.png
vthtml_contentlen.png (18.3 KiB) Viewed 3153 times
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: VirusTotal Reporter for XYplorer

Post by admin »

HttpQueryInfo with (HTTP_QUERY_CONTENT_LENGTH | HTTP_QUERY_FLAG_NUMBER)
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

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

Re: VirusTotal Reporter for XYplorer

Post by JLoftus »

Any chance of reviving this?

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

Re: VirusTotal Reporter for XYplorer

Post by highend »

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

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar »

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:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: VirusTotal Reporter for XYplorer

Post by highend »

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 151 times
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

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

Re: VirusTotal Reporter for XYplorer

Post by PeterH »

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: 9500
Joined: 06 Feb 2011 00:33

Re: VirusTotal Reporter for XYplorer

Post by highend »

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 paypal_donate (at) stdmail (dot) de

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

Re: VirusTotal Reporter for XYplorer

Post by highend »

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

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

Re: VirusTotal Reporter for XYplorer

Post by JLoftus »

Thank you very much! :appl:

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

Re: VirusTotal Reporter for XYplorer

Post by yusef88 »

Thanks for updating

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

Re: VirusTotal Reporter for XYplorer

Post by SammaySarkar »

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!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: VirusTotal Reporter for XYplorer

Post by PeterH »

@ 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