20 lines
506 B
Ruby
Executable File
20 lines
506 B
Ruby
Executable File
#
|
|
# 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 Asus_rt_n66u_cmd_exec < BeEF::Core::Command
|
|
|
|
def self.options
|
|
return [
|
|
{'name' => 'base', 'ui_label' => 'Router web root', 'value' => '192.168.100.1'},
|
|
{'name' => 'exec_command', 'ui_label' => 'Command to issue', 'value' => ''}
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
save({'result' => @datastore['result']})
|
|
end
|
|
|
|
end
|