IP Locations

In this project, I used a cron to create a list of all failed login attempts on my server. I uploaded all the data to MySQL using a PHP script. Then, still using PHP, I searched my database for all the unique IP addresses, forwarded the addresses to an IP location API, and downloaded the "location" data. I then threw it on a map to get an idea of where the machines that were attacking me were from. The actual locations of the hacking sources are most likely not in this data, but it was a fun project nonetheless.

To view a sample of my code, click here.
IP Locations
Published:

IP Locations

Find "locations" of machines that attack my server.

Published: