diff --git a/core/module.rb b/core/module.rb index 2e45a6706..5201c3a80 100644 --- a/core/module.rb +++ b/core/module.rb @@ -214,14 +214,14 @@ module Module #version check if opts.key?('ver') if subv.key?('min_ver') - if subv['min_ver'].kind_of? Fixnum and opts['ver'] >= subv['min_ver'] + if subv['min_ver'].kind_of? Fixnum and opts['ver'].to_i >= subv['min_ver'] rating += 1 else break end end if subv.key?('max_ver') - if subv['max_ver'].kind_of? Fixnum and opts['ver'] <= subv['max_ver'] + if subv['max_ver'].kind_of? Fixnum and opts['ver'].to_i <= subv['max_ver'] rating += 1 else break diff --git a/modules/browser/detect_visited_urls/config.yaml b/modules/browser/detect_visited_urls/config.yaml index ae0f5e4ce..5cd2e027d 100644 --- a/modules/browser/detect_visited_urls/config.yaml +++ b/modules/browser/detect_visited_urls/config.yaml @@ -24,18 +24,18 @@ beef: target: working: IE: - min_ver: "6" - max_ver: "7" + min_ver: 6 + max_ver: 7 FF: - min_ver: "3" - max_ver: "3" + min_ver: 3 + max_ver: 3 C: - min_ver: "1" - max_ver: "5" + min_ver: 1 + max_ver: 5 S: - min_ver: "3" - max_ver: "3" + min_ver: 3 + max_ver: 3 O: - min_ver: "1" - max_ver: "10" + min_ver: 1 + max_ver: 10 not_working: ["All"] diff --git a/modules/host/clipboard_theft/config.yaml b/modules/host/clipboard_theft/config.yaml index b34c44556..57c4c01db 100644 --- a/modules/host/clipboard_theft/config.yaml +++ b/modules/host/clipboard_theft/config.yaml @@ -24,11 +24,11 @@ beef: target: working: IE: - min_ver: "6" - max_ver: "6" + min_ver: 6 + max_ver: 6 user_notify: IE: - min_ver: "7" - max_ver: "7" + min_ver: 7 + max_ver: 7 not_working: ["All"]