<% if(@sessions.length > 0) %> <% @sessions.each_pair do |n,m| %> <% end %>
ID Target Payload Exploit
<%= n %> <%= m.tunnel_peer %> <%= m.via_payload %> <%= m.via_exploit %>
<% else %> There are no active sessions, go exploit something ;-) <% end %>