Remove shebang, code tidy, as per @jlee-r7's gripes

bug/bundler_fix
OJ 2013-11-07 07:32:04 +10:00
parent d1e008387a
commit 6422e1d6e8
3 changed files with 83 additions and 84 deletions

View File

@ -62,8 +62,7 @@ class Console::CommandDispatcher::Extapi::Clipboard
when "-h"
print_clipboard_get_data_usage
return true
end
}
end }
# currently we only support text values
results = client.extapi.clipboard.get_data(download_content)

View File

@ -48,7 +48,7 @@ class Console::CommandDispatcher::Extapi::Window
"Enumerate the windows on the target.\n\n" +
"Enumeration returns the Process ID and Window Handle for each window\n" +
"found. The Window Handle can be used for further calls to window_enum\n" +
"or the the railgun API.\n" +
"or the railgun API.\n" +
@@window_enum_opts.usage +
"Note: Not all windows can be enumerated. An attempt to enumerate\n" +
" the children of such a window will result in a failure with the\n"+
@ -80,7 +80,7 @@ class Console::CommandDispatcher::Extapi::Window
windows = client.extapi.window.enumerate(include_unknown, parent_window)
header = parent_window.nil? ? "Top-level windows" : "Child windows of #{parent_window}"
header = parent_window ? "Child windows of #{parent_window}" : "Top-level windows"
table = Rex::Ui::Text::Table.new(
'Header' => header,