1.and 用&& 代替
- H! e1 c2 y8 M, r4 D$ y. r8 l7 t* U5 G7 b/ `- H$ f
2. or 用||代替/ W" R' \& `5 h0 q8 Q, J; q1 H7 U
4 z+ a4 ~2 q2 R' G3 D) u! S3.union select from 变成 /*!union*/这种。 N) ?! Q5 ^. {7 L7 A( x& N) ?
# E7 r$ K) P; c; ?
一个例子:
5 D4 b+ I" D) K: ?% d1 p! t/ b# \, S. A
/ select 1 /*!union*/ select 2 from adad where 1&&1
6 F- ]5 P$ R5 R: l* x1 w
) J& E" C6 ]& T摘自 it_security3 K( x) y& G/ j8 ?( {
M v* |% P) F, w. Y1 P9 m
绕过waf的一个思路 }) G$ o0 o7 _, o" R- y
) _" N C3 s4 m, G# A
|