nmap check then a quick screen capture

day=$(date +"%Y-%m-%d");

time=$(date +"%H%M");

## Scan to see if port 80 is open first.

nmap -T4 --open -Pn -P0 -n -iL $1 -p 80 -oA port80scan.$day.$time

for i in $(cat port80scan.$today.$etime.nmap | grep "scan report" | awk '{print $5}' ); do 

cutycapt --url=http://$i --out=http.cc.$i.png --out-format=png --insecure --app-version=0.1 --app-name=CHASM --delay=500 ; 

done