我不能用Shodan CLI。
步骤:
我尝试遵循以下步骤:Shodan CLI -官方网页
即使通过跑步:
easy_install shodan我还努力:
pip install shodan它确实安装了,但仍然不起作用,问题是我收到了以下警告错误:
WARNING: The script shodan is installed in '/home/USER/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.我还是不能让它起作用。即使是通过目录/home/USER/.local/bin
警察:
我甚至试图:
apt-get install shodan但没有找到包裹。
发布于 2022-08-19 05:53:54
您需要通过键入以下命令将目录添加到PATH目录:
export PATH=$PATH:$HOME/.local/bin或
export PATH=$PATH:/home/USER/.local/bin您还可以使用alias作为另一个选项:
alias shodan='./.local/bin/shodan'通过键入以下命令,检查shodan的目录是否列出:
alias shodan目录应该如下所示:
alias shodan='./.local/bin/shodan'这两种方法都可以在我的终端上成功地运行shodan。
我使用了以下链接作为参考:
https://stackoverflow.com/questions/73409132
复制相似问题