简单的SQL注入都是用id = -1,用了数字,但是MySQL有字符类型,注入方式就不同了,这篇文章来分一下类型以及注入方式。 类型参数类型 数字:select * from user where id = 1; ,1是数字。 字符:s