Code: Select all
[Patterns]
Name = "kill iframe 木马"
Active = TRUE
Bounds = "$NEST(<iframe\s,</iframe>)"
Limit = 256
Match = "*width=$AV(0) & *height=$AV(0)*"
Replace = "<!---kill iframe 木马--->"
Moderator: cre
Code: Select all
[Patterns]
Name = "kill iframe 木马"
Active = TRUE
Bounds = "$NEST(<iframe\s,</iframe>)"
Limit = 256
Match = "*width=$AV(0) & *height=$AV(0)*"
Replace = "<!---kill iframe 木马--->"
请给出实际例子。不夜侯 wrote:但在实际应用中,不论width与height值为多少,都被过滤了。请问这个规则问题出在哪?谢谢!
Code: Select all
[Patterns]
Name = "kill iframe 木马"
Active = TRUE
Bounds = "$NEST(<iframe\s,</iframe>)"
Limit = 256
Match = "*(width=$AV(0) & *height=$AV(0))*"
Replace = "<!---kill iframe 木马--->"