From 214751379f41a77ccbffefcade141774e68cbe4f Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Sun, 27 Mar 2011 03:56:45 +0000 Subject: [PATCH] Updated: using get_resource() instead of datastore['URIPATH'] git-svn-id: file:///home/svn/framework3/trunk@12156 4d416f70-5f16-0410-b530-b9f4589650da --- modules/exploits/windows/browser/vlc_amv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/windows/browser/vlc_amv.rb b/modules/exploits/windows/browser/vlc_amv.rb index 86fae8de72..6f2cfe3e88 100644 --- a/modules/exploits/windows/browser/vlc_amv.rb +++ b/modules/exploits/windows/browser/vlc_amv.rb @@ -129,7 +129,7 @@ class Metasploit3 < Msf::Exploit::Remote js_var_shell_name = rand_text_alpha(rand(6) + 3) js_var_nopsled_name = rand_text_alpha(rand(6) + 3) js_var_index_name = rand_text_alpha(rand(6) + 3) - trigger_file = datastore['URIPATH'] + "/" + rand_text_alpha(rand(6) + 3) + ".amv" + trigger_file = get_resource() + "/" + rand_text_alpha(rand(6) + 3) + ".amv" html = <<-EOS