【问题标题】:Can't find commands at the end [duplicate]最后找不到命令[重复]
【发布时间】:2018-08-29 18:36:54
【问题描述】:

我在私有 VM 上尝试了 SQL 注入并使用了 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前面放options

顺便说一句,更新、升级和重新安装都没有用。

【问题讨论】:

标签: sql linux bash sql-injection


【解决方案1】:

您需要将地址放在引号中:

sqlmap -u "http://link/index.html?page=blog&title=Blog&id=5" --random-agent

其他 you'd start one process per ampersand 在后台。

【讨论】:

    猜你喜欢
    • 2016-06-06
    • 2013-09-07
    • 2013-05-17
    • 2019-01-28
    • 2017-09-23
    • 1970-01-01
    • 1970-01-01
    • 2016-03-06
    • 2019-05-14
    相关资源
    最近更新 更多