Skip to content

Instantly share code, notes, and snippets.

View alexander-bock's full-sized avatar

Alexander Bock alexander-bock

View GitHub Profile
@alexander-bock
alexander-bock / WordPress Security
Created September 11, 2019 19:39
WordPress Security
#This file includes common security considerations for wordpress using nginx.
if ($request_method !~ ^(GET|POST|HEAD)$ ) {return 444;}
location ~* wp-admin/includes { deny all; }
location ~* wp-includes/theme-compat/ { deny all; }
location ~* wp-includes/js/tinymce/langs/.*.php { deny all; }
location = /xmlrpc.php { deny all; }
#Deny access to wp-content folders for suspicious files
@alexander-bock
alexander-bock / Bash Bunny by Hak5
Created September 11, 2019 19:32
Bash Bunny by Hak5
_____ _____ _____ _____ _____ _____ _____ _____ __ __
(\___/) | __ || _ || __|| | | | __ || | || | || | || | |
(='.'=) | __ -|| ||__ || | | __ -|| | || | | || | | ||_ _|
(")_(") |_____||__|__||_____||__|__| |_____||_____||_|___||_|___| |_|
Bash Bunny by Hak5 USB Attack/Automation Platform
-+- QUICK REFERENCE GUIDE v1.4 -+-