WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Name: sqlmap Version: 1.4.3 Summary: Automatic SQL injection and database takeover tool Home-page: http://sqlmap.org Author: Bernardo Damele Assumpcao Guimaraes, Miroslav Stampar Author-email: bernardo@sqlmap.org, miroslav@sqlmap.org License: GNU General Public License v2 (GPLv2) Location: /home/jamie793/.local/lib/python3.5/site-packages Requires: Required-by:
#Location就是安装的位置复制下来 cd /home/jamie793/.local/lib/python3.5/site-packages/sqlmap #里面有个sqlmap.py文件直接python sqlmap.py就行了 但是每次使用都很麻烦所以我们把它添加到环境变量中下次直接使用
vim ~/.bashrc #添加下面这个到文件中 alias sqlmap='python ~/.local/lib/python3.5/site-packages/sqlmap/sqlmap.py' #然后保存退出,更新 source ~/.bashrc