Files
beef/modules/social_engineering/fake_notification_ff/module.rb
bcoles 58efd34f8c Extensions: Remove IPEC extension (#2792)
* Remove browser extension payloads from Social Engineering modules

* Extensions: Remove IPEC extension
2023-04-03 15:01:52 +10:00

23 lines
710 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
#
class Fake_notification_ff < BeEF::Core::Command
def self.options
[
{ 'name' => 'url', 'ui_label' => 'Plugin URL', 'value' => '', 'width' => '150px' },
{ 'name' => 'notification_text',
'description' => 'Text displayed in the notification bar',
'ui_label' => 'Notification text',
'value' => 'An additional plug-in is required to display some elements on this page.' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result']
save content
end
end