As I continue to try to learn R, I am trying to build tools that other people might find useful. Tonight with the help of Bob Rudis I built a script that will find domains with a keyword in it from DomainPunch, do a geoip lookup and map it if it is online.
Since it is time to start thinking about defcon this summer I decided to use it as my keyword for the demo.
Here are all 544 live IPs with “defcon” in it mapped:
Link to the full screen map.
Here is a CSV of the data.
Here is the source code:
As a reminder if you want to play along at home there is an RStudio docker container so all you need to do is:
docker run -d -p 8787:8787 -e USER=<username> -e PASSWORD=<password> rocker/rstudio
Learning R is turning out to be more fun than I thought it would be so expect some more blog posts! Here is a picture semi related to this blog post to make it look pretty when I share it on social media.