Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Awake like an Owl

0E800 0E800

💭
Awake like an Owl
View GitHub Profile
@tikenn
tikenn / hulk.sh
Last active Mar 2, 2021
Download IP ban list and format for NGINX
View hulk.sh
#!/bin/bash
#
# --------------------------------------------------------------------------------------------
# Nginx IP Address Deny List download and format
# --------------------------------------------------------------------------------------------
# This file pulls from http://www.stopforumspam.com/downloads/bannedips.zip to
# retrieve a list of IPs known to be associated with spam. The program
# downloads, unzips, and formats the IP addresses into an NGINX config using
# 'deny'
#