Files
beef/modules/exploits/switch/dlink_dgs_1100_device_reset/module.rb
2017-02-23 19:20:13 -06:00

19 lines
463 B
Ruby

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