Ban Hackers

Back in the day, hackers were unemployed or unemployable programmers or teenagers with nothing to do.
Now days, it's criminal organizations and Programmers (with a capital P) with masters degrees hired by foreign (and not so foreign) governments to hack into every server they can find. They even try to scan every possible IP address for web servers. When they find one, somebody later tries to hack it.
So, I set up a website for them to visit. It says Coming Soon.
Then, it records their IP Address and bans it from the server with iptables. It also adds their IP Address and User Agent string to the database.

Here are the IP addresses I've banned over the last week:
BannedID IP User Agent String Date Hacked Banned Reason
42105198.199.106.4112/4/2021 07:36:24 PMSomeone tried to connect to port 21
4210423.183.83.167Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Ve12/4/2021 07:23:56 PMTried to access http ip directly.
42103192.241.197.8312/4/2021 04:10:56 PMSomeone tried to connect to port 21
4210245.83.66.62Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.012/4/2021 03:28:06 PMTried to access http ip directly.
42101195.251.41.139curl/7.58.012/4/2021 02:51:32 PMTried to access http ip directly.
4210086.227.178.76Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf12/4/2021 02:38:39 PMTried to access http ip directly.
4209952.201.226.152MMozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.2412/4/2021 02:10:42 PMEvil 404 .env (AWS vulnerability)
4209845.155.204.96masscan/1.3 (https://github.com/robertdavidgraham/masscan)12/4/2021 11:40:18 AMTried to access http ip directly.
4209723.183.83.113Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Ve12/4/2021 09:16:58 AMTried to access http ip directly.
4209634.96.130.2312/4/2021 09:10:04 AMSomeone tried to connect to port 21
4209570.37.106.128Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/512/4/2021 08:44:59 AMEvil 404 .env (AWS vulnerability)
42094167.172.248.13212/4/2021 07:25:19 AMSomeone tried to connect to port 21
42093192.241.211.12Mozilla/5.0 zgrab/0.x12/4/2021 06:53:03 AMTried to access http ip directly.
42092159.65.125.52Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) Project-Resonance (http://project-resonance.com/) (K12/4/2021 05:03:05 AMTried to access http ip directly.
4209145.155.205.233Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.1012/4/2021 04:32:53 AMTried to access http ip directly.
42090105.247.197.149Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf12/4/2021 04:13:04 AMTried to access http ip directly.
4208989.28.58.131Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa12/4/2021 03:29:06 AMTried to access http ip directly.
42088167.172.16.85Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.012/4/2021 02:23:41 AMTried to access http ip directly.
42087195.58.57.156Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa12/4/2021 02:19:33 AMTried to access http ip directly.
42086206.189.132.186Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.012/3/2021 11:50:58 PMTried to access http ip directly.
42085121.187.152.29Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8212/3/2021 11:19:05 PMEvil 404 /admin/web/index.php?lang=en
4208466.240.236.109Mozilla/5.0 zgrab/0.x12/3/2021 08:46:11 PMTried to access http ip directly.
42083192.241.214.14312/3/2021 07:56:59 PMSomeone tried to connect to port 21
42082192.42.116.2312/3/2021 07:13:11 PMSomeone tried to connect to port 21
42080192.241.213.1712/3/2021 04:10:37 PMSomeone tried to connect to port 21
4207988.100.158.189Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8212/3/2021 12:29:22 PMEvil 404 /mysql/admin/index.php?lang=en
42078167.249.102.154Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf12/3/2021 11:49:42 AMTried to access http ip directly.
42077109.248.6.8412/3/2021 10:29:30 AMSomeone tried to connect to port 21
42076107.172.100.201Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/512/3/2021 09:02:48 AMEvil 404 .env (AWS vulnerability)
42075192.241.199.106Mozilla/5.0 zgrab/0.x12/3/2021 06:52:59 AMTried to access http ip directly.
42074201.46.28.143Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa12/3/2021 03:12:32 AMTried to access http ip directly.
4207323.148.145.7libwww-perl/6.5812/3/2021 02:19:31 AMTried to access http ip directly.
42072188.127.224.137masscan/1.3 (https://github.com/robertdavidgraham/masscan)12/3/2021 12:41:28 AMTried to access http ip directly.
42071202.5.57.22Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.12/2/2021 11:13:44 PMTried to access http ip directly.
42070189.127.145.225Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa12/2/2021 10:28:16 PMTried to access http ip directly.
42069188.17.252.238Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf12/2/2021 09:12:44 PMTried to access http ip directly.
4206845.137.23.232Mozilla/5.0 zgrab/0.x12/1/2021 12:59:06 AMTried to access http ip directly.
4206792.204.129.225Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/511/30/2021 08:30:35 PMEvil 404 .env (AWS vulnerability)
42066198.199.104.22411/30/2021 08:08:02 PMSomeone tried to connect to port 21
420652.57.122.80Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.011/30/2021 06:49:52 PMEvil 404 .env (AWS vulnerability)
42064109.248.6.31masscan-ng/1.3 (https://github.com/bi-zone/masscan-ng)11/30/2021 06:22:37 PMTried to access http ip directly.
42063182.93.83.121Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa11/30/2021 06:11:57 PMTried to access http ip directly.
42062106.75.154.5311/30/2021 05:59:34 PMSomeone tried to connect to port 21
42061106.10.78.200Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8211/30/2021 04:27:04 PMEvil 404 /admin/sysadmin/index.php?lang=en
42060109.237.103.123Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/511/30/2021 03:05:27 PMEvil 404 .env (AWS vulnerability)
4205972.177.104.157Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8211/30/2021 01:54:42 PMEvil 404 /dbadmin/index.php?lang=en
4205894.102.15.34Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/511/30/2021 01:22:19 PMEvil 404 .env (AWS vulnerability)
4205745.83.65.5711/30/2021 12:32:15 PMSomeone tried to connect to port 21
42056143.198.27.16911/30/2021 10:38:36 AMSomeone tried to connect to port 21
4205534.86.35.1911/30/2021 10:30:30 AMSomeone tried to connect to port 21
42054110.171.28.3Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8211/30/2021 09:22:39 AMEvil 404 /phpmyadmin3/index.php?lang=en
42053150.107.245.158Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa11/30/2021 06:31:52 AMTried to access http ip directly.
42052168.138.21.247Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4240.1911/30/2021 04:15:43 AMEvil 404 /wp-includes/wlwmanifest.xml
42051128.199.52.249Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.011/29/2021 09:07:05 PMTried to access http ip directly.
42050176.126.74.6Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.011/29/2021 08:53:13 PMTried to access http ip directly.
42049192.241.213.5911/29/2021 07:57:22 PMSomeone tried to connect to port 21
42048159.65.145.205Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.011/29/2021 07:50:59 PMTried to access http ip directly.
42047212.102.35.151Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1667.0 S11/29/2021 01:54:05 PMTried to access http ip directly.
42046192.241.211.133Mozilla/5.0 zgrab/0.x11/29/2021 01:37:09 PMUser Agent Mozilla/5.0 zgrab/0.x
4204593.254.146.229Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf11/29/2021 01:23:12 PMTried to access http ip directly.
42044178.150.202.121Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa11/29/2021 01:11:11 PMTried to access http ip directly.
42043193.29.14.156python-requests/2.26.011/29/2021 11:44:33 AMTried to access http ip directly.
42042109.111.153.163Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf11/29/2021 11:23:13 AMTried to access http ip directly.
4204118.234.198.233Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.8511/29/2021 10:24:26 AMEvil 404 /wp-admin/css/
4204020.124.198.70Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.8511/29/2021 10:11:14 AMEvil 404 /wp-admin/css/
42039104.199.146.31Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.011/29/2021 09:37:05 AMEvil 404 /wp-login.php
4203862.233.120.26Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.011/29/2021 07:14:38 AMEvil 404 /wp-login.php
42037192.241.203.164Mozilla/5.0 zgrab/0.x11/29/2021 06:17:46 AMTried to access http ip directly.
42036193.218.118.183Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.6911/29/2021 03:01:42 AMTried to access http ip directly.
42035205.185.125.104Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.411/29/2021 01:16:08 AMTried to access http ip directly.
42034159.223.67.105Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.1311/28/2021 11:36:04 PMEvil 404 /wp-includes/wlwmanifest.xml
4203335.80.33.132Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.211/28/2021 10:51:23 PMTried to access http ip directly.
42032115.194.39.108Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa11/28/2021 09:53:30 PMTried to access http ip directly.
42031195.58.58.10Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf11/28/2021 07:40:24 PMTried to access http ip directly.
420302.56.59.64Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.011/28/2021 07:25:32 PMEvil 404 /boaform/admin/formLogin
42029192.99.19.38Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.11/28/2021 04:10:14 PMEvil 404 /wp-content/
42028212.73.75.84Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.11/28/2021 03:46:26 PMTried to access http ip directly.
42027192.241.199.7811/28/2021 03:35:19 PMSomeone tried to connect to port 21
420263.141.198.168Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/511/28/2021 03:02:03 PMTried to access http ip directly.
42025192.241.212.151Mozilla/5.0 zgrab/0.x11/28/2021 02:32:12 PMUser Agent Mozilla/5.0 zgrab/0.x
42024103.74.118.242Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.011/28/2021 01:14:59 PMEvil 404 /wp-login.php
42023185.234.231.198Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.11/28/2021 11:40:20 AMTried to access http ip directly.
4202236.92.1.31Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.011/28/2021 11:19:43 AMEvil 404 /wp-login.php
42021103.74.116.9811/28/2021 08:55:12 AMSomeone tried to connect to port 21
42020192.241.204.39Mozilla/5.0 zgrab/0.x11/28/2021 05:45:56 AMTried to access http ip directly.
42019209.141.58.179Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.411/28/2021 05:43:48 AMTried to access http ip directly.
4201866.128.254.104Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.8211/28/2021 05:18:01 AMEvil 404 /phpmyadmin1/index.php?lang=en
4201765.75.88.240Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.507211/28/2021 04:45:15 AMTried to access http ip directly.
4201654.145.230.23311/28/2021 01:20:01 AMSomeone tried to connect to port 21
42015190.83.40.130Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa11/27/2021 10:10:39 PMTried to access http ip directly.
4201478.134.114.211Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf11/27/2021 10:10:07 PMTried to access http ip directly.