19 lines
463 B
Ruby
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
|