diff --git a/data/msfweb/app/controllers/options_controller.rb b/data/msfweb/app/controllers/options_controller.rb new file mode 100644 index 0000000000..aaadc0256f --- /dev/null +++ b/data/msfweb/app/controllers/options_controller.rb @@ -0,0 +1,23 @@ +# +# Original version is Copyright (c) 2007 Mike Whitehead +# Added to Metasploit under the terms of the Metasploit Framework License v1.2 +# +# Description: MSFWeb Options controller (Skinning, etc) +# + +class OptionsController < ApplicationController + layout 'windows' + + def index + @force_reload = false + + p params + p cookies + + if (params[:style]) + cookies[:style] = params[:style] + @force_reload = true + end + end +end + diff --git a/data/msfweb/app/views/layouts/msfweb.rhtml b/data/msfweb/app/views/layouts/msfweb.rhtml index 0b42e79ef8..84cbae6011 100644 --- a/data/msfweb/app/views/layouts/msfweb.rhtml +++ b/data/msfweb/app/views/layouts/msfweb.rhtml @@ -1,68 +1,68 @@ - - - - - - - - Metasploit Framework Web Console <%=h ::Msf::Framework::Version %> - <%= stylesheet_link_tag "msfweb" %> - <%= stylesheet_link_tag "window-themes/default" %> - <%= stylesheet_link_tag "window-themes/metasploit" %> - <% ["prototype","effects","controls", "window", "application"].each do |js| %> - <%= javascript_include_tag js %><% end %> - - - - - - - - - -
- <%= @content_for_layout %> -
- - - - - \ No newline at end of file + + + + Metasploit Framework Web Console <%=h ::Msf::Framework::Version %> + + + + + <% ["prototype","effects","controls", "window", "application"].each do |js| %> + <%= javascript_include_tag js %><% end %> + + + + + +
+ <%= @content_for_layout %> +
+ + + + + diff --git a/data/msfweb/app/views/options/index.rhtml b/data/msfweb/app/views/options/index.rhtml new file mode 100644 index 0000000000..0fcbfc90a5 --- /dev/null +++ b/data/msfweb/app/views/options/index.rhtml @@ -0,0 +1,38 @@ +<% + if (@force_reload) + %> + + <% + end +%> +
+ + + + + + + + + + +
Style Name
+ +
+ +
+
diff --git a/data/msfweb/public/javascripts/application.js b/data/msfweb/public/javascripts/application.js index e2609ae402..0824125294 100644 --- a/data/msfweb/public/javascripts/application.js +++ b/data/msfweb/public/javascripts/application.js @@ -100,6 +100,12 @@ function openConsoleWindow() { console.showCenter(); } +function openOptionsWindow() { + var weboptions = create_window_ajax("/options", "options", "Metasploit Options", 600, 300); + weboptions.setDestroyOnClose(); + weboptions.showCenter(); +} + function openConsoleWindowSession(sid) { var console = create_window_ajax("/console?sid="+sid, "console", "Metasploit Session", 760, 300); console.setDestroyOnClose(); diff --git a/data/msfweb/public/stylesheets/skins/default/default.css b/data/msfweb/public/stylesheets/skins/default/default.css new file mode 100644 index 0000000000..779dc7c576 --- /dev/null +++ b/data/msfweb/public/stylesheets/skins/default/default.css @@ -0,0 +1,79 @@ +/* + * Copyright (c) 2007 Mike Whitehead + * Added to Metasploit under the terms of the Metasploit Framework License v1.2 + * Additions Copyright (C) 2006-2007 Metasploit LLC +*/ + +* { + margin: 0; + padding : 0; +} + +html,body { + overflow: hidden; +} + +body { + background: #444444 url(images/banner.gif) fixed center no-repeat; + font-size: 8pt; + font-family: Trebuchet, Sans, Arial, serif; +} + +body>div#menuBar { + position: relative; + top: 0px; + left: 0px; +} + +#menuBar { + height: 35px; + width: 100%; + background-color: #F4F4F4; + overflow: hidden; +} + +*:first-child+html #menuBar ul { + padding-top: 10px; +} + +#menuBar ul { + list-style-type: none; + list-style-image: none; +} + +#menuBar li { + padding-top: 10px; + padding-bottom: 10px; + display: inline; +} + +.menuButton { + line-height: 35px; + max-width: 300px; + border-right: 1px solid #DDDDDD; + padding-left: 5px; + padding-right: 10px; + background-color: inherit; + color: #000000; +} + +.menuButton:hover { + cursor: pointer; + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + padding-left: 5px; + padding-right: 10px; + background-color: #316AC5; + color: #FFFFFF; +} + +.menuButton img { + padding-right: 8px; + vertical-align: text-bottom; +} + + +div#mainContents { + padding: 0px; +} \ No newline at end of file diff --git a/data/msfweb/public/stylesheets/skins/default/images/Thumbs.db b/data/msfweb/public/stylesheets/skins/default/images/Thumbs.db new file mode 100644 index 0000000000..837df8c092 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/default/images/Thumbs.db differ diff --git a/data/msfweb/public/stylesheets/skins/default/images/banner.gif b/data/msfweb/public/stylesheets/skins/default/images/banner.gif new file mode 100644 index 0000000000..0db5e7e635 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/default/images/banner.gif differ diff --git a/data/msfweb/public/stylesheets/skins/luminous/images/Thumbs.db b/data/msfweb/public/stylesheets/skins/luminous/images/Thumbs.db new file mode 100644 index 0000000000..824353ace6 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/luminous/images/Thumbs.db differ diff --git a/data/msfweb/public/stylesheets/skins/luminous/images/banner.jpg b/data/msfweb/public/stylesheets/skins/luminous/images/banner.jpg new file mode 100644 index 0000000000..95eb219a46 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/luminous/images/banner.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back-hover.jpg b/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back-hover.jpg new file mode 100644 index 0000000000..630b754874 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back-hover.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back.jpg b/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back.jpg new file mode 100644 index 0000000000..bfdaf6bf5d Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/luminous/images/menu-button-back.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/luminous/luminous.css b/data/msfweb/public/stylesheets/skins/luminous/luminous.css new file mode 100644 index 0000000000..d3382210d1 --- /dev/null +++ b/data/msfweb/public/stylesheets/skins/luminous/luminous.css @@ -0,0 +1,75 @@ +/* + * Copyright (c) 2007 Mike Whitehead + * Added to Metasploit under the terms of the Metasploit Framework License v1.2 + * Additions Copyright (C) 2006-2007 Metasploit LLC +*/ + +html,body { + padding: 0px; + margin: 0px; + height: 100%; + width: 100%; + overflow: hidden; +} + +body { + background: #000000 url(images/banner.jpg) fixed center no-repeat; + color: #FFFFFF; + font-size: 8pt; + font-family: Trebuchet, Sans, Arial, serif; +} + +body>div#menuBar { + position: fixed; +} + +#menuBar { + width: 100px; + margin: 0px; + background: url(images/menu-button-back.jpg) repeat-y; + overflow: auto; + position: absolute; + top: 0px; + bottom: 0px; + left: 0px; +} + +#menuBar ul { + padding: 0px; + list-style-type: none; + list-style-image: none; + background: url(images/menu-button-back.jpg) repeat-y; +} + +.menuButton { + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + border-bottom: 1px solid #777777; + padding-left: 5px; + padding-right: 10px; + background-color: inherit; + color: #FFFFFF; +} + +.menuButton:hover { + cursor: pointer; + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + padding-left: 5px; + padding-right: 10px; + background: url(images/menu-button-back-hover.jpg) repeat-y; + color: #FFFFFF; +} + +.menuButton img { + padding-right: 8px; + vertical-align: text-bottom; +} + + +div#mainContents { + padding: 0px; +} + diff --git a/data/msfweb/public/stylesheets/skins/saloon/images/Thumbs.db b/data/msfweb/public/stylesheets/skins/saloon/images/Thumbs.db new file mode 100644 index 0000000000..9bdf01341a Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/saloon/images/Thumbs.db differ diff --git a/data/msfweb/public/stylesheets/skins/saloon/images/banner.gif b/data/msfweb/public/stylesheets/skins/saloon/images/banner.gif new file mode 100644 index 0000000000..d94045714a Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/saloon/images/banner.gif differ diff --git a/data/msfweb/public/stylesheets/skins/saloon/saloon.css b/data/msfweb/public/stylesheets/skins/saloon/saloon.css new file mode 100644 index 0000000000..f51176d935 --- /dev/null +++ b/data/msfweb/public/stylesheets/skins/saloon/saloon.css @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2007 Mike Whitehead + * Added to Metasploit under the terms of the Metasploit Framework License v1.2 + * Additions Copyright (C) 2006-2007 Metasploit LLC +*/ + +html,body { + padding: 35px 0px 0px 0px; + margin: 0px; + height: 100%; + width: 100%; + overflow: hidden; +} + +body { + background: #00354C url(images/banner.gif) fixed center no-repeat; + color: #FFFFFF; + font-size: 8pt; + font-family: Trebuchet, Sans, Arial, serif; +} + +body>div#menuBar { + position: fixed; +} + +#menuBar { + width: 100%; + margin: 0px; + background-color: #F4F4F4; + overflow: auto; + position: absolute; + top: 0px; + left: 0px; +} + +#menuBar ul { + padding: 0px; + list-style-type: none; + list-style-image: none; +} + +#menuBar li { + display: inline; +} + +.menuButton { + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + border-right: 1px solid #DDDDDD; + padding-left: 5px; + padding-right: 10px; + background-color: inherit; + color: #000000; +} + +.menuButton:hover { + cursor: pointer; + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + padding-left: 5px; + padding-right: 10px; + background-color: #316AC5; + color: #FFFFFF; +} + +.menuButton img { + padding-right: 8px; + vertical-align: text-bottom; +} + + +div#mainContents { + padding: 0px; +} + diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/Thumbs.db b/data/msfweb/public/stylesheets/skins/wooden/images/Thumbs.db new file mode 100644 index 0000000000..7fed6f1e68 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/Thumbs.db differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/background.jpg b/data/msfweb/public/stylesheets/skins/wooden/images/background.jpg new file mode 100644 index 0000000000..ed77fa3ed3 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/background.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/banner.gif b/data/msfweb/public/stylesheets/skins/wooden/images/banner.gif new file mode 100644 index 0000000000..a2b53c1fd6 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/banner.gif differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/menu-back.jpg b/data/msfweb/public/stylesheets/skins/wooden/images/menu-back.jpg new file mode 100644 index 0000000000..f880f8f506 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/menu-back.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover.jpg b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover.jpg new file mode 100644 index 0000000000..878cfdc03e Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover1.jpg b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover1.jpg new file mode 100644 index 0000000000..72b863d63b Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back-hover1.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back.jpg b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back.jpg new file mode 100644 index 0000000000..f880f8f506 Binary files /dev/null and b/data/msfweb/public/stylesheets/skins/wooden/images/menu-button-back.jpg differ diff --git a/data/msfweb/public/stylesheets/skins/wooden/wooden.css b/data/msfweb/public/stylesheets/skins/wooden/wooden.css new file mode 100644 index 0000000000..2c98785dd7 --- /dev/null +++ b/data/msfweb/public/stylesheets/skins/wooden/wooden.css @@ -0,0 +1,80 @@ +/* + * Copyright (c) 2007 Mike Whitehead + * Added to Metasploit under the terms of the Metasploit Framework License v1.2 + * Additions Copyright (C) 2006-2007 Metasploit LLC +*/ + +html { + background: url(images/background.jpg) repeat; +} + +html,body { + padding: 0px; + margin: 0px; + height: 100%; + width: 100%; + overflow: hidden; +} + +body { + background: url(images/banner.gif) fixed center no-repeat; + color: #FFFFFF; + font-size: 8pt; + font-family: Trebuchet, Sans, Arial, serif; +} + +body>div#menuBar { + position: fixed; +} + +#menuBar { + height: 40px; + width: 100%; + margin: 0px; + background: url(images/menu-button-back.jpg) repeat-x; + overflow: hidden; + position: absolute; + top: 0px; + left: 0px; +} + +#menuBar ul { + padding: 0px; + list-style-type: none; + list-style-image: none; +} + +#menuBar li { + display: inline; +} + +.menuButton { + max-width: 300px; + padding-top: 15px; + padding-bottom: 10px; + padding-left: 5px; + padding-right: 10px; + border-right: 1px solid #5C2A0F; + background-color: inherit; + color: #FFFFFF; +} + +.menuButton:hover { + cursor: pointer; + max-width: 300px; + padding-left: 5px; + padding-right: 10px; + background: url(images/menu-button-back-hover.jpg) repeat-x; + color: #FFFFFF; +} + +.menuButton img { + padding-right: 8px; + vertical-align: text-bottom; +} + + +div#mainContents { + padding: 0px; +} + diff --git a/data/msfweb/public/stylesheets/window-themes/default/window.css b/data/msfweb/public/stylesheets/window-themes/default/window.css new file mode 100644 index 0000000000..04396f6c9d --- /dev/null +++ b/data/msfweb/public/stylesheets/window-themes/default/window.css @@ -0,0 +1,136 @@ +/* + * 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/Thumbs.db b/data/msfweb/public/stylesheets/window-themes/default/window/Thumbs.db new file mode 100644 index 0000000000..0b1d3841b4 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/Thumbs.db differ 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 new file mode 100644 index 0000000000..7f8eb47c83 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/button-close-focused.png 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 new file mode 100644 index 0000000000..11a7ee0a42 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/button-maximize-focused.png 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 new file mode 100644 index 0000000000..80bb2b5eb6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/button-minimize-focused.png 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 new file mode 100644 index 0000000000..0b2b76bd10 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-left-focused.png 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 new file mode 100644 index 0000000000..ffa314b7ae Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-mid-focused.png 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 new file mode 100644 index 0000000000..4c9a10bb87 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/frame-bottom-right-focused.png 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 new file mode 100644 index 0000000000..667ec3fd64 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/frame-left-focused.png 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 new file mode 100644 index 0000000000..dc047c55e3 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/frame-right-focused.png 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 new file mode 100644 index 0000000000..597684a4da Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-left-shaded-focused.png 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 new file mode 100644 index 0000000000..2db8ea1e50 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-mid-shaded-focused.png 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 new file mode 100644 index 0000000000..19bdeb795c Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/default/window/titlebar-right-shaded-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/luminous/window.css b/data/msfweb/public/stylesheets/window-themes/luminous/window.css new file mode 100644 index 0000000000..cb03f85983 --- /dev/null +++ b/data/msfweb/public/stylesheets/window-themes/luminous/window.css @@ -0,0 +1,136 @@ +/* + * 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/Thumbs.db b/data/msfweb/public/stylesheets/window-themes/luminous/window/Thumbs.db new file mode 100644 index 0000000000..fb8fb4bc88 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/Thumbs.db differ 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 new file mode 100644 index 0000000000..7f8eb47c83 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-close-focused.png 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 new file mode 100644 index 0000000000..11a7ee0a42 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-maximize-focused.png 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 new file mode 100644 index 0000000000..80bb2b5eb6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/button-minimize-focused.png 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 new file mode 100644 index 0000000000..6f02bd1f32 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-bar.jpg 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 new file mode 100644 index 0000000000..ee643249b3 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-left.jpg 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 new file mode 100644 index 0000000000..ff51fc4418 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-bottom-right.jpg 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 new file mode 100644 index 0000000000..18dbaf8935 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-left.jpg 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 new file mode 100644 index 0000000000..225d5b2ef6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-right.jpg 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 new file mode 100644 index 0000000000..07aa3462db Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-bar.jpg 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 new file mode 100644 index 0000000000..70292b7021 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-left.gif 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 new file mode 100644 index 0000000000..2e30fa9ccb Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/luminous/window/window-top-right.gif differ diff --git a/data/msfweb/public/stylesheets/window-themes/saloon/window.css b/data/msfweb/public/stylesheets/window-themes/saloon/window.css new file mode 100644 index 0000000000..04b436eabf --- /dev/null +++ b/data/msfweb/public/stylesheets/window-themes/saloon/window.css @@ -0,0 +1,136 @@ +/* + * 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/Thumbs.db b/data/msfweb/public/stylesheets/window-themes/saloon/window/Thumbs.db new file mode 100644 index 0000000000..5132905e62 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/Thumbs.db differ 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 new file mode 100644 index 0000000000..bdb4e271c2 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-close-focused.gif 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 new file mode 100644 index 0000000000..b72796d53e Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-maximize-focused.gif 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 new file mode 100644 index 0000000000..2657e967ba Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/button-minimize-focused.gif 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 new file mode 100644 index 0000000000..eb642c7652 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-left-focused.gif 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 new file mode 100644 index 0000000000..9dfbc2e5fe Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-mid-focused.gif 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 new file mode 100644 index 0000000000..990fda1852 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-bottom-right-focused.gif 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 new file mode 100644 index 0000000000..25959b0f06 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-left-focused.gif 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 new file mode 100644 index 0000000000..81189c91e6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/frame-right-focused.gif 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 new file mode 100644 index 0000000000..72d22e9051 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-left-shaded-focused.gif 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 new file mode 100644 index 0000000000..1d827a761b Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-mid-shaded-focused.gif 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 new file mode 100644 index 0000000000..0125e4a946 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/saloon/window/titlebar-right-shaded-focused.gif differ diff --git a/data/msfweb/public/stylesheets/window-themes/wooden/window.css b/data/msfweb/public/stylesheets/window-themes/wooden/window.css new file mode 100644 index 0000000000..ef17860463 --- /dev/null +++ b/data/msfweb/public/stylesheets/window-themes/wooden/window.css @@ -0,0 +1,136 @@ +/* + * 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/Thumbs.db b/data/msfweb/public/stylesheets/window-themes/wooden/window/Thumbs.db new file mode 100644 index 0000000000..0b1d3841b4 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/Thumbs.db differ 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 new file mode 100644 index 0000000000..7f8eb47c83 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-close-focused.png 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 new file mode 100644 index 0000000000..11a7ee0a42 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-maximize-focused.png 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 new file mode 100644 index 0000000000..80bb2b5eb6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/button-minimize-focused.png 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 new file mode 100644 index 0000000000..0b2b76bd10 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-left-focused.png 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 new file mode 100644 index 0000000000..ffa314b7ae Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-mid-focused.png 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 new file mode 100644 index 0000000000..4c9a10bb87 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-bottom-right-focused.png 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 new file mode 100644 index 0000000000..667ec3fd64 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-left-focused.png 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 new file mode 100644 index 0000000000..dc047c55e3 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/frame-right-focused.png 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 new file mode 100644 index 0000000000..597684a4da Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-left-shaded-focused.png 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 new file mode 100644 index 0000000000..2db8ea1e50 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-mid-shaded-focused.png 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 new file mode 100644 index 0000000000..19bdeb795c Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/wooden/window/titlebar-right-shaded-focused.png differ