Fix VirusTotalUtility module scope

bug/bundler_fix
sinn3r 2014-01-12 16:12:25 -06:00
parent 65b50b236d
commit ffc9f652cc
1 changed files with 5 additions and 1 deletions

View File

@ -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