Metasploit mailing list archives

Framework3 IE7 bugs


From: mwhite22 at caledonian.ac.uk (Mike Whitehead)
Date: Mon, 26 Mar 2007 10:44:03 +0000

Just a bug or two needing fixed.The table rows are being used for both the header and the the content for target 
selection within the exploits window.in 
%ProgramFiles%\Metasploit\Framework3\framework\data\msfweb\app\views\exploits\view.rhtmlFind:    <tr width="100%" 
align="center">        <blockquote>        <p class="moduleTargetsText">        Select a target to continue:        <ul 
class="moduleTargets">            <% @tmod.targets.each_with_index { |tgt, idx| %>                <li><%= link_to 
h(tgt.name), :action =>  "config", :refname => @tmod.refname.gsub('/', ':'), :target => idx %></a></li>            <% } 
%>        </ul>                </p>        </blockquote>    </tr>Replace with:    <tr width="100%" align="center">      
  <td style="margin: 0px; background-color: #FFFFFF; text-align: left;">        <blockquote>        <p 
class="moduleTargetsText">        Select a target to continue:        <ul class="moduleTargets">            <% 
@tmod.targets.each_with_index { |tgt, idx| %>                <li><%= link_to h(tgt.name), :action =>  "config", 
:refname => @tmod.refname.gsub('/', ':'), :target => idx %></a></li>            <% } %>        </ul>                
</p>        </blockquote>        </td>    </tr>This will fix the grey background for target selection in IE7 and match 
it to Firefox (Untested in Opera, etc but should be fine).Another problem is when you hit the refresh button in IE7, 
MSFWeb's menu bar dies and disappears and will only reappear when you re-enter the URL. Not found a solution to that 
yet though.Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20070326/b88de5d8/attachment.htm>


Current thread: