Skip to content

Commit

Permalink
Fixed README, fix options
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed Jul 26, 2020
1 parent 13f8a45 commit 26bf4a4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Usage of leakix:
./leakix -q '*' -l 200

-l int
Limit results output, default to 100 (default 100)
Limit results output (default 100)
-q string
Specify search query, default to * (default "*")
Specify search query (default "*")
-s string
Specify scope, default to leak (default "leak")
Specify scope (default "leak")
-t string
Specify output template, default to "{{ .Ip }}:{{ .Port }}" (default "{{ .Ip }}:{{ .Port }}")
Specify output template (default "{{ .Ip }}:{{ .Port }}")

$ leakix -l 2 -q "protocol:web AND plugin:GitConfigPlugin" -t "{{ .Ip }}:{{ .Port }} : {{ .Data }}"
178.62.217.44:80 : Found git deployment configuration
Expand Down
19 changes: 19 additions & 0 deletions build-archs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
GOOS=linux GOARCH=386 go build -o leakix-linux-32 ./cmd/leakix
GOOS=linux GOARCH=amd64 go build -o leakix-linux-64 ./cmd/leakix
GOOS=freebsd GOARCH=amd64 go build -o leakix-freebsd-64 ./cmd/leakix
GOOS=freebsd GOARCH=386 go build -o leakix-freebsd-32 ./cmd/leakix

GOOS=linux GOARCH=arm GOARM=7 go build -o leakix-linux-arm7 ./cmd/leakix
GOOS=linux GOARCH=arm GOARM=6 go build -o leakix-linux-arm6 ./cmd/leakix

GOOS=darwin GOARCH=amd64 go build -o leakix-osx-64 ./cmd/leakix
GOOS=darwin GOARCH=386 go build -o leakix-osx-32 ./cmd/leakix

GOOS=windows GOARCH=amd64 go build -o leakix-win64.exe ./cmd/leakix
GOOS=windows GOARCH=386 go build -o leakix-win32.exe ./cmd/leakix

GOOS=netbsd GOARCH=amd64 go build -o leakix-netbsd-64 ./cmd/leakix
GOOS=netbsd GOARCH=386 go build -o leakix-netbsd-32 ./cmd/leakix

GOOS=openbsd GOARCH=amd64 go build -o leakix-openbsd-64 ./cmd/leakix
GOOS=openbsd GOARCH=386 go build -o leakix-openbsd-32 ./cmd/leakix

0 comments on commit 26bf4a4

Please sign in to comment.