1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Fxied view

git-svn-id: file:///home/svn/framework3/trunk@3992 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2006-09-28 05:58:47 +00:00
parent ab0484c7c7
commit 30bce902fe

View File

@ -1,7 +1,22 @@
<%
modidx = (params[:id] || 0).to_i
modinst = @exploits[modidx]
modlist = @exploits
modname = params[:id]
modinst = nil
if (modname)
modlist.each do |m|
if (m.refname == modname)
modinst = m
break
end
end
end
# Default to first module?
if (not modinst)
modinst = modlist[0]
modname = modinst.refname
end
%>
<table width="100%" cellspacing="0" cellpadding="0" border="0">