Fix VirusTotalUtility module scope
parent
65b50b236d
commit
ffc9f652cc
|
@ -59,6 +59,8 @@ def print_error(msg='')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
module VirusTotalUtility
|
||||||
|
|
||||||
class ToolConfig
|
class ToolConfig
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
|
@ -545,13 +547,15 @@ class Driver
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
end # VirusTotalUtility
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# main
|
# main
|
||||||
#
|
#
|
||||||
if __FILE__ == $PROGRAM_NAME
|
if __FILE__ == $PROGRAM_NAME
|
||||||
begin
|
begin
|
||||||
driver = Driver.new
|
driver = VirusTotalUtility::Driver.new
|
||||||
if driver.opts['quick']
|
if driver.opts['quick']
|
||||||
driver.scan_by_checksum
|
driver.scan_by_checksum
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue