trufflesecurity / trufflehog

Find, verify, and analyze leaked credentials
https://trufflesecurity.com
GNU Affero General Public License v3.0
17.29k stars 1.71k forks source link

I've downloaded the following trufflehog version 3.13.0 and when I try to run a scan in MAC trufflehog git https://AlienInvasion/ I get the following fatal error - FATA[0000] error occured with trufflehog updater 🐷 error="cannot move binary (exit status 1)" #834

Closed aragonna closed 2 years ago

aragonna commented 2 years ago

I've downloaded the following trufflehog version 3.13.0 and when I try to run a scan in MAC

trufflehog git https://AlienInvasion/

I get the following fatal error

FATA[0000] error occured with trufflehog updater 🐷 error="cannot move binary (exit status 1)"

TruffleHog Version

trufflehog version 3.13.0

My co worker has the same Mac and types in the same command and it works!

MacBook Pro Monterey 12.6

dustin-decker commented 2 years ago

This means that the binary is in a location where it has insufficient permissions to move itself. Can you try using the homebrew package instead? https://github.com/trufflesecurity/trufflehog#5-brew