Fix bug #5834 (uri being nil in print_good)
git-svn-id: file:///home/svn/framework3/trunk@14057 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b016d8944e
commit
2da07d4963
|
@ -267,10 +267,11 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
# JBoss might need some time for the deployment. Try 5 times at most and
|
||||
# wait 3 seconds inbetween tries
|
||||
uri = '/' + app_base + '/' + jsp_name + '.jsp'
|
||||
num_attempts = 5
|
||||
num_attempts.times { |attempt|
|
||||
res = send_request_cgi({
|
||||
'uri' => '/' + app_base + '/' + jsp_name + '.jsp',
|
||||
'uri' => uri,
|
||||
'method' => verb
|
||||
}, 20)
|
||||
|
||||
|
|
Loading…
Reference in New Issue