3 ms·
I use "nmap" for this. $ nmap example.com PORT STATE SERVICE 80/tcp open http 443/tcp open https 1119/tcp closed bnetgame 1935/tcp clos
by schipplock 5y ago
I use "nmap" for this.
$ nmap example.com
PORT STATE SERVICE
80/tcp open http
443/tcp open https
1119/tcp closed bnetgame
1935/tcp closed rtmp
- exciteabletom 5y agoA more complete answer using nmap and cron: MAILTO="youremail@yourdomain.com" */30 * * * * nmap yourdomain.com | grep open > nmap.log.tmp; diff nmap.log nmap.log.tmp; mv nmap.log.tmp nmap.log