Syntax fix
git-svn-id: file:///home/svn/framework3/trunk@13147 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
32a7eb0000
commit
9892eb39eb
|
@ -148,7 +148,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
callchain = []
|
callchain = []
|
||||||
|
|
||||||
# Adding calls by hand is tedious, look at the bottom for an explanation of these values
|
# Adding calls by hand is tedious, look at the bottom for an explanation of these values
|
||||||
add_call = Proc.new {|offset, arg1, arg2, direct = false|
|
add_call = Proc.new { |offset, arg1, arg2, direct |
|
||||||
next_offset = base_offset + (callchain.flatten.length*4)
|
next_offset = base_offset + (callchain.flatten.length*4)
|
||||||
callchain[-1][2] = next_offset if callchain.length > 0 # connect new frame to last one
|
callchain[-1][2] = next_offset if callchain.length > 0 # connect new frame to last one
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue