Install Phoneinfoga In Kali Linux -
echo "alias phoneinfoga='docker run -it --rm sundowndev/phoneinfoga:latest'" >> ~/.bashrc source ~/.bashrc Now you can simply type phoneinfoga from anywhere. If you prefer a native binary without Docker, you can build PhoneInfoga from source using Go. Step 1: Install Go (Golang) Kali’s default repositories may have an older version. Install the latest Go:
sudo apt install golang -y go version Note: If the version is below 1.19, consider installing manually from golang.org . Add these to your ~/.bashrc : install phoneinfoga in kali linux
chmod +x /usr/local/bin/phoneinfoga Solution: Remove the old Go version and install manually: Install the latest Go: sudo apt install golang
docker pull sundowndev/phoneinfoga:latest For source installation: Grant permissions:
export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin source ~/.bashrc git clone https://github.com/sundowndev/phoneinfoga.git cd phoneinfoga make build The binary will be located in the ./build directory. Move it to your system PATH:
sudo apt install build-essential -y Solution: On Kali, security settings may block execution. Grant permissions: