最後活躍 1729286558

knox 已修改 1729286558. 還原成這個修訂版本

1 file changed, 15 insertions

Gitleaks-readme-2.sh(檔案已創建)

@@ -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
上一頁 下一頁