issue 153: better server-side console logging when binding a file to a url

git-svn-id: https://beef.googlecode.com/svn/trunk@826 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
antisnatchor
2011-04-03 18:20:59 +00:00
parent a25d8712ec
commit f040baf8df

View File

@@ -23,7 +23,7 @@ module BeEF
url = buildURL(path, extension)
@allocations[url] = {'file' => "#{root_dir}"+file, 'path' => path, 'extension' => extension, 'count' => count}
@http_server.mount(url, true, BeEF::FileHandler, @allocations[url]['file'])
puts @allocations
puts "+ File [" + "#{root_dir}"+file + "] binded to url [" + url + "]"
return url
end