Search
Search Code
blocking ip range with ufw
You can block an entire IP range using CIDR (Classless Inter-Domain Routing) notation with ufw. To block all addresses under 57.141.2.x, you'd specify the network as 57.141.2.0/24.1 ..
check and block connections script
a safe diagnostic script that helps you check and analyze the connections. ⚠️ Why Automatic Blocking is a Bad Idea You could lock yourself out: An automated script ..
block ip address ranges on ubuntu linux with UFW
sudo ufw deny from 203.0.113.0/24
blocking all ips in a range
block all ips in a range // The IP prefixes you want to block. Add a dot at the end.$ip_block = ['47.79.']; foreach ($ip_block as $ip_block_val) { // Check if the user's IP address begins ..
wp simple blocks plugin
Just saving this here for later testing: This is just AI generated crap that does not work, ignore it... ;) Absolutely, let’s start fresh with a simple WordPress plugin that loads a si..
wordpress block grid code
the basic wordpress grid column layout this is a 3 col layout
simple php ip blocker
just to quickly block annoying ip addresses using an array and $_SERVER['REMOTE_ADDR'] so i woke up this morning to find 200 comments from this spam ip, here is a simple script that will block that i..
Nginx Server Block with Rewrite
Nginx Server Block with Rewrite Here is a basic nginx server block with rewrite to the index.php file. So it takes all the parameters and passes them into the index, into the variable $p or $_GE..
design nice block header
I saw this the other day and thought the color scheme looked quite nice. Ill see if i can replicate it here. @import url('https://fonts.googleapis.com/css?family=Raleway:300'); .mid-header { ..