Msftidy run over the recent changed+added modules

unstable
Tod Beardsley 2012-01-24 15:52:41 -06:00
parent 7ec5f98480
commit d18efa9599
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") client.core.use("stdapi") if not client.ext.aliases.include?("stdapi")
cmd = "C:\\windows\\system32\\attrib.exe -r " + 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 }) client.sys.process.execute(cmd, nil, {'Hidden' => true })

View File

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