Apply fix by David, thx!
git-svn-id: file:///home/svn/framework3/trunk@13975 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
@@ -271,7 +271,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
# Returns the configured (or random, if not configured) URI path
|
||||
#
|
||||
def resource_uri
|
||||
path = datastore['URIPATH'] || random_uri
|
||||
path = datastore['URIPATH'] || rand_text_alphanumeric(8+rand(8))
|
||||
path = '/' + path if path !~ /^\//
|
||||
datastore['URIPATH'] = path
|
||||
return path
|
||||
|
||||
Reference in New Issue
Block a user