Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run truffleHog on directories recusively and not just in git repos #92

Closed
michaelgrifalconi opened this issue Mar 5, 2018 · 6 comments

Comments

@michaelgrifalconi
Copy link

I would assume it's easy to setup a dummy git repo and scan it, but would be nice to use the tool to scan any file or directory even outside git.

One example is to scan database dumps of project trackers (jira)

@dxa4481
Copy link
Collaborator

dxa4481 commented Sep 29, 2018

I've got a script here that scans archives, tar.gz's, will this work for you?

https://github.com/dxa4481/santaHog/blob/master/santaHog/scan_archives.py

@avanier
Copy link

avanier commented Nov 2, 2018

I'll add making a PR for this on my to-do list.

@Miserlou
Copy link

+1 for this - I'm not sure why git is necessary, I'd like to use this on some dump files!

@BBerastegui
Copy link

BBerastegui commented Mar 18, 2019

There is already a pull request on this: #37

It's waiting for approval.

@mykter
Copy link

mykter commented Oct 8, 2020

https://github.com/feeltheajf/truffleHog3 implemented this feature.

dustin-decker pushed a commit that referenced this issue Apr 3, 2022
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.20 to 1.43.21.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.43.20...v1.43.21)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@dustin-decker
Copy link
Contributor

Hey there, we've just released the next major version of TruffleHog!

It includes a new filesystem scanner to do this!

It is a complete rewrite that scans more data sources and now supports detecting and verifying over 600 credentials.
Please check it out when you can.

https://trufflesecurity.com/blog/introducing-trufflehog-v3

We're no longer maintaining v2 so I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants