# # Copyright (c) 2006-2012 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Beef_bind_shell < BeEF::Core::Command def self.options return [ { 'name' => 'rhost', 'ui_label' => 'Host', 'value' => '127.0.0.1'}, { 'name' => 'rport', 'ui_label' => 'BeEF Bind Port', 'value' => '4444'}, { 'name' => 'path', 'ui_label' => 'Path', 'value' => '/'}, { 'name' => 'cmd', 'ui_label' => 'Command', 'value' => 'hostname'} ] end def post_execute save({'result' => @datastore['result']}) end end