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:
parent
ab0484c7c7
commit
30bce902fe
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user