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
24499102.165.126.2Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/15/2019 02:03:11 AMTried to access http ip directly.
24498177.102.93.198Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/14/2019 11:47:51 PMTried to access http ip directly.
2449746.221.46.6Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/14/2019 11:47:42 PMTried to access http ip directly.
24496159.203.201.190Mozilla/5.0 zgrab/0.x12/14/2019 10:39:13 PMTried to access http ip directly.
2449564.225.7.138Wget/1.17.112/14/2019 09:34:58 PMUser Agent Wget/1.17.1
2449454.234.118.4112/14/2019 09:08:11 PMSomeone tried to connect to port 21
244932.187.72.197Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/14/2019 08:09:18 PMTried to access http ip directly.
2449247.96.130.22Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)12/14/2019 07:44:07 PMTried to access http ip directly.
2449162.249.146.512/14/2019 05:34:25 PMSomeone tried to connect to port 21
24490139.255.113.194Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/14/2019 05:32:36 PMTried to access http ip directly.
24489159.203.201.3012/14/2019 05:31:52 PMSomeone tried to connect to port 21
24488103.28.121.26Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)12/14/2019 05:15:38 PMTried to access http ip directly.
2448795.213.176.146() { :;};echo; /bin/bash -c " echo 2014 | md5sum"12/14/2019 05:12:49 PMTried to access http ip directly.
24486201.18.41.10Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/14/2019 12:48:36 PMTried to access http ip directly.
2448554.67.31.1Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.012/14/2019 10:36:12 AMTried to access http ip directly.
24484190.192.34.34Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/14/2019 08:30:48 AMTried to access http ip directly.
24483168.181.121.2Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/14/2019 07:56:21 AMTried to access http ip directly.
24482178.239.152.151Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/14/2019 05:39:42 AMTried to access http ip directly.
24481217.60.229.138Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/14/2019 02:41:33 AMTried to access http ip directly.
24480147.0.102.194Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/14/2019 01:52:04 AMTried to access http ip directly.
24479181.231.20.80Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 11:57:23 PMTried to access http ip directly.
24478103.89.56.165Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 10:40:58 PMTried to access http ip directly.
24477103.240.161.100Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/13/2019 07:36:19 PMTried to access http ip directly.
2447681.88.249.252Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 07:14:34 PMTried to access http ip directly.
24475185.107.47.215Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.3612/13/2019 03:55:40 PMTried to access http ip directly.
24474138.0.230.154Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/13/2019 03:24:40 PMTried to access http ip directly.
2447345.227.255.224Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/75.0.3770.100 Safari/537.3612/13/2019 12:47:20 PMTried to access http ip directly.
24472104.140.188.3412/13/2019 11:54:52 AMSomeone tried to connect to port 21
24471177.92.247.244Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 09:19:33 AMTried to access http ip directly.
24470189.79.235.16Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 04:26:07 AMTried to access http ip directly.
24469188.138.128.130Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/13/2019 03:24:10 AMTried to access http ip directly.
24468177.68.234.64Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 03:12:22 AMTried to access http ip directly.
24467168.227.64.108Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/13/2019 02:27:44 AMTried to access http ip directly.
24466177.223.100.18Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 11:25:54 PMTried to access http ip directly.
24465222.87.198.38Apache-HttpClient/4.5.2 (Java/1.8.0_161)12/12/2019 05:59:37 PMEvil 404 /wp-login.php
2446478.165.234.14Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 05:04:10 PMTried to access http ip directly.
244632.33.133.118Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 05:00:50 PMTried to access http ip directly.
2446246.119.174.102Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.3612/12/2019 03:59:51 PMEvil 404 /wp-includes/wlwmanifest.xml
24461177.124.140.248Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 02:35:59 PMTried to access http ip directly.
2446092.118.37.6412/12/2019 01:55:32 PMSomeone tried to connect to port 21
24459190.96.139.109Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/12/2019 01:48:13 PMTried to access http ip directly.
24458217.255.167.9Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/12/2019 10:31:47 AMTried to access http ip directly.
24457177.38.177.18Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/12/2019 09:42:11 AMTried to access http ip directly.
24456189.89.80.13Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 05:20:23 AMTried to access http ip directly.
24455201.1.189.211Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/12/2019 05:08:38 AMTried to access http ip directly.
24454151.61.37.243Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/12/2019 04:48:21 AMTried to access http ip directly.
24453118.127.108.133Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/12/2019 04:42:59 AMTried to access http ip directly.
24452106.12.43.98Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)12/12/2019 04:01:31 AMTried to access http ip directly.
24451187.188.29.82Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/11/2019 06:49:41 PMTried to access http ip directly.
2445045.234.25.72Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/11/2019 06:32:59 PMTried to access http ip directly.
2444936.80.134.166Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/11/2019 05:45:35 PMTried to access http ip directly.
2444862.113.217.2Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/11/2019 04:40:54 PMEvil 404 /wp-login.php
24447189.68.108.177Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/11/2019 03:35:26 PMTried to access http ip directly.
24446189.68.108.177Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/11/2019 03:35:26 PMTried to access http ip directly.
24445104.131.68.92Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/11/2019 03:25:41 PMEvil 404 /wp-login.php
24444103.206.102.54Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/11/2019 03:06:45 PMTried to access http ip directly.
24443108.175.10.113Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/11/2019 02:05:13 PMEvil 404 /wp-login.php
2444245.182.137.213Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/11/2019 01:16:07 PMTried to access http ip directly.
24441148.72.209.9Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/11/2019 12:47:05 PMEvil 404 /wp-login.php
24440143.255.243.117Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/11/2019 09:08:58 AMTried to access http ip directly.
24439142.93.231.15Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/11/2019 08:45:58 AMEvil 404 /wp-login.php
2443879.101.73.137Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/11/2019 05:53:24 AMTried to access http ip directly.
24437181.236.235.180Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/11/2019 04:19:10 AMTried to access http ip directly.
24436122.162.239.8312/11/2019 02:00:21 AMSomeone tried to connect to port 21
24435201.234.253.14Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/11/2019 01:53:17 AMTried to access http ip directly.
2443485.163.87.99Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/11/2019 12:38:30 AMTried to access http ip directly.
24433103.121.57.130Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/9/2019 03:16:32 PMTried to access http ip directly.
24432202.5.60.33Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/9/2019 03:06:01 PMTried to access http ip directly.
24431106.72.169.0Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/9/2019 01:20:58 PMTried to access http ip directly.
2443092.118.161.912/9/2019 12:20:54 PMSomeone tried to connect to port 21
24429202.138.249.75Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/9/2019 12:06:18 PMTried to access http ip directly.
24428187.85.157.186Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/9/2019 11:18:45 AMTried to access http ip directly.
24427159.203.193.246Mozilla/5.0 zgrab/0.x12/9/2019 11:08:17 AMUser Agent Mozilla/5.0 zgrab/0.x
2442645.120.39.14Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/9/2019 10:44:43 AMTried to access http ip directly.
24425209.45.54.52Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/9/2019 06:17:06 AMTried to access http ip directly.
2442441.60.239.207Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/9/2019 06:01:48 AMTried to access http ip directly.
24423128.204.219.149Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/9/2019 05:27:23 AMEvil 404 /wp-login.php
24422157.230.226.61Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/9/2019 12:29:42 AMEvil 404 /wp-login.php
2442147.91.107.101Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 11:14:16 PMEvil 404 /wp-login.php
24420103.254.98.126Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/8/2019 11:07:14 PMTried to access http ip directly.
24419132.148.23.27Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 11:01:09 PMEvil 404 /wp-login.php
24418167.114.144.124Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 10:55:32 PMEvil 404 /wp-login.php
24417111.231.119.215Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 10:40:19 PMEvil 404 /wp-login.php
24416208.113.153.203Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 10:39:05 PMEvil 404 /wp-login.php
24415213.175.217.127Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 10:23:38 PMEvil 404 /wp-login.php
24414194.9.53.243Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/8/2019 10:09:50 PMTried to access http ip directly.
24413177.93.91.142Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/8/2019 09:32:42 PMTried to access http ip directly.
24412103.141.234.19Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 09:30:25 PMEvil 404 /wp-login.php
24411177.91.51.250Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.012/8/2019 08:33:21 PMEvil 404 /wp-login.php
24410124.156.50.12912/8/2019 05:53:46 PMSomeone tried to connect to port 21
24409159.203.201.70Mozilla/5.0 zgrab/0.x12/8/2019 05:52:01 PMUser Agent Mozilla/5.0 zgrab/0.x
24408109.242.209.163Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/8/2019 05:04:17 PMTried to access http ip directly.
2440762.97.195.70Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/8/2019 04:48:18 PMTried to access http ip directly.
24406179.191.54.4Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/8/2019 04:26:56 PMTried to access http ip directly.
24405177.67.8.14Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/8/2019 03:31:53 PMTried to access http ip directly.
24404104.193.236.18Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/8/2019 03:23:36 PMTried to access http ip directly.
24403187.35.240.194Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/8/2019 03:09:23 PMTried to access http ip directly.
2440247.111.28.122Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)12/8/2019 01:01:38 PMTried to access http ip directly.
2440180.82.78.104python-requests/2.22.012/8/2019 11:24:23 AMTried to access http ip directly.
2440062.175.204.234Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.3612/8/2019 10:34:51 AMTried to access http ip directly.
2439946.17.100.66masscan/1.0 (https://github.com/robertdavidgraham/masscan)12/8/2019 09:05:05 AMTried to access http ip directly.
24398103.23.237.146Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.3612/8/2019 07:46:38 AMTried to access http ip directly.
24397170.82.207.12Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.712/8/2019 07:25:35 AMTried to access http ip directly.