diff --git a/modules/exploits/osx/browser/safari_file_policy.rb b/modules/exploits/osx/browser/safari_file_policy.rb index 555bae9835..a20649a668 100644 --- a/modules/exploits/osx/browser/safari_file_policy.rb +++ b/modules/exploits/osx/browser/safari_file_policy.rb @@ -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