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
4296046.20.63.218Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/19/2022 02:53:53 AMTried to access http ip directly.
429593.228.25.183Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/19/2022 12:09:15 AMEvil 404 .env (AWS vulnerability)
42958192.241.205.77Mozilla/5.0 zgrab/0.x1/19/2022 12:01:47 AMTried to access http ip directly.
42957107.174.136.251Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.771/19/2022 12:00:41 AMTried to access http ip directly.
42956148.251.47.50python-requests/2.26.01/18/2022 11:53:06 PMUser Agent python-requests/2.26.0
42955179.43.183.981/18/2022 11:12:29 PMSomeone tried to connect to port 21
42954188.124.76.128Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/18/2022 11:10:09 PMTried to access http ip directly.
4295364.53.17.124Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/18/2022 07:44:59 PMTried to access http ip directly.
42952108.167.150.194Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/18/2022 12:42:00 PMEvil 404 /wp-login.php
42951103.249.25.198Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf1/18/2022 12:15:21 PMTried to access http ip directly.
4295054.194.147.72curl/7.47.01/18/2022 12:04:00 PMUser Agent curl/7.47.0
42949192.241.206.1411/18/2022 11:08:39 AMSomeone tried to connect to port 21
42948192.241.219.1771/18/2022 09:45:24 AMSomeone tried to connect to port 21
4294764.255.85.54Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)1/18/2022 06:51:35 AMTried to access http ip directly.
42946186.235.250.216Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/18/2022 06:17:34 AMTried to access http ip directly.
4294520.119.80.118Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/18/2022 05:35:56 AMEvil 404 .env (AWS vulnerability)
4294445.155.126.211Mozilla/5.0 (compatible; tchelebi/1.0; +http://tchelebi.io)1/18/2022 04:02:14 AMTried to access http ip directly.
4294361.7.184.33Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/18/2022 03:29:17 AMTried to access http ip directly.
42942178.128.116.162Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4240.191/18/2022 01:34:00 AMTried to access http ip directly.
42941195.246.120.131Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.931/18/2022 12:07:52 AMEvil 404 /wp-login.php
42940125.163.109.24Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/17/2022 11:06:46 PMTried to access http ip directly.
42939181.129.182.138Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/17/2022 09:24:45 PMTried to access http ip directly.
42938192.241.208.781/17/2022 07:17:52 PMSomeone tried to connect to port 21
42937154.209.125.35Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.01/17/2022 04:08:48 PMTried to access http ip directly.
4293662.28.184.124Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/17/2022 02:54:59 PMEvil 404 /wp-login.php
4293580.246.1.193Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/17/2022 02:09:14 PMEvil 404 /wp-login.php
42934103.114.24.9Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/17/2022 12:24:19 PMTried to access http ip directly.
42933186.33.64.146Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/17/2022 12:03:37 PMTried to access http ip directly.
42932217.101.112.203Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.821/17/2022 11:40:44 AMEvil 404 /phpmyadmin2020/index.php?lang=en
4293123.90.160.114Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.111/17/2022 10:07:10 AMTried to access http ip directly.
42930192.241.204.1251/17/2022 05:55:35 AMSomeone tried to connect to port 21
4292995.215.234.9Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/17/2022 04:15:27 AMTried to access http ip directly.
429285.149.157.152Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/17/2022 03:33:03 AMTried to access http ip directly.
4292792.204.220.69Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/17/2022 01:36:37 AMEvil 404 /wp-login.php
4292640.115.212.232Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.771/17/2022 01:16:32 AMTried to access http ip directly.
42925104.37.175.8Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/16/2022 10:44:22 PMEvil 404 .env (AWS vulnerability)
42924109.111.150.227Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/16/2022 05:54:13 PMTried to access http ip directly.
42923192.241.216.131Mozilla/5.0 zgrab/0.x1/16/2022 05:50:10 PMUser Agent Mozilla/5.0 zgrab/0.x
42922185.220.100.250Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.691/16/2022 05:31:24 PMTried to access http ip directly.
42921151.243.44.69Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/16/2022 05:30:45 PMTried to access http ip directly.
42920109.248.6.361/16/2022 03:40:15 PMSomeone tried to connect to port 21
42919198.199.105.11Mozilla/5.0 zgrab/0.x1/16/2022 02:43:44 PMUser Agent Mozilla/5.0 zgrab/0.x
4291823.224.186.1791/16/2022 02:07:12 PMSomeone tried to connect to port 21
42917180.253.187.1Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa1/16/2022 12:18:37 PMTried to access http ip directly.
429163.137.215.161Python-urllib/3.61/16/2022 12:12:46 PMUser Agent Python-urllib/3.6
42915137.59.162.202Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/16/2022 10:23:48 AMTried to access http ip directly.
42914154.89.5.811/16/2022 08:51:05 AMSomeone tried to connect to port 21
4291327.111.82.74Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/16/2022 08:30:42 AMEvil 404 /wp-login.php
4291218.134.196.771/16/2022 07:03:22 AMSomeone tried to connect to port 21
42911198.98.48.2311/16/2022 03:53:55 AMSomeone tried to connect to port 21
4291088.11.215.207Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/15/2022 04:46:02 PMEvil 404 .env (AWS vulnerability)
4290946.158.249.70Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/15/2022 03:06:01 PMTried to access http ip directly.
42908217.146.82.22Safari/3.0 (Macintosh 4.1; rv:2.0.1) Gecko/20100101 Firefox/4.4.21/15/2022 02:34:41 PMTried to access http ip directly.
4290787.243.116.210Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/15/2022 12:45:27 PMTried to access http ip directly.
4290620.77.244.155Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.101/15/2022 11:33:13 AMTried to access http ip directly.
4290591.238.89.248Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/15/2022 10:38:07 AMTried to access http ip directly.
4290446.241.55.7Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa1/15/2022 06:26:18 AMTried to access http ip directly.
42903164.92.232.94Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) Project-Resonance (http://project-resonance.com/) (K1/15/2022 06:07:55 AMTried to access http ip directly.
42902192.241.217.195Mozilla/5.0 zgrab/0.x1/15/2022 05:37:39 AMTried to access http ip directly.
42901186.33.84.23Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/15/2022 04:51:07 AMTried to access http ip directly.
42900159.223.83.157Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/15/2022 01:30:17 AMEvil 404 .env (AWS vulnerability)
42899116.236.127.186Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/14/2022 09:41:55 PMTried to access http ip directly.
42898185.180.143.141/14/2022 07:56:42 PMSomeone tried to connect to port 21
42897134.49.224.116Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/14/2022 04:55:42 PMTried to access http ip directly.
42896162.253.131.19Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/51/14/2022 02:13:29 PMEvil 404 .env (AWS vulnerability)
4289536.81.249.121Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/14/2022 12:21:52 PMTried to access http ip directly.
42894120.137.130.121Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/14/2022 08:11:40 AMTried to access http ip directly.
42893212.83.165.111Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.11/14/2022 05:02:01 AMTried to access http ip directly.
42892192.241.210.227Mozilla/5.0 zgrab/0.x1/14/2022 02:12:07 AMTried to access http ip directly.
4289194.73.11.34Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.1/14/2022 01:50:14 AMTried to access http ip directly.
42890109.248.6.109masscan-ng/1.3 (https://github.com/bi-zone/masscan-ng)1/14/2022 12:57:18 AMTried to access http ip directly.
42889112.80.139.187Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/14/2022 12:34:08 AMTried to access http ip directly.
42887171.37.36.114Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/14/2022 12:34:07 AMTried to access http ip directly.
4288839.64.188.183Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/14/2022 12:34:07 AMTried to access http ip directly.
42886101.249.62.251Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/14/2022 12:34:07 AMTried to access http ip directly.
42885101.249.60.45Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.01/14/2022 12:34:03 AMTried to access http ip directly.
42884177.126.57.10Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/13/2022 09:28:33 PMTried to access http ip directly.
42883200.24.207.81Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa1/13/2022 09:21:46 PMTried to access http ip directly.
4288291.211.89.17Mozilla/5.0 zgrab/0.x1/13/2022 08:20:05 PMTried to access http ip directly.
42881154.209.125.34Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.01/13/2022 07:37:18 PMTried to access http ip directly.
42880182.88.79.118Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/13/2022 05:20:06 PMTried to access http ip directly.
42878118.81.84.181Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/13/2022 05:20:03 PMTried to access http ip directly.
42879123.160.175.45Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/13/2022 05:20:03 PMTried to access http ip directly.
42877180.95.238.186Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/13/2022 05:20:02 PMTried to access http ip directly.
42876171.120.26.52Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Saf1/13/2022 05:20:01 PMTried to access http ip directly.
4287536.106.167.172Mozilla/5.01712517 Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome1/13/2022 05:20:01 PMTried to access http ip directly.
42874111.28.189.51curl/7.58.01/13/2022 05:19:59 PMTried to access http ip directly.
428732.136.206.241Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Saf1/13/2022 03:40:56 PMTried to access http ip directly.
42872181.136.213.234Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/13/2022 03:35:52 PMTried to access http ip directly.
42871164.92.233.210{jndi:dns://72-180-44-175.useragent.scanworld.net}1/13/2022 03:27:36 PMTried to access http ip directly.
42870213.243.195.210Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf1/13/2022 03:24:51 PMTried to access http ip directly.
4286995.38.129.17Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safa1/13/2022 02:44:29 PMTried to access http ip directly.
42868160.116.22.20Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4 240.111 Safari/1/13/2022 01:36:55 PMTried to access http ip directly.
42867198.199.113.1921/13/2022 12:15:14 PMSomeone tried to connect to port 21
42866103.63.215.26Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/13/2022 10:15:29 AMEvil 404 /wp-login.php
42865184.168.102.151Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.01/13/2022 10:07:35 AMEvil 404 /wp-login.php
42864164.90.138.35Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)1/13/2022 09:09:53 AMTried to access http ip directly.
42863104.131.92.1231/13/2022 06:57:07 AMSomeone tried to connect to port 21
42862193.3.19.72Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.631/13/2022 04:23:15 AMEvil 404 /cgi-bin/index2.asp
42861195.181.82.82Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Saf1/13/2022 03:43:20 AMTried to access http ip directly.
4286045.93.201.291/13/2022 01:06:45 AMSomeone tried to connect to port 21
42859150.129.193.52Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.881/12/2022 09:19:47 PMTried to access http ip directly.
42858192.241.208.641/12/2022 07:14:26 PMSomeone tried to connect to port 21
42857200.55.240.481/12/2022 01:54:41 PMSomeone tried to connect to port 21
42856139.59.104.661/12/2022 01:49:53 PMSomeone tried to connect to port 21
42855159.65.110.1571/12/2022 01:49:19 PMSomeone tried to connect to port 21
42854201.220.145.162Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safa1/12/2022 12:32:49 PMTried to access http ip directly.
4285389.248.165.161/12/2022 09:40:13 AMSomeone tried to connect to port 21
42852192.241.218.121/12/2022 09:35:19 AMSomeone tried to connect to port 21
42851104.152.52.191masscan/1.3 (https://github.com/robertdavidgraham/masscan)1/12/2022 09:21:07 AMTried to access http ip directly.
42850192.3.67.1771/12/2022 08:37:19 AMSomeone tried to connect to port 21
4284988.80.184.114Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.01/12/2022 07:34:57 AMTried to access http ip directly.
42848109.68.72.2341/12/2022 06:53:15 AMSomeone tried to connect to port 21
4284735.221.55.1221/12/2022 04:39:23 AMSomeone tried to connect to port 21