diff --git a/extensions/console/lib/command_dispatcher/command.rb b/extensions/console/lib/command_dispatcher/command.rb index 465dd3b8f..03c3a7787 100644 --- a/extensions/console/lib/command_dispatcher/command.rb +++ b/extensions/console/lib/command_dispatcher/command.rb @@ -53,10 +53,10 @@ class Command print_line("Module name: " + driver.interface.cmd['Name']) print_line("Module category: " + driver.interface.cmd['Category']) print_line("Module description: " + driver.interface.cmd['Description']) - print_line("Module parameters:") + print_line("Module parameters:") if not driver.interface.cmd['Data'].length == 0 driver.interface.cmd['Data'].each{|data| - print_line(data['name'] + " => \"" + data['value'].to_s + "\" # this is the " + data['ui_label'] + " parameter") + print_line(data['name'] + " => \"" + data['value'].to_s + "\" # " + data['ui_label']) } if not driver.interface.cmd['Data'].nil? end @@ -168,4 +168,4 @@ class Command end -end end end end \ No newline at end of file +end end end end diff --git a/extensions/console/lib/command_dispatcher/target.rb b/extensions/console/lib/command_dispatcher/target.rb index a7b737360..c8099383b 100644 --- a/extensions/console/lib/command_dispatcher/target.rb +++ b/extensions/console/lib/command_dispatcher/target.rb @@ -75,7 +75,7 @@ class Target folder['children'].each { |command| tbl << [command['id'].to_s, folder['text'] + "/" + command['text'].gsub(/[-\(\)]/,"").gsub(/\W+/,"_"), - command['status'], + command['status'].gsub(/^Verified /,""), driver.interface.getcommandresponses(command['id']).length] #TODO } } @@ -179,4 +179,4 @@ class Target end -end end end end \ No newline at end of file +end end end end diff --git a/extensions/console/lib/shellinterface.rb b/extensions/console/lib/shellinterface.rb index f810c042e..8e65fa61d 100644 --- a/extensions/console/lib/shellinterface.rb +++ b/extensions/console/lib/shellinterface.rb @@ -245,7 +245,7 @@ class ShellInterface 'os' => [BD.get(hook_session_id, 'OsName')]}) when BeEF::Core::Constants::CommandModule::VERIFIED_NOT_WORKING - return "Verfied Not Working" + return "Verified Not Working" when BeEF::Core::Constants::CommandModule::VERIFIED_USER_NOTIFY return "Verified User Notify" when BeEF::Core::Constants::CommandModule::VERIFIED_WORKING