New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GETTING ERROR WHEN UPDATING SQLMAP #541
Comments
You have some local changes that you have to revert. Please either: A) clone/checkout the sqlmap project from the beginning (remove the old directory and recheckout) |
I have the same error even after fresh cloning. |
@dustfeather and what exact error do you get? |
[17:04:34] [INFO] updating sqlmap to the latest development version from the GitHub repository |
Are you doing this from a Windows platform? I'm assuming that the --update command invokes a git request, which will not work with Windows. or if you are on linux, make sure to add git package. |
This is happening as the user has not done the git clone from the I'll update the error message accordingly.
|
@giveen The error I pasted earlier is from Kali Linux, I do have git installed, and I don't run the default sqlmap installation Kali comes with, it's a fresh clone. |
@dustfeather it does. I see that @stamparm already answered the question. I was just throwing out ideas. |
@dustfeather message |
I don't have a space problem, and I didn't delete anything, I told you, that error appears even after fresh repo cloning. :) |
@dustfeather ok. can you please run the following commands and report back what's going on?
p.s. if you still have problems please tell me which distro are you using so I could (try to) reproduce the behavior |
Running cd ~
ln -s /usr/share/sqlmap/sqlmap.py sqlmap
./sqlmap It doesn't work, |
@dustfeather <- that's the way I like it :). Great comment on an Issue. Helped a lot |
@dustfeather please retry with the latest revision |
@stamparm Works like a charm, thanks a lot for fixing that :) |
how to fix my sqlmap outdated issue in kali linux |
python ./sqlmap.py --update
[!] 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 23:10:47
[23:10:47] [INFO] updating sqlmap to the latest development version from the GitHub repository
[23:10:47] [INFO] update in progress .
[23:10:48] [ERROR] update could not be completed ('From git github com sqlmapproject sqlmap branch HEAD FETCH_HEAD error Your local changes to the following files would be overwritten by merge txt common columns txt Please commit your changes or stash them before you can merge Aborting')
[23:10:48] [INFO] for Linux platform it's required to install a standard 'git' package (e.g.: 'sudo apt-get install git')
[*] shutting down at 23:10:48
The text was updated successfully, but these errors were encountered: