From 7dbf2e3fcd348c54c007bfb5acc3346d3287c6f3 Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Mon, 17 Oct 2011 15:08:39 +0000 Subject: [PATCH] Apply fix by David, thx! git-svn-id: file:///home/svn/framework3/trunk@13975 4d416f70-5f16-0410-b530-b9f4589650da --- modules/exploits/osx/browser/safari_file_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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