class Netgear_dgn2200_cmd_exec < BeEF::Core::Command
def self.options
[
{ 'name' => 'rhost', 'ui_label' => 'IP address', 'value' => '10.0.0.1' },
{ 'name' => 'cmd', 'ui_label' => 'Command to execute', 'value' => '' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end