#!/bin/bash
cd /root/recon
echo "== signature counts =="
awk -F'\t' '{print $7}' spec_full.tsv | tr ',' '\n' | sed 's/^ *//;s/ *$//' | grep -v '^$' | sort | uniq -c | sort -rn | head -40
echo "== product x port =="
awk -F'\t' '$7!=""{print $7"|"$2}' spec_full.tsv | sort | uniq -c | sort -rn | head -40
echo "== top servers =="
awk -F'\t' '{print $5}' spec_full.tsv | sort | uniq -c | sort -rn | head -15
echo "== top titled pages =="
awk -F'\t' '$6!=""{print $6}' spec_full.tsv | sort | uniq -c | sort -rn | head -15
