本帖最后由 8943 于 2022-4-12 18:25 编辑 9 P/ b# d+ w" [5 I3 l8 ]9 V0 z
# D8 e5 _1 J% z- R! i" ~5 ^应该是用的wordpress的漏洞,删了2个小时。( l n2 j, {. ^6 u
9 Z! H5 [3 f( `( @3 [ S) Q- R, s, M7 \/ o生成的文件有index.php.radio.php,admin.php,还有其他几个,还有.htacess,在根目录,wp-content文件下还有个mu-plugins-old文件夹。然后基本每个文件夹下生成.htacess文件。没有wp-admin和wp-include的,就自动生成,伪装成wordpress正常文件。
2 _- P z+ A4 z9 g v+ ~, y4 p% b, p+ T, S- T
用着wordpress程序的,index.php文件里面写上程序了,能正常访问,一般发现不了。没用wordpress程序的,把原来的index.php覆盖了,访问不了,要不还发现不了。
3 F+ N+ O6 `; C' V: [. x* `% [2 C5 p" F0 {+ \6 ?: Y
/ |7 U6 l" @2 ~( R4 q- `大家没事了查查源文件。! C8 Z1 j6 I9 g! d) k( H5 n
---------------------------------------
! ?6 o7 L, o9 k ]8 S4 Q( G生成的htacess文件# M* }2 M! X% r( S
8 X% \( J4 r+ z8 @7 f! \" I% Y
<FilesMatch ".(py|exe|php)$">
, K2 q! q. l5 M* y Order allow,deny7 N6 Q" j, w) y
Deny from all
/ y$ W6 ?% F) c4 O9 r</FilesMatch>, v3 x2 }- ]( l' x1 r
<FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php|wp-l0gin.php|wp-theme.php|wp-scripts.php|wp-editor.php)$">' p6 S7 T8 v" j+ i+ y8 M) o- F6 P
Order allow,deny
" ^3 }! E7 p9 j( x( O Allow from all& h/ m, \7 L3 S# L0 P
</FilesMatch>
. L, i4 Y! z ~" X- ?9 f( h! z2 X- B<IfModule mod_rewrite.c>3 Y/ t- ^! }3 M' T
RewriteEngine On! n7 j. X' u8 F2 l3 b7 ^3 C
RewriteBase /
" c9 O7 L2 [2 ^( c, O1 ?RewriteRule ^index\.php$ - [L]
. Z6 O$ H0 p, p% sRewriteCond %{REQUEST_FILENAME} !-f; ]- J; f6 w ]1 B- I" S$ d g% x
RewriteCond %{REQUEST_FILENAME} !-d
/ M0 h7 P+ |3 q/ F; `RewriteRule . /index.php [L]* g" U/ _" l$ s/ [! W: _1 g! U
</IfModule>-----------------------------------------8 w, r: H! L# c u, K6 N1 i
正常源码上面生成的字符
2 q! P! ~7 s' c3 f( A9 z
3 y5 A% x' g- E" o
8 Z, s. y. y4 q/ l9 n+ @' r5 U& s1 n: j0 c1 s7 I( @0 _
5 C' y* T0 @# m) }$ y7 `2 _ |