Msftidy run over the recent changed+added modules

unstable
Tod Beardsley 2012-01-24 15:52:41 -06:00
parent 7ec5f98480
commit f6a6963726
6 changed files with 11 additions and 11 deletions

View File

@ -78,7 +78,7 @@ class Metasploit3 < Msf::Exploit::Remote
client.core.use("stdapi") if not client.ext.aliases.include?("stdapi")
cmd = "C:\\windows\\system32\\attrib.exe -r " +
"C:\\windows\\system32\\wbem\\mof\\good\\" + @var_mof_name + ".mof"
"C:\\windows\\system32\\wbem\\mof\\good\\" + @var_mof_name + ".mof"
client.sys.process.execute(cmd, nil, {'Hidden' => true })

View File

@ -321,7 +321,7 @@ class Metasploit3 < Msf::Exploit::Remote
return xml
end
def u3d_pad(str, char="\x00")
def u3d_pad(str, char="\x00")
len = str.length % 4
if (len > 0)
#puts "Adding %d pad bytes" % (4 - len)