[% SET count = 0 %] [% WHILE (row = results.next) %] [% SET count = count + 1 %] [% END %]
Device Name Device IP Number of Ports Services Action
   3    
[% row.dns | html_entity %] [% row.ip | html_entity %] [% d.layers.substr(7,1) ? '1' : ' ' %] [% d.layers.substr(6,1) ? '2' : ' ' %] 3 [% d.layers.substr(4,1) ? '4' : ' ' %] [% d.layers.substr(3,1) ? '5' : ' ' %] [% d.layers.substr(2,1) ? '6' : ' ' %] [% d.layers.substr(1,1) ? '7' : ' ' %]