Fix targets to be more specific

bug/bundler_fix
David Maloney 2012-11-01 11:00:45 -05:00
parent 0eccfaf1bb
commit 84c8660c96
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Metasploit3 < Msf::Exploit::Remote
'Arch' => [ ARCH_X86, ARCH_X86_64 ],
'Targets' =>
[
[ 'Automatic', { } ],
[ 'Windows with Powershell', { } ],
],
'DefaultTarget' => 0,
'DisclosureDate' => 'Nov 01 2012'
@ -67,6 +67,9 @@ class Metasploit3 < Msf::Exploit::Remote
if streams['stdout'].include? 'Unrestricted'
return Msf::Exploit::CheckCode::Vulnerable
else
unless streams['stderr'] = ''
print_error streams['stderr']
end
return Msf::Exploit::CheckCode::Safe
end
end