Skip to content

Commit

Permalink
optimizations, remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
frjcomp committed Aug 8, 2024
1 parent e5a31ce commit 21d5133
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 157 deletions.
4 changes: 2 additions & 2 deletions src/pipeleak/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
var (
rootCmd = &cobra.Command{
Use: "pipeleak",
Short: "💎💎 A GitLab Pipeline Output Secret Scanner 💎💎",
Long: "Pipeleak scan the output of GitLab pipelines for secrets. Thus detecting what treasures turn up on runtime 💎💎",
Short: "💎💎 Scan GitLab job logs and artifacts for secrets 💎💎",
Long: "Pipeleak is a tool designed to scan GitLab job output logs and artifacts for potential secrets. 💎💎",
}
)

Expand Down
32 changes: 2 additions & 30 deletions src/pipeleak/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,21 @@ require (
)

require (
github.com/PuerkitoBio/goquery v1.9.2 // indirect
github.com/andybalholm/cascadia v1.3.2 // indirect
github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335 // indirect
github.com/chromedp/sysutil v1.0.0 // indirect
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.3 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gobwas/httphead v0.1.0 // indirect
github.com/gobwas/pool v0.2.1 // indirect
github.com/gobwas/ws v1.4.0 // indirect
github.com/h2non/filetype v1.1.3 // indirect
github.com/headzoo/surf v1.0.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect
github.com/klauspost/compress v1.15.13 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/ysmood/fetchup v0.2.3 // indirect
github.com/ysmood/goob v0.4.0 // indirect
github.com/ysmood/got v0.40.0 // indirect
github.com/ysmood/gson v0.7.3 // indirect
github.com/ysmood/leakless v0.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/net v0.24.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)

require (
github.com/chromedp/chromedp v0.10.0
github.com/codeclysm/extract/v3 v3.1.1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/go-rod/rod v0.116.2
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/playwright-community/playwright-go v0.4501.1
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.9.0 // indirect
Expand All @@ -59,6 +32,5 @@ require (
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/headzoo/surf.v1 v1.0.1
gopkg.in/yaml.v3 v3.0.1
)
Loading

0 comments on commit 21d5133

Please sign in to comment.