Msftidy run over the recent changed+added modules
parent
7ec5f98480
commit
d18efa9599
|
@ -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 })
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue