diff --git a/data/msfweb/app/views/exploits/config.rhtml b/data/msfweb/app/views/exploits/config.rhtml index f214157a97..e0f0bcdcf5 100644 --- a/data/msfweb/app/views/exploits/config.rhtml +++ b/data/msfweb/app/views/exploits/config.rhtml @@ -9,18 +9,18 @@ case opt.class.to_s when 'Msf::OptEnum' - ret = '' + "\n" opt.enums.sort.each do |val| sel = (val == defval) ? 'SELECTED' : '' - ret << '\n" + ret << '\n" end ret << "\n" ret else - '' + '' end end @@ -120,17 +120,17 @@ EXPLOIT - <%= @tmod.refname %> + <%= h @tmod.refname %> TARGET - <%= @target.name %> + <%= h @target.name %> PAYLOAD - <%= @payload_name %> + <%= h @payload_name %> @@ -147,11 +147,11 @@ next if (option.advanced?) next if (option.evasion?) %> - <%= name %> + <%= h name %> <%= (option.required?) ? "Required" : "" %> - <%= html_escape(option.desc) %> (type: <%= option.type %>) + <%= h option.desc %> (type: <%= h option.type %>) <%= draw_option('eopt_'+h(name), option) %> @@ -161,11 +161,11 @@ next if (option.advanced?) next if (option.evasion?) %> - <%= name %> + <%= h name %> <%= (option.required?) ? "Required" : "" %> - <%= html_escape(option.desc) %> (type: <%= option.type %>) + <%= h option.desc %> (type: <%= h option.type %>) <%= draw_option('popt_'+h(name), option) %> @@ -183,11 +183,11 @@ <% @tmod.options.sort.each { |name, option| next if not option.advanced? %> - <%= name %> + <%= h name %> <%= (option.required?) ? "Required" : "" %> - <%= html_escape(option.desc) %> (type: <%= option.type %>) + <%= h option.desc %> (type: <%= h option.type %>) <%= draw_option('eopt_'+h(name), option) %> @@ -196,11 +196,11 @@ <% @payload_inst.options.sort.each { |name, option| next if not option.advanced? %> - <%= name %> + <%= h name %> <%= (option.required?) ? "Required" : "" %> - <%= html_escape(option.desc) %> (type: <%= option.type %>) + <%= h option.desc %> (type: <%= h option.type %>) <%= draw_option('popt_'+h(name), option) %> @@ -222,7 +222,7 @@ <%= (option.required?) ? "Required" : "" %> - <%= html_escape(option.desc) %> (type: <%= option.type %>) + <%= h option.desc %> (type: <%= h option.type %>) <%= draw_option('eopt_'+h(name), option) %> @@ -231,7 +231,7 @@ <% @payload_inst.options.sort.each { |name, option| next if not option.evasion? %> - <%= name %> + <%= h name %> <%= (option.required?) ? "Required" : "" %> @@ -249,9 +249,11 @@ <% if @exploit_console %> - + <% if params[:consoleOpen] and params[:consoleOpen] == "direct" %> + window.location="/console/index/<%= @exploit_console %>" + <% else %> + window.parent.openConsoleWindowExploit(<%= @exploit_console %>); + <% end %> <% end %> <% end %> diff --git a/data/msfweb/public/stylesheets/msfconsole.css b/data/msfweb/public/stylesheets/msfconsole.css deleted file mode 100644 index 54964d7959..0000000000 --- a/data/msfweb/public/stylesheets/msfconsole.css +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2006 LMH - * Added to Metasploit under the terms of the Metasploit Framework License v1.2 - * Additions Copyright (C) 2006-2007 Metasploit LLC -*/ - -html,body { - width: 100%; - height: 100%; - background: #000000; - color: #eeeeee; - font-family: monospace, console, fixed, terminal; - font-size: 11px; -} - -#console_window { - background: #000000; - padding: 1em; -} - -#console_output { - width: 100%; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - background: #000000; -} - -.output_line { - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} - - -#input { - width: 100%; - border: none; - padding: 0; - background: #000000; - font-size: 11px; -} - -.input { - font-family: monospace, console, fixed, terminal; - background: #000000; - border: 0; - color: white; - width: 600px; - overflow: hidden; - font-size: 11px; -} - -.prompt { - color: white; - font-family: monospace, console, fixed, terminal; - text-align: right; - font-size: 11px; -} - -#console_command_bar { - background: #000000; - margin-top: 1em; -} - -#console_input { - font-size: 11px; - font-family: monospace, console, fixed, terminal; -} - -#console_status { - color: #fff; - font-family: monospace; - font-size: 12px; - text-transform: smallcaps; -} diff --git a/data/msfweb/public/stylesheets/msfide.css b/data/msfweb/public/stylesheets/msfide.css deleted file mode 100644 index 2b4e6dd0a7..0000000000 --- a/data/msfweb/public/stylesheets/msfide.css +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2006, LMH - * All Rights Reserved. - */ - -body { - font-family: Trebuchet, Sans, Arial, serif; -} - -#logo { - text-align: center; - margin-bottom: 1em; -} - -#spinner { - float: right; -} - -.motto { - font-size: 140%; - text-align: center; - margin-top: 0; - font-family: 'Trebuchet MS', Trebuchet, Sans, Arial, serif; - text-transform: lowercase; -} - -#footer { - clear:both; - font-size: 70%; - width: 100%; - margin-top: 1em; - text-align: center; -} - -.wizard_page { - padding: 1em; - background: #ddd; - border: 1px solid #ccc; - width: 50%; - margin: 0px auto; -} - -.wizard_page .error { - background: #fff; - padding: 0.2em; - border: 1px solid #C82536; -} - -.wizard_page img { - border: 0; -} - -.wizard_page a { - text-decoration: none; - color: #000; -} - -.wizard_subs { - float: right; - font-size: 75%; -} - -.wizard_subs a { - text-decoration: none; - color: #3366FF; -} diff --git a/data/msfweb/public/stylesheets/msfsession.css b/data/msfweb/public/stylesheets/msfsession.css deleted file mode 100644 index 431a6108f9..0000000000 --- a/data/msfweb/public/stylesheets/msfsession.css +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (c) 2006, LMH - * All Rights Reserved. - * - * Standards compliant: - * Valid, warning-free CSS: http://jigsaw.w3.org/css-validator - */ - -html,body { - width: 100%; - height: 100%; - background: #000000; - color: #eeeeee; - font-family: fixed; - font-size: 12px; -} - -#session_window { - background: #000000; - padding: 1em; -} - -#session_output { - width: 100%; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - background: #000000; -} - -.output_line { - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} - - -#input { - width: 100%; - border: none; - padding: 0; - background: #000000; -} - -.input { - font: inherit; - font-family: fixed; - background: #000000; - border: 0; - color: white; - width: 600px; - overflow: hidden; - font-size: 12px; -} - -.prompt { - color: white; - font: inherit; - text-align: right; - font-family: fixed; - font-size: 12px; -} - -#session_command_bar { - background: #000000; -} - -#session_status { - color: #fff; - font-family: monospace; - font-size: 12px; - text-transform: smallcaps; -} diff --git a/data/msfweb/public/stylesheets/window-themes/default/window.css b/data/msfweb/public/stylesheets/window-themes/default/window.css deleted file mode 100644 index 04396f6c9d..0000000000 --- a/data/msfweb/public/stylesheets/window-themes/default/window.css +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Theme ported by L.M.H. - */ -.overlay_metasploit { - background-color: #85BBEF; - filter:alpha(opacity=60); - -moz-opacity: 0.6; - opacity: 0.6; -} - -.metasploit_nw { - background: transparent url(/stylesheets/window-themes/default/window/titlebar-left-shaded-focused.png) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_n { - background: transparent url(/stylesheets/window-themes/default/window/titlebar-mid-shaded-focused.png) repeat-x 0 0; - height:23px; -} -.metasploit_ne { - background: transparent url(/stylesheets/window-themes/default/window/titlebar-right-shaded-focused.png) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_w { - background: transparent url(/stylesheets/window-themes/default/window/frame-left-focused.png) repeat-y top left; - width:5px; -} - -.metasploit_e { - background: transparent url(/stylesheets/window-themes/default/window/frame-right-focused.png) repeat-y top right; - width:5px; -} - -.metasploit_sw { - background: transparent url(/stylesheets/window-themes/default/window/frame-bottom-left-focused.png) no-repeat 0 0; - width:5px; - height:5px; -} -.metasploit_s { - background: transparent url(/stylesheets/window-themes/default/window/frame-bottom-mid-focused.png) repeat-x 0 0; - height:5px; -} -.metasploit_se, .metasploit_sizer { - background: transparent url(/stylesheets/window-themes/default/window/frame-bottom-right-focused.png) no-repeat 0 0; - width:5px; - height:5px; -} - -.metasploit_sizer { - cursor:se-resize; -} - -.metasploit_close { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/default/window/button-close-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:5px; - cursor:pointer; - z-index:1000; -} - -.metasploit_minimize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/default/window/button-minimize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:26px; - cursor:pointer; - z-index:1000; -} - -.metasploit_maximize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/default/window/button-maximize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:47px; - cursor:pointer; - z-index:1000; -} - - -.metasploit_title { - float:left; - height:14px; - font-size:12px; - text-align:center; - margin-top:2px; - width:100%; - color:#FFF; -} - -.metasploit_content { - overflow:auto; - color: #444; - font-family: Trebuchet, Sans, Arial; - font-size: 14px; - background:#ddd; -} - -.top_draggable, .bottom_draggable { - cursor:move; -} - -.status_bar { - font-size:12px; -} -.status_bar input{ - font-size:12px; -} -/* DO NOT CHANGE THESE VALUES*/ -.dialog { - display: block; - position: absolute; -} - -.dialog table.table_window { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin: 0px; - padding:0px; -} - -.dialog table.table_window td , .dialog table.table_window th { - padding: 0; -} - -.dialog .title_window { - -moz-user-select:none; -} diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/button-close-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/button-close-focused.png deleted file mode 100644 index 7f8eb47c83..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/button-close-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/button-maximize-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/button-maximize-focused.png deleted file mode 100644 index 11a7ee0a42..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/button-maximize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/button-minimize-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/button-minimize-focused.png deleted file mode 100644 index 80bb2b5eb6..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/button-minimize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-left-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-left-focused.png deleted file mode 100644 index 0b2b76bd10..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-left-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-mid-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-mid-focused.png deleted file mode 100644 index ffa314b7ae..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-mid-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-right-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-right-focused.png deleted file mode 100644 index 4c9a10bb87..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-right-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/frame-left-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/frame-left-focused.png deleted file mode 100644 index 667ec3fd64..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/frame-left-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/frame-right-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/frame-right-focused.png deleted file mode 100644 index dc047c55e3..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/frame-right-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-left-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-left-shaded-focused.png deleted file mode 100644 index 597684a4da..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-left-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-mid-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-mid-shaded-focused.png deleted file mode 100644 index 2db8ea1e50..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-mid-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-right-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-right-shaded-focused.png deleted file mode 100644 index 19bdeb795c..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-right-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window.css b/data/msfweb/public/stylesheets/window-themes/luminous/window.css deleted file mode 100644 index cb03f85983..0000000000 --- a/data/msfweb/public/stylesheets/window-themes/luminous/window.css +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Theme created by Mike Whitehead - */ -.overlay_metasploit { - background-color: #85BBEF; - filter:alpha(opacity=60); - -moz-opacity: 0.6; - opacity: 0.6; -} - -.metasploit_nw { - background: transparent url(/stylesheets/window-themes/luminous/window/window-top-left.gif) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_n { - background: transparent url(/stylesheets/window-themes/luminous/window/window-top-bar.jpg) repeat-x 0 0; - height:23px; -} -.metasploit_ne { - background: transparent url(/stylesheets/window-themes/luminous/window/window-top-right.gif) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_w { - background: transparent url(/stylesheets/window-themes/luminous/window/window-left.jpg) repeat-y top left; - width:5px; -} - -.metasploit_e { - background: transparent url(/stylesheets/window-themes/luminous/window/window-right.jpg) repeat-y top right; - width:5px; -} - -.metasploit_sw { - background: transparent url(/stylesheets/window-themes/luminous/window/window-bottom-left.jpg) no-repeat 0 0; - width:5px; - height:5px; -} -.metasploit_s { - background: transparent url(/stylesheets/window-themes/luminous/window/window-bottom-bar.jpg) repeat-x 0 0; - height:5px; -} -.metasploit_se, .metasploit_sizer { - background: transparent url(/stylesheets/window-themes/luminous/window/window-bottom-right.jpg) no-repeat 0 0; - width:5px; - height:5px; -} - -.metasploit_sizer { - cursor:se-resize; -} - -.metasploit_close { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/luminous/window/button-close-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:5px; - cursor:pointer; - z-index:1000; -} - -.metasploit_minimize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/luminous/window/button-minimize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:26px; - cursor:pointer; - z-index:1000; -} - -.metasploit_maximize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/luminous/window/button-maximize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:47px; - cursor:pointer; - z-index:1000; -} - - -.metasploit_title { - float:left; - height:14px; - font-size:12px; - text-align:center; - margin-top:2px; - width:100%; - color:#FFF; -} - -.metasploit_content { - overflow:auto; - color: #444; - font-family: Trebuchet, Sans, Arial; - font-size: 14px; - background:#ddd; -} - -.top_draggable, .bottom_draggable { - cursor:move; -} - -.status_bar { - font-size:12px; -} -.status_bar input{ - font-size:12px; -} -/* DO NOT CHANGE THESE VALUES*/ -.dialog { - display: block; - position: absolute; -} - -.dialog table.table_window { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin: 0px; - padding:0px; -} - -.dialog table.table_window td , .dialog table.table_window th { - padding: 0; -} - -.dialog .title_window { - -moz-user-select:none; -} diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-close-focused.png b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-close-focused.png deleted file mode 100644 index 7f8eb47c83..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-close-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-maximize-focused.png b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-maximize-focused.png deleted file mode 100644 index 11a7ee0a42..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-maximize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-minimize-focused.png b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-minimize-focused.png deleted file mode 100644 index 80bb2b5eb6..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/button-minimize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-bar.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-bar.jpg deleted file mode 100644 index 6f02bd1f32..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-bar.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-left.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-left.jpg deleted file mode 100644 index ee643249b3..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-left.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-right.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-right.jpg deleted file mode 100644 index ff51fc4418..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-right.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-left.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-left.jpg deleted file mode 100644 index 18dbaf8935..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-left.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-right.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-right.jpg deleted file mode 100644 index 225d5b2ef6..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-right.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-bar.jpg b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-bar.jpg deleted file mode 100644 index 07aa3462db..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-bar.jpg and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-left.gif b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-left.gif deleted file mode 100644 index 70292b7021..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-left.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-right.gif b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-right.gif deleted file mode 100644 index 2e30fa9ccb..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-right.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window.css b/data/msfweb/public/stylesheets/window-themes/saloon/window.css deleted file mode 100644 index 04b436eabf..0000000000 --- a/data/msfweb/public/stylesheets/window-themes/saloon/window.css +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Theme ported by L.M.H. - */ -.overlay_metasploit { - background-color: #85BBEF; - filter:alpha(opacity=60); - -moz-opacity: 0.6; - opacity: 0.6; -} - -.metasploit_nw { - background: transparent url(/stylesheets/window-themes/saloon/window/titlebar-left-shaded-focused.gif) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_n { - background: transparent url(/stylesheets/window-themes/saloon/window/titlebar-mid-shaded-focused.gif) repeat-x 0 0; - height:23px; -} -.metasploit_ne { - background: transparent url(/stylesheets/window-themes/saloon/window/titlebar-right-shaded-focused.gif) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_w { - background: transparent url(/stylesheets/window-themes/saloon/window/frame-left-focused.gif) repeat-y top left; - width:5px; -} - -.metasploit_e { - background: transparent url(/stylesheets/window-themes/saloon/window/frame-right-focused.gif) repeat-y top right; - width:5px; -} - -.metasploit_sw { - background: transparent url(/stylesheets/window-themes/saloon/window/frame-bottom-left-focused.gif) no-repeat 0 0; - width:5px; - height:5px; -} -.metasploit_s { - background: transparent url(/stylesheets/window-themes/saloon/window/frame-bottom-mid-focused.gif) repeat-x 0 0; - height:5px; -} -.metasploit_se, .metasploit_sizer { - background: transparent url(/stylesheets/window-themes/saloon/window/frame-bottom-right-focused.gif) no-repeat 0 0; - width:5px; - height:5px; -} - -.metasploit_sizer { - cursor:se-resize; -} - -.metasploit_close { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/saloon/window/button-close-focused.gif) no-repeat 0 0; - position:absolute; - top:0px; - right:5px; - cursor:pointer; - z-index:1000; -} - -.metasploit_minimize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/saloon/window/button-minimize-focused.gif) no-repeat 0 0; - position:absolute; - top:0px; - right:26px; - cursor:pointer; - z-index:1000; -} - -.metasploit_maximize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/saloon/window/button-maximize-focused.gif) no-repeat 0 0; - position:absolute; - top:0px; - right:47px; - cursor:pointer; - z-index:1000; -} - - -.metasploit_title { - float:left; - height:14px; - font-size:12px; - text-align:center; - margin-top:2px; - width:100%; - color:#FFF; -} - -.metasploit_content { - overflow:auto; - color: #444; - font-family: Trebuchet, Sans, Arial; - font-size: 14px; - background:#ddd; -} - -.top_draggable, .bottom_draggable { - cursor:move; -} - -.status_bar { - font-size:12px; -} -.status_bar input{ - font-size:12px; -} -/* DO NOT CHANGE THESE VALUES*/ -.dialog { - display: block; - position: absolute; -} - -.dialog table.table_window { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin: 0px; - padding:0px; -} - -.dialog table.table_window td , .dialog table.table_window th { - padding: 0; -} - -.dialog .title_window { - -moz-user-select:none; -} diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-close-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-close-focused.gif deleted file mode 100644 index bdb4e271c2..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-close-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-maximize-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-maximize-focused.gif deleted file mode 100644 index b72796d53e..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-maximize-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-minimize-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-minimize-focused.gif deleted file mode 100644 index 2657e967ba..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/button-minimize-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-left-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-left-focused.gif deleted file mode 100644 index eb642c7652..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-left-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-mid-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-mid-focused.gif deleted file mode 100644 index 9dfbc2e5fe..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-mid-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-right-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-right-focused.gif deleted file mode 100644 index 990fda1852..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-right-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-left-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-left-focused.gif deleted file mode 100644 index 25959b0f06..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-left-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-right-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-right-focused.gif deleted file mode 100644 index 81189c91e6..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-right-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-left-shaded-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-left-shaded-focused.gif deleted file mode 100644 index 72d22e9051..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-left-shaded-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-mid-shaded-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-mid-shaded-focused.gif deleted file mode 100644 index 1d827a761b..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-mid-shaded-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-right-shaded-focused.gif b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-right-shaded-focused.gif deleted file mode 100644 index 0125e4a946..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-right-shaded-focused.gif and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window.css b/data/msfweb/public/stylesheets/window-themes/wooden/window.css deleted file mode 100644 index ef17860463..0000000000 --- a/data/msfweb/public/stylesheets/window-themes/wooden/window.css +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Theme ported by L.M.H. - */ -.overlay_metasploit { - background-color: #85BBEF; - filter:alpha(opacity=60); - -moz-opacity: 0.6; - opacity: 0.6; -} - -.metasploit_nw { - background: transparent url(/stylesheets/window-themes/wooden/window/titlebar-left-shaded-focused.png) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_n { - background: transparent url(/stylesheets/window-themes/wooden/window/titlebar-mid-shaded-focused.png) repeat-x 0 0; - height:23px; -} -.metasploit_ne { - background: transparent url(/stylesheets/window-themes/wooden/window/titlebar-right-shaded-focused.png) no-repeat 0 0; - width:10px; - height:23px; -} -.metasploit_w { - background: transparent url(/stylesheets/window-themes/wooden/window/frame-left-focused.png) repeat-y top left; - width:5px; -} - -.metasploit_e { - background: transparent url(/stylesheets/window-themes/wooden/window/frame-right-focused.png) repeat-y top right; - width:5px; -} - -.metasploit_sw { - background: transparent url(/stylesheets/window-themes/wooden/window/frame-bottom-left-focused.png) no-repeat 0 0; - width:5px; - height:5px; -} -.metasploit_s { - background: transparent url(/stylesheets/window-themes/wooden/window/frame-bottom-mid-focused.png) repeat-x 0 0; - height:5px; -} -.metasploit_se, .metasploit_sizer { - background: transparent url(/stylesheets/window-themes/wooden/window/frame-bottom-right-focused.png) no-repeat 0 0; - width:5px; - height:5px; -} - -.metasploit_sizer { - cursor:se-resize; -} - -.metasploit_close { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/wooden/window/button-close-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:5px; - cursor:pointer; - z-index:1000; -} - -.metasploit_minimize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/wooden/window/button-minimize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:26px; - cursor:pointer; - z-index:1000; -} - -.metasploit_maximize { - width: 26px; - height: 23px; - background: transparent url(/stylesheets/window-themes/wooden/window/button-maximize-focused.png) no-repeat 0 0; - position:absolute; - top:0px; - right:47px; - cursor:pointer; - z-index:1000; -} - - -.metasploit_title { - float:left; - height:14px; - font-size:12px; - text-align:center; - margin-top:2px; - width:100%; - color:#FFF; -} - -.metasploit_content { - overflow:auto; - color: #444; - font-family: Trebuchet, Sans, Arial; - font-size: 14px; - background:#ddd; -} - -.top_draggable, .bottom_draggable { - cursor:move; -} - -.status_bar { - font-size:12px; -} -.status_bar input{ - font-size:12px; -} -/* DO NOT CHANGE THESE VALUES*/ -.dialog { - display: block; - position: absolute; -} - -.dialog table.table_window { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin: 0px; - padding:0px; -} - -.dialog table.table_window td , .dialog table.table_window th { - padding: 0; -} - -.dialog .title_window { - -moz-user-select:none; -} diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-close-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-close-focused.png deleted file mode 100644 index 7f8eb47c83..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-close-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-maximize-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-maximize-focused.png deleted file mode 100644 index 11a7ee0a42..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-maximize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-minimize-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-minimize-focused.png deleted file mode 100644 index 80bb2b5eb6..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/button-minimize-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-left-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-left-focused.png deleted file mode 100644 index 0b2b76bd10..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-left-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-mid-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-mid-focused.png deleted file mode 100644 index ffa314b7ae..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-mid-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-right-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-right-focused.png deleted file mode 100644 index 4c9a10bb87..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-right-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-left-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-left-focused.png deleted file mode 100644 index 667ec3fd64..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-left-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-right-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-right-focused.png deleted file mode 100644 index dc047c55e3..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-right-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-left-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-left-shaded-focused.png deleted file mode 100644 index 597684a4da..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-left-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-mid-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-mid-shaded-focused.png deleted file mode 100644 index 2db8ea1e50..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-mid-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-right-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-right-shaded-focused.png deleted file mode 100644 index 19bdeb795c..0000000000 Binary files a/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-right-shaded-focused.png and /dev/null differ diff --git a/data/msfweb/public/stylesheets/windows.css b/data/msfweb/public/stylesheets/windows.css deleted file mode 100644 index 3336b4ad22..0000000000 --- a/data/msfweb/public/stylesheets/windows.css +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Copyright (c) 2006 LMH - * Added to Metasploit under the terms of the Metasploit Framework License v1.2 - * Additions Copyright (C) 2006-2007 Metasploit LLC -*/ - -body { - background: #fff; - color: #000; - font-family: Sans, Arial, sans-serif; - font-size: 10pt; -} - -thead { - background: #DCDCDC; - color: #5E5E5E; - border: 1px solid #858585; -} - -table { - background: #FAFAFA; - color: #000; -} - -table .itemTitle { - background: #666666 url(/images/bullet_go.png) left no-repeat; - color: #fff; - padding-top: 6px; - padding-right: 6px; - padding-bottom: 6px; - padding-left: 16px; - text-align: center; - border: 1px solid #AAAAAA; -} - -table .itemTitle:hover { - background: #404040 url(/images/bullet_wrench.png) left no-repeat; - color: #fff; -} - - - -table .itemTitle a, -table .itemTitle a:hover { - color: #fff; - background-color: inherit; - text-decoration: none; - font-size: 9pt; -} - -table .itemDescription { - background: #EDEDED; - color: #000; - padding: 5px; - border: 1px solid #ccc; -} - -table .itemDescription:hover { - background: #CAE1FF; - color: #000; -} - - -table .moduleTitle { - padding-top: 1em; - color: black; -} - -table .moduleTitle img { - float: right; -} -table .moduleTitle a { - color: #444444; - background-color: inherit; - text-decoration: none; - font-size: 16px; - font-weight: bold; - float: left; -} - -table .moduleTitle a:hover { - color: #444444; - background-color: #faffab; - font-size: 16px; - font-weight: bold; - float: left; -} - -table .moduleDescription { - background: #EDEDED; - color: #000; - padding: 5px; - border: 1px solid #ccc; - text-align: justify; - font-size: 12px; -} - - -#module-search-box span { - font-variant: small-caps; - font-weight: bold; - font-size: 18px; - text-align: center; - color: #444444; - padding-left: 25px; -} - -#module-search-box input { -/* - background-image: url(/images/zoom.png); - background-position: 5px; - background-repeat: no-repeat; - padding-left: 2em; - height: 18px; -*/ - padding: 2px 2px 2px 6px; - border: 1px solid #444; - background: #eeeeee; -} - -#search_results { - padding-top: 1em; -} - -table.moduleInfo tr td { - -} - -p.moduleName { - color: #444444; - background-color: inherit; - text-decoration: none; - font-size: 16px; - font-weight: bold; - text-align: center; -} - -p.moduleError { - background-color: inherit; - text-decoration: none; - font-size: 14px; - font-weight: bold; - text-align: center; - color: red; -} - -p.moduleName .moduleVersion { - font-size: 9px; -} - -p.moduleDescription { - background: #EDEDED; - color: #000; - padding: 5px; - border: 1px solid #ccc; - text-align: justify; - font-size: 10pt; -} - -.moduleReferences { - list-style: circle; -} - -.moduleTargetsText { - list-style: circle; - font-weight: bold; - background: #333333; - color: white; - padding: 0.25em; -} - -.moduleTargets { - list-style: circle; - font-weight: bold; -} - -.moduleIcons { - float: left; -} - -th.moduleOptionsHeader { - background: #ddd; - color: #000; - text-transform: uppercase; - margin-top: 1em; - margin-bottom: 1em; -} - -.item_row_col_a { - background: white; - padding: 0.25em; -} - -.item_row_col_b { - background: #eeeeee; - padding: 0.25em; -} - -.opt_name { - font-weight: bold; -} - -.opt_required { - color: red; -}