-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
TruffleHog Version
3.59.0 (and older versions)
Trace Output
https://gist.github.com/det/080c98039750a5296c6856efaaed8b5c
Expected Behavior
Secret should be reported on line 557
Actual Behavior
Secret is reported on line 287 (and a different wrong line number on older versions of trufflehog)
Steps to Reproduce
wget https://gist.githubusercontent.com/det/1526b4c16d0e07ac023d75c912a68658/raw/c3061c14a811205a65cbdcf0065bd3c11d88bfcb/test.txttrufflehog filesystem test.txt- The wrong line number is reported
Environment
- OS: Linux
References
May be related to #1537
shreyas-sriram, sxlijin, TylerJang27, erikv85, jlegarreta and 11 more