How to convert CIDR to IP Range using nmap command

nmap -sL 10.0.0.12/28 | grep "Nmap scan report"

Nmap scan report for 10.0.0.0
Nmap scan report for 10.0.0.1
Nmap scan report for 10.0.0.2
Nmap scan report for 10.0.0.3
Nmap scan report for 10.0.0.4
Nmap scan report for 10.0.0.5
Nmap scan report for 10.0.0.6
Nmap scan report for 10.0.0.7
Nmap scan report for 10.0.0.8
Nmap scan report for 10.0.0.9
Nmap scan report for 10.0.0.10
Nmap scan report for 10.0.0.11
Nmap scan report for 10.0.0.12
Nmap scan report for 10.0.0.13
Nmap scan report for 10.0.0.14
Nmap scan report for 10.0.0.15

nmap -sL 10.0.0.12/28 | grep "Nmap scan report" |grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
Read the rest

WordPress Multisite default .htaccess rules

SubFolder Example

WordPress 3.0 through 3.4.2

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)
Read the rest

Popular DNS resolvers

Google DNS
Private and unfiltered. Most popular option.
8.8.8.8
8.8.4.4

Level 3 DNS
4.2.2.1
4.2.2.2

OpenDNS 
Old player that blocks malicious domains and offers the option to block adult content. 
208.67.222.222 
208.67.220.220
CloudFlare DNS
Private and unfiltered. New player.
1.1.1.1
1.0.0.1

Quad9 DNS
Private and security aware.
Read the rest