19 lines
607 B
Ruby
19 lines
607 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 Virgin_superhub_csrf < BeEF::Core::Command
|
|
def self.options
|
|
[
|
|
{ 'name' => 'base', 'ui_label' => 'Router web root', 'value' => 'http://192.168.100.1/' },
|
|
{ 'name' => 'password', 'ui_label' => 'Desired password', 'value' => '__BeEF__' },
|
|
{ 'name' => 'port', 'ui_label' => 'Desired port', 'value' => '31337' }
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
save({ 'result' => @datastore['result'] })
|
|
end
|
|
end
|