我用的是ANHOSTING,最近wp遭攻擊怎麼的,無法登陸WP後台,於是客服給了這個鏈接http://status.midphase.com/2013/07/slan-550-91-3/
7 m1 M! \: N$ l0 E- [; l
8 B, h8 C& u4 s% z1 {- d3 L* v我自己先試試,發現我只能改個名字,別的都不會,但是步驟看起來沒有那麼複雜啊,怎麼就不會呢,
2 G4 D, Y7 c8 S9 J後來還是求助客服解決了問題,好像對方只花了兩分鐘時間。。。。。。( c) ] r; J7 J
哎,知之為知之,不知為不知也,so來論壇求教,要會下面的步驟,我得懂什麼啊?
& ~' d% G* T4 c4 u比如,You would need to replace all
f6 f! s6 V: T b8 dinstances of 「wp-login.php」 in wp-login_new.php file to 「wp-login_new.php」. 我都不知道replace哪裡的,哪裡有那些wp-login.php
/ v: E( _# _ u$ B還有The easiest way,我應該在哪裡輸入編輯那一段字呢
4 M( \# O7 ^# Y: m% |" T
+ C, Q0 x l" D, @" xslan-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
1 O. B( Z! F# r# o! H0 b! [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/6 \: s) q c. g, L! E4 c8 e. l) Z
sed -i.backup -e "s/wp-login.php/wp-login_new.php/" ./wp-login.php1 v( L, D: x; L4 b4 F2 M" J, E
cp -Rp ./wp-login.php ./wp-login_new.php1 |* ~ }3 t& o- ], q/ N: c1 K
echo "" > ./wp-login.php : o5 P0 m4 a0 c- f6 x9 `
( \( Q. R$ n, J8 N% B" W( K: y( k& f- u% y5 @; K2 U7 |9 q
|