欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  网络运营

Kali sqlmap更新问题

程序员文章站 2022-04-22 10:42:00
更新时出现下面的错误:   root@kali:~# sqlmap –update   sqlmap/1.0-dev – automatic...
更新时出现下面的错误:

 

root@kali:~# sqlmap –update

 

sqlmap/1.0-dev – automatic SQL injection and database takeover tool

 

http://sqlmap.org

 

 

[!] 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 at 15:47:58

 

[15:47:59] [ERROR] not a git repository. Please checkout the ‘sqlmapproject/sqlmap’ repository from GitHub (e.g. git clone

 

https://github.com/sqlmapproject/sqlmap.git sqlmap-dev)

 

[15:47:59] [INFO] for Linux platform it’s required to install a standard ‘git’ package (e.g.: ‘sudo apt-get install git’)

 

[*] shutting down at 15:47:59

 

 

 

在kali官方论坛发现了解决办法:

Install git:

 

apt-get install git

 

Go to the sqlmap dir:

 

cd /usr/share/sqlmap

 

Initialize the repository:

 

git init

 

Point to sqlmap:

 

git remote add origin https://github.com/sqlmapproject/sqlmap.git

 

And now you should be able to use the old familiar command:

 

sqlmap –update