bash:“ Y”:找不到命令

用户名

我在Ubuntu 18.04上安装了一些工具,显然出了点问题。

有两种现象。

第一个是Ctrl+ Alt+t不会打开一个终端。为了打开终端,我需要右键单击桌面,然后按“打开新终端”按钮。

此外,每当我运行一个提示出现问题并等待答案的脚本时,该脚本就会崩溃。例如,当我运行SQLmap时,会发生以下情况:

eliko@ubuntu:~/Desktop/Tools/sqlmap$ ./sqlmap.py -u 
https://nice.app.com/[email protected]&key=cc
[4] 2652
eliko@ubuntu:~/Desktop/Tools/sqlmap$ 
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 08:46:58 /2019-12-29/

[08:46:59] [INFO] testing connection to the target URL
[08:46:59] [CRITICAL] previous heuristics detected that the target is protected by some kind of WAF/IPS
[08:46:59] [INFO] testing if the target URL content is stable
[08:46:59] [WARNING] target URL content is not stable (i.e. content differs). sqlmap will base the page comparison on a sequence matcher. If no dynamic nor injectable parameters are detected, or in case of junk results, refer to user's manual paragraph 'Page comparison'
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] Y
bash: Y: command not found

[4]+  Stopped                 ./sqlmap.py -u 

从我的理解来看,存在一个问题,即该进程是在后台创建的(不是Linux大师,但我认为是因为该进程显示“ [4] 2652”,然后继续)。

bash: Y: command not found所插入包括只击中任何字母出现错误ENTER

我假设上述问题与可能由工具安装引起的一个问题有关。

我已经尝试.bashrc通过执行来复制(我在某些线程上看到这可能有所帮助):

cp /etc/skel/.bashrc ~/.bashrc

并尝试重新启动计算机。

这是我从echo得到的输出PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

我该怎么做才能解决此问题?我无法使用任何接收输入的工具,看来bash可能出了点问题。

钢铁司机

问题可能出&在您URL中字符-这导致外壳程序将命令放在后台(如[4] 2652作业号/ pid所示)。

尝试引用URL字符串:

./sqlmap.py -u "https://nice.app.com/[email protected]&key=cc" 

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章