< 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
This commit is contained in:
metasploit30@gmail.com
2011-09-16 19:31:00 +00:00
parent 4094984d35
commit dd3a2619a4

View File

@@ -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? '<hookURI>')