Files
beef/modules/exploits/wifi_pineapple_csrf/module.rb
2024-12-25 11:40:55 +10:00

18 lines
531 B
Ruby

#
# Copyright (c) 2006-2025 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Wifi_pineapple_csrf < BeEF::Core::Command
def self.options
[
{ 'name' => 'base', 'ui_label' => 'Router web root', 'value' => 'http://172.16.42.1:1417/' },
{ 'name' => 'password', 'ui_label' => 'Desired password', 'value' => '__BeEF__' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end