Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/exploits/router/actiontec_q1000_csrf/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
class Actiontec_q1000_csrf < BeEF::Core::Command
7
def self.options
8
[
9
{ 'name' => 'base', 'ui_label' => 'Router web root', 'value' => 'http://192.168.0.1/' },
10
{ 'name' => 'user', 'ui_label' => 'Desired username', 'value' => 'admin' },
11
{ 'name' => 'password', 'ui_label' => 'Desired password', 'value' => 'BeEF' },
12
{ 'name' => 'port', 'ui_label' => 'Desired web ui port', 'value' => '443' }
13
]
14
end
15
16
def post_execute
17
save({ 'result' => @datastore['result'] })
18
end
19
end
20
21