Emergency fix: Corrected API fire error, with non inherited class calling super.
This commit is contained in:
@@ -28,7 +28,8 @@ module Handlers
|
||||
# Constructor
|
||||
#
|
||||
def initialize(klass)
|
||||
super
|
||||
# @todo Determine why this class is calling super?
|
||||
#super
|
||||
@klass = BeEF::Extension::AdminUI::Controllers.const_get(klass.to_s.capitalize)
|
||||
end
|
||||
|
||||
@@ -57,4 +58,4 @@ module Handlers
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user