Skip to content

Instantly share code, notes, and snippets.

@keithrozario
keithrozario / Keith.Test
Last active December 2, 2016 04:46
Test
Permissions for wordpress:
http://blog.johnpray.net/2013/02/wordpress-security-quickly-set-the-proper-file-and-folder-permissions/
Apt-Get Update
Install Apache
Apache Configuration
Install MySql
Mysql configuration
Install Dropbox-Uploader
http://www.thestar.com.my/news/nation/2016/12/08/bnm-you-wont-pay-dearly-for-contactless-cards-these-plastics-come-with-security-features-that-are-im/
https://www.maketecheasier.com/securing-apache-ubuntu/
https://www.maketecheasier.com/securing-apache-ubuntu/
http://askubuntu.com/questions/176964/permanently-removing-apache2
https://github.com/RoverWire/virtualhost/blob/master/virtualhost.sh
http://www.grymoire.com/Unix/Sed.html#uh-42
Use SED to modify:
-Document root to current wordpress install
-Load standard ApacheCFG from Git (optional)
-Use link above to create virtual host--might be enought...but I prefer SED
Generic Apache Config, but using SED to point Apache to $WPDIR -- best approach, as you don't have to worry about /var/www/html or other wp-config anomalies
https://www.linode.com/docs/websites/apache/apache-web-server-on-ubuntu-14-04
Thanks.
https://blog.gruntwork.io/why-we-use-terraform-and-not-chef-puppet-ansible-saltstack-or-cloudformation-7989dad2865c#.g73c4uvrd
Using DOPY to create/rebuild an image onto a machine
https://github.com/Wiredcraft/dopy
Using Fabric to run SSH Scripts
https://www.digitalocean.com/community/tutorials/how-to-use-fabric-to-automate-administration-tasks-and-deployments
Using SSH keys with Fabric
http://stackoverflow.com/questions/5327465/using-an-ssh-keyfile-with-fabric
FABRIC: http://www.fabfile.org/
Digital Ocean Libraries: https://developers.digitalocean.com/libraries/
Reviews of people who've taken the exam:
http://www.securitysift.com/offsec-pwb-oscp/ - great detail and pythong scripts
https://codemonkeyism.co.uk/the-road-to-oscp/
http://www.jasonbernier.com/oscp-review/
https://www.cybrary.it/0p3n/prep-guide-offsecs-pwkoscp/
https://itgeekchronicles.co.uk/2012/10/10/oscp-useful-resources/
http://n3ko1.github.io/certification/2015/05/27/oscp---offensive-security-certified-professional/ (very good!!)
Windows Priviledge Escalation