From dd3a2619a49fdebf1d5eb057999f8debf4af81bf Mon Sep 17 00:00:00 2001 From: "metasploit30@gmail.com" Date: Fri, 16 Sep 2011 19:31:00 +0000 Subject: [PATCH] < File.open('./modules/browser/hook_default/bounce_to_ie.pdf',"r") > File.open('./modules/browser/hook_default/bounce_to_ie_configured.pdf',"r") git-svn-id: https://beef.googlecode.com/svn/trunk@1294 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/host/hook_default/module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/host/hook_default/module.rb b/modules/host/hook_default/module.rb index 83e3b81dc..488224ca2 100644 --- a/modules/host/hook_default/module.rb +++ b/modules/host/hook_default/module.rb @@ -28,7 +28,7 @@ class Hook_ie < BeEF::Core::Command # The original pdf file contains a token that will get replaced during the initialization with # the actual hook URI of beef. Note that the hook URI is accessed via the DNS name. - File.open('./modules/browser/hook_default/bounce_to_ie.pdf',"r") { |original_hook_file| + File.open('./modules/browser/hook_default/bounce_to_ie_configured.pdf',"r") { |original_hook_file| original_hook_file.each_line { |line| # If the line includes the hook token, then replace it with the actual hook URI if(line.include? '')