Rename 'System Platform' to 'Browser Platform' in UI

This commit is contained in:
bcoles
2013-02-03 05:28:49 +10:30
parent 449c6633aa
commit 8b56a147a9
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ class Modules < BeEF::Extension::AdminUI::HttpController
system_platform = BD.get(zombie_session, 'BrowserPlatform')
if not system_platform.nil?
encoded_system_platform = CGI.escapeHTML(system_platform)
encoded_system_platform_hash = { 'System Platform' => encoded_system_platform }
encoded_system_platform_hash = { 'Browser Platform' => encoded_system_platform }
page_name_row = {
'category' => 'Browser',

View File

@@ -454,7 +454,7 @@ class ShellInterface
summary_grid_hash['results'].push(page_name_row) # add the row
end
# set and add the System Platform
# set and add the Browser Platform
system_platform = BD.get(self.targetsession, 'BrowserPlatform')
if not system_platform.nil?
encoded_system_platform = CGI.escapeHTML(system_platform)