Last active
August 29, 2015 14:16
-
-
Save ahhh/52bf1b50b51380a06bdd to your computer and use it in GitHub Desktop.
.htaccess file for targeted payload delivery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# targeted payload htaccess | |
# no dir listing | |
IndexIgnore * | |
SetEnvIfNoCase User-Agent ".*Mozilla.*Mac.*" TARGET_UAS | |
# default deny everything, then allow exceptions | |
order Deny,Allow | |
deny from all | |
# allow targets | |
allow from env=TARGET_UAS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment