Stupid typing error

bug/bundler_fix
David Maloney 2012-11-05 15:41:47 -06:00
parent 314026ed0e
commit 9d5ab5a66f
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Metasploit3 < Msf::Exploit::Remote
streams['stdout'].each_line do |line|
next unless line.start_with? "Version"
major_version = line.match(/\d(?=\.)/)[0]
if major_version == 1
if major_version == "1"
print_error "The target is running an older version of powershell"
return false
end