Bash commad “if” construction
The primaries are put between square brackets to indicate the test of a conditional expression
[ -a FILE ] True if FILE exists.… Read the rest
[ -b FILE ] True if FILE exists and is a block-special file.
Notes
The primaries are put between square brackets to indicate the test of a conditional expression
[ -a FILE ] True if FILE exists.… Read the rest
[ -b FILE ] True if FILE exists and is a block-special file.
To temporary allow connection from 123.123.123.123 for 3 days
csf -ta 123.123.123.123 3d… Read the rest
cPanel's tool:
/usr/local/cpanel/scripts/convert_mdbox_to_maildir [email protected] /usr/local/cpanel/scripts/convert_maildir_to_mdbox [email protected]
Source: https://documentation.cpanel.net/display/68Docs/The+Mailbox+Format+Conversion+Scripts#a211118e88ae4544be82cd53fc971ee3… Read the rest
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
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
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
To fix/recalculate the size of mailbox you can run below command
/scripts/generate_maildirsize --verbose --force --confirm USERNAME… Read the rest
about:config
Set browser.urlbar.trimURLs to false
browser.urlbar.trimURLs to false in about:config. --> false… Read the rest