Files
2025-12-26 19:18:05 +10:00

23 lines
571 B
Ruby

#
# Copyright (c) 2006-2026 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Prompt_dialog < BeEF::Core::Command
def self.options
[
{ 'name' => 'question', 'description' => 'Prompt text', 'ui_label' => 'Prompt text' }
]
end
#
# This method is being called when a zombie sends some
# data back to the framework.
#
def post_execute
# return if @datastore['answer']==''
save({ 'answer' => @datastore['answer'] })
end
end