Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions bbot/core/helpers/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ def sanitize_git_repo(repo_folder: Path):
config_file = repo_folder / ".git" / "config"
if config_file.exists():
config_file.rename(repo_folder / "git_config_original")
# move the index file
index_file = repo_folder / ".git" / "index"
if index_file.exists():
index_file.rename(repo_folder / "git_index_original")
# leave .git/index in place -- it's binary metadata (filename-to-SHA mappings),
# not a security risk, and removing it breaks tools that need to clone the repo
# move the hooks folder
hooks_folder = repo_folder / ".git" / "hooks"
if hooks_folder.exists():
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/trufflehog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class trufflehog(BaseModule):
}

class Config(BaseModuleConfig):
version: str = Field("3.90.8", description="trufflehog version")
version: str = Field("3.95.5", description="trufflehog version")
config: str = Field("", description="File path or URL to YAML trufflehog config")
only_verified: bool = Field(True, description="Only report credentials that have been verified")
concurrency: int = Field(8, description="Number of concurrent workers")
Expand Down
Loading