whenever I do searchsploit -u
I get this error?
[i] Git pull’ing
POST git-upload-pack (317 bytes)
fatal: couldn’t find remote ref master
[-] Git conflict
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
error: cannot open ‘.git/FETCH_HEAD’: Permission denied
POST git-upload-pack (317 bytes)
fatal: couldn’t find remote ref master
I tried doing git config --global init.defaultBranch main
but to no avail.
how to reproduce:
sudo pacman -S exploitdb
searchsploit -u
or
git clone https://gitlab.com/exploit-database/exploitdb.git /opt/exploit-database
ln -sf /opt/exploit-database/searchsploit /usr/local/bin/searchsploit
cp -n /opt/exploit-database/.searchsploit_rc ~/
searchsploit -u
I can’t see where is the solution in this thread
empty string is not a valid pathspec
or
https://github.com/saadmk11/changelog-ci/issues/43
or even this
https://www.spinics.net/lists/git/msg466954.html
Chilli Dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.