<分区>
我在私有(private)虚拟机上尝试了 SQL 注入(inject)并使用了 sqlmap。不知何故命令:
sqlmap -u http://link/index.html?page=blog&title=Blog&id=5 --random-agent
给我:
[2] 16
[3] 17
-bash: --random-agent: command not found
[1] Done sqlmap -u http://link/index.html?page=blog
[3]+ Done title=Blog
但是将 --random-agent 放在第一位,然后将 -u 放在第二位,但 sqlmap 会问我:
[20:29:29] [CRITICAL] heuristics detected that the target is protected by some kind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] y
-bash: y: command not found
[1]+ Stopped sqlmap --random-agent -u http://link/index.html?page=blog
[2] Done title=Blog
为什么不能输入y,为什么要在-u前面加上选项
顺便说一句,更新、升级和重新安装都不起作用。