最后活跃于 1729286558

knox 修订了这个 Gist 1729286558. 跳至此修订

1 file changed, 15 insertions

Gitleaks-readme-2.sh(file created)

@@ -0,0 +1,15 @@
1 + # MacOS
2 + brew install gitleaks
3 +
4 + # Docker (DockerHub)
5 + docker pull zricethezav/gitleaks:latest
6 + docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
7 +
8 + # Docker (ghcr.io)
9 + docker pull ghcr.io/gitleaks/gitleaks:latest
10 + docker run -v ${path_to_host_folder_to_scan}:/path ghcr.io/gitleaks/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
11 +
12 + # From Source (make sure `go` is installed)
13 + git clone https://github.com/gitleaks/gitleaks.git
14 + cd gitleaks
15 + make build
更新 更早