Open Hodgegoblin opened 3 years ago
Looks like this may be an issue with running cargo as sudo. Would it be possible to build this as the osint user?
This was able to work for me.
sudo chown -R osint:osint /usr/share/sn0int
cd /usr/share/sn0int
cargo build --release
It also looks like there are Kali packages for sn0int. Ref. https://sn0int.readthedocs.io/en/latest/install.html#debian-bullseye-ubuntu-20-04-kali
apt install debian-keyring
gpg -a --export --keyring /usr/share/keyrings/debian-maintainers.gpg git@rxv.cc | apt-key add -
apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys git@rxv.cc
echo deb http://apt.vulns.sexy stable main > /etc/apt/sources.list.d/apt-vulns-sexy.list
apt update
apt install sn0int
Was able to make this work with the original process by adding the following to /root/.cargo/config
file.
[net]
git-fetch-with-cli = true
This requires git to be install but that requirement is already met. This change allowed the build process to pull down the files required and complete the build process without changing how you had things already setup.
Describe the bug Running update-current.sh in 2021.2 vm fails to update sn0int. Appears to be due to running cargo as sudo.
To Reproduce Steps to reproduce the behavior: