* Extensions: Demos: Remove unused demo assets * Extensions: Demos: Hard-code "/hook.js" hook path * Extensions: Demos: Fix copyright header format * Extensions: Demos: Modify Handler to extend the Router class
15 lines
385 B
Ruby
15 lines
385 B
Ruby
#
|
|
# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
module BeEF
|
|
module Extension
|
|
module Demos
|
|
class Handler < BeEF::Core::Router::Router
|
|
set :public_folder, File.expand_path(File.dirname(__FILE__)) + '/html/'
|
|
end
|
|
end
|
|
end
|
|
end
|