Comments (5)
There is an endpoint in the API for getting detailed results. The problem is that the free API is very aggressively rate limited so it would literally die after checking 5 files. It is also a bit beyond the app goals (which is just to have a right click -> VT option). If you are familiar with scripting in the terminal you should have zero issues just using curl to send the request yourself (the API is pretty strait forward - check docs), but as I said you will either have to put in long timeouts or get the premium key.
from virustotaluploader.
Thanks. I recently became aware of curl though am not familiar with it. I'll have to look into this. I checked to see what the upgrade cost would be, but there's no standard cost, you have to fill out a bunch of info and get a quote I guess...not worth it. But the free API allows 4/min and 500/day, so that should work.
I've started playing a bit on that site, and from what I can tell, and thanks to your use of "endpoint" in your response, it seems the "Universal Endpoint API" section is what I need. For some reason, when I try the "Upload a file" one it keeps giving an error saying I'm uploading a file without a name. As for checking with a hash, I'm not sure which is the best way to do it. It looks like "Get a file report" and then I'd have to sift through all the results manually, as there doesn't seem to be a way to request a simple x/y report. Is that correct? Also, I'm unclear on how exactly I'm supposed to use the JSON response, i.e. when I use a curl request from a bach/PS script, how will the script see and be able to make use of it?
from virustotaluploader.
Quick Google search will show you some basic examples with curl. As for the response parsing, you will get a JSON with all the results and you will have to parse it. You can either script it through just grepping the individual AV results or you can use something like jq.
After writing the thing above I just realized I assumed we are talking about Linux command line environment which probably is not what you have in mind... There are probably some ways to do it in PowerShell (I mean it has entire C# interpreter) but at that point you are basically writing the entire app for it.
from virustotaluploader.
There are probably some ways to do it in PowerShell (I mean it has entire C# interpreter) but at that point you are basically writing the entire app for it.
Windows comes with curl, but not jq, you can get it though
when I use a curl request from a bach/PS script, how will the script see and be able to make use of it?
You can also get pwsh to parse the json natively:
((iwr 'link').Content | ConvertFrom-Json)
Whatever properties you want can follow after the )
to json query 👍 like:
((iwr 'link').Content | ConvertFrom-Json).foo.bar[0]
You prob already figured this out @vertigo220, thought it was worth a mention tho
from virustotaluploader.
I actually haven't had a chance to work on this yet, so any added info that might help when I do is appreciated.
from virustotaluploader.
Related Issues (20)
- Help: Context menu command just launches the app, doesn't upload file automatically HOT 2
- Icon in Remove Program HOT 3
- Non-latin characters looks messed up when the localization file used ANSI instead of UTF-8
- No permalink found in the response with 0.1.9 HOT 2
- No permalink found in response error HOT 1
- Have an option to integrate portable version in the context menu HOT 2
- Upload a folder HOT 6
- The latest version says it's still not signed HOT 1
- error vtu_settings.json HOT 2
- Portable version settings location in 0.2.1.
- duplicate menu [bug] HOT 5
- New installation "settings" unavailable HOT 1
- issue menu bar icon?
- installer makes the program directory read-only
- [Bug+FR] Improve handling large file sizes by using private upload url, hash search HOT 3
- unexpected suddenly close app without notice at process upload HOT 1
- Enhancement: Support multiple files at once from context menu?
- No option in windows 11 right click menu
- API Key Problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virustotaluploader.