View functions.php
<?php
//* Code goes here
add_action('wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
function enqueue_child_theme_styles() {
wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css');
}
?>
View style.css
/*
Theme Name: Child Theme
Template: twentyseventeen
*/
View Bootstrap4
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.ico">
View Fake News
newsmutiny.com
www.collective-evolution.com
realnewsrightnow.com
thedcgazette.com
addictinginfo.org
www.activistpost.com
www.duffelblog.com
70news.wordpress.com
naturalnews.com
www.coasttocoastam.com
View EXIM
# Get queue count
exim -bpc
# Display messages
exim -bp
# Display message headers
exim -Mvh <message-id>
# Display message body
View File Changes
find /home/USERNAME/public_html -type f -ctime -1 -exec ls -ls {} \; | mail -E -s "File Changes, Past 24 Hours" me@my_domain.com
View htaccess bad bot
# Click RAW button above, select all and copy (Ctrl-C) then paste (Ctrl-V) before all other rules in .htaccess file
# Wish to "deny" countries from accessing your site, see IP2Location: http://www.ip2location.com/blockvisitorsbycountry.aspx
RewriteEngine on
# Security related. Block browser access to log files
<Files ~ "\.log$">
Order allow,deny
</Files>
View Disallow execution
# Disallow execution, except for browser readable images
<FilesMatch "(^#.*#|\.(asp|bak|config|cxz|dist|exe|fla|htm|inc|ini|jsp|log|mso|php|pl|psd|py|sh|shtml|sql|sw[op]|txt)|~)$">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
View macADMIN
# macADMIN
Create a new Mac admin account by restarting the setup assistant
1. Boot into Single User Mode: `Command + S`
2. Mount the drive by typing `/sbin/mount -uw /` then `ENTER`
3. Remove the Apple Setup Done file by typing `rm /var/db/.AppleSetupDone` then `ENTER`
4. Reboot by typing `reboot` then `ENTER`
5. Complete the setup process, creating a new admin account.
View apache block list
#
RewriteEngine on
# Start Abuse Agent Blocking
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*Indy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*NEWT" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Maxthon$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SeaMonkey$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Acunetix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^binlar" [NC,OR]