Page 4 of 4

Re: Automation Script Contest: 3 Free Salamander Licenses

Posted: 19 Jun 2011, 17:23
by otrov
The Salamander object is not available outside the Automation script, it's only accessible through the Salamander global variable. You cannot instantiate it using Dispatch or any other mechanism the language provides. What are you trying to do?
OK, thanks for information
I was trying to run in friendlier environment then editor, like some Python shell. I thought that Automation plugin acts as a COM server and is available outside Salamander while Salamander is active.

Re: Automation Script Contest: 3 Free Salamander Licenses

Posted: 08 Oct 2012, 05:01
by otrov
VirusTotal Python automation script: view or download
Uses standard Python libraries

VirusTotal has been recently acquired by Google, so it's here to stay.

Script allows virus check of suspected file, without opening browser or uploading contents. It calculates check-sum and communicates through VirusTotal API almost as suggested "by the book". In most cases suspected file is already indexed by VirusTotal:

1. If file is clean, simple dialog is shown:
Image

2. If file is reported as positive, additional check-box allows seeing the temporary result in default app for viewing .log files (Notepad):
Image Image

3. If file has not been indexed yet, upload confirmation dialog pops:
Image

and after uploading contents over HTTPS, it reports response message and link:
Image

Re: Automation Script Contest: 3 Free Salamander Licenses

Posted: 11 Dec 2019, 10:42
by tukanos
otrov wrote: 08 Oct 2012, 05:01 VirusTotal Python automation script: view or download
Uses standard Python libraries

VirusTotal has been recently acquired by Google, so it's here to stay.

Script allows virus check of suspected file, without opening browser or uploading contents. It calculates check-sum and communicates through VirusTotal API almost as suggested "by the book". In most cases suspected file is already indexed by VirusTotal:

1. If file is clean, simple dialog is shown:
Image

2. If file is reported as positive, additional check-box allows seeing the temporary result in default app for viewing .log files (Notepad):
Image Image

3. If file has not been indexed yet, upload confirmation dialog pops:
Image

and after uploading contents over HTTPS, it reports response message and link:
Image
This could come handy? The links are already broken. Could you provide fresh ones?

Re: Automation Script Contest: 3 Free Salamander Licenses

Posted: 11 Dec 2019, 18:50
by therube
Different but (Nirsoft's) HashMyFiles can opened a hashed file to virustotal (website).

Re: Automation Script Contest: 3 Free Salamander Licenses

Posted: 12 Dec 2019, 10:30
by tukanos
therube wrote: 11 Dec 2019, 18:50 Different but (Nirsoft's) HashMyFiles can opened a hashed file to virustotal (website).
Good idea, maybe I'll create an automation plugin myself. I only hate to re-invent a wheel.