Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho...
by pingec on Thursday June 24, 2021 @02:55AM
(#27614672)
I am super scared of accidentally exposing a port to the internet. Is there a service / tool that I could provide with a list of all my public IP machines and it would keep port scanning them periodically, sending me a report of all open ports by email each month and sending me an email each time a new port becomes open to the public internet?
[ Parent
| on HN ]
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho...
by bauruine on Thursday June 24, 2021 @05:11AM
(#27615392)
Shodan has a monitor feature. [0] I haven't used it myself but the description looks like it's about what you want.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho...
by schipplock on Thursday June 24, 2021 @04:58AM
(#27615326)
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
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho...
by exciteabletom on Thursday June 24, 2021 @08:40AM
(#27616639)
A more complete answer using nmap and cron:
MAILTO="[email protected]"
*/30 * * * * nmap yourdomain.com | grep open > nmap.log.tmp; diff nmap.log nmap.log.tmp; mv nmap.log.tmp nmap.log