我用的是ANHOSTING,最近wp遭攻擊怎麼的,無法登陸WP後台,於是客服給了這個鏈接http://status.midphase.com/2013/07/slan-550-91-3/
: C7 h. N b1 P! z4 p, y
0 a) p: ]/ ^' s6 a3 E5 n我自己先試試,發現我只能改個名字,別的都不會,但是步驟看起來沒有那麼複雜啊,怎麼就不會呢,
# O$ l! P6 _) b) u4 L/ b後來還是求助客服解決了問題,好像對方只花了兩分鐘時間。。。。。。. j( v) a4 N% W/ _; x. A8 d" d
哎,知之為知之,不知為不知也,so來論壇求教,要會下面的步驟,我得懂什麼啊?: T7 X5 v; [; D0 }% `+ p! w( A/ S: @
比如,You would need to replace all1 ~, ]% H% ^* J" ?$ M
instances of 「wp-login.php」 in wp-login_new.php file to 「wp-login_new.php」. 我都不知道replace哪裡的,哪裡有那些wp-login.php
% v3 m9 t& }2 W還有The easiest way,我應該在哪裡輸入編輯那一段字呢
9 T- Z9 ?4 L% R8 ]- }
' v* y2 R) L, [1 c hslan-550-91 slmp-550-28The wp-login.php script was locked on this server globally due to many bruteforces against it. If you need to login to your wordpress now use this workaround: Rename wp-login.php to something like wp-login_new.php However simple renaming will redirect you to wp-login.php still, thus some additional step should be done. You would need to replace all% s' V0 y5 D9 K. f: ]4 a
instances of 「wp-login.php」 in wp-login_new.php file to 「wp-login_new.php」. The easiest way to apply this fix would be to run via ssh the following: cd /path/to/wordpress/' A) M3 m$ ?5 u% L+ D
sed -i.backup -e "s/wp-login.php/wp-login_new.php/" ./wp-login.php
; X# ~/ E( o- E! d ?& z3 Ccp -Rp ./wp-login.php ./wp-login_new.php' m2 g' g: C% G+ Y
echo "" > ./wp-login.php ' P! S- F9 ]+ [, G) U5 [$ C
: n& y& k& X4 C* W& s2 X
7 O2 @% @2 j$ i3 _; o% |* s& i |