Neo23x0 / munin

Online hash checker for Virustotal and other services
Apache License 2.0
809 stars 147 forks source link

Fix for #53 (debug switch not passed to getVTInfo) #54

Closed graememeyer closed 2 years ago

graememeyer commented 2 years ago

This is my suggested fix for #53, which prevents debug messages from displaying during the getVTInfo function. As noted in the issue, the while loop in getVTInfo is prone to silent failure and endless looping (#29) and the lack of debug info even when the --debug switch is applied makes it look like everything is fine if you're not familiar with the program's normal output.

The fix is simply to supply the args.debug value to the getVTInfo function, as appears to be standard elsewhere in the application.