Skip to content

Commit 6f5129d

Browse files
authored
Merge pull request #275 from edoardottt/devel
Devel update
2 parents 819472e + 577e885 commit 6f5129d

File tree

14 files changed

+183
-133
lines changed

14 files changed

+183
-133
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
@@ -48,7 +37,7 @@ jobs:
4837
- name: Checkout repository
4938
uses: actions/checkout@v4
5039
with:
51-
go-version: '1.23'
40+
go-version: '1.24'
5241

5342
# Initializes the CodeQL tools for scanning.
5443
- name: Initialize CodeQL

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v4
20+
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.23'
22+
go-version: 1.24
2323

2424
- name: Build
2525
run: go build -v ./...

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
name: lint
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/setup-go@v3
19+
- uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.23
22-
- uses: actions/checkout@v3
21+
go-version: 1.24
22+
- uses: actions/checkout@v4
2323
- name: golangci-lint
24-
uses: golangci/golangci-lint-action@v3
24+
uses: golangci/golangci-lint-action@v8
2525
with:
2626
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
27-
version: v1.61
27+
version: v2.3.0
2828
args: --timeout=5m
2929

3030
# Optional: working directory, useful for monorepos

.github/workflows/release-binary.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: "Check out code"
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

1818
- name: "Set up Go"
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.23.x
21+
go-version: 1.24
2222

2323
- name: "Create release on GitHub"
2424
timeout-minutes: 10
25-
uses: goreleaser/goreleaser-action@v4
25+
uses: goreleaser/goreleaser-action@v6
2626
with:
2727
args: "release --clean"
2828
version: latest

.github/workflows/release-test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: "Check out code"
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v4
20+
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23.x
22+
go-version: 1.24
2323

2424
- name: release test
25-
uses: goreleaser/goreleaser-action@v4
25+
uses: goreleaser/goreleaser-action@v6
2626
with:
2727
args: "release --clean --snapshot"
28-
version: latest
28+
version: latest
29+
env:
30+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.golangci.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
version: "2"
12
linters:
2-
# Enable all available linters.
3-
# Default: false
4-
disable-all: true
3+
default: none
54
enable:
65
- asciicheck
76
- bodyclose
@@ -18,10 +17,8 @@ linters:
1817
- goheader
1918
- gomodguard
2019
- goprintffuncname
21-
- gosimple
2220
- govet
2321
- ineffassign
24-
- lll
2522
- misspell
2623
- mnd
2724
- nakedret
@@ -30,27 +27,30 @@ linters:
3027
- rowserrcheck
3128
- sqlclosecheck
3229
- staticcheck
33-
- stylecheck
3430
- testpackage
3531
- unconvert
3632
- unparam
3733
- unused
3834
- whitespace
39-
- wsl
40-
41-
linters-settings:
42-
wsl:
43-
strict-append: false
44-
enforce-err-cuddling: true
45-
46-
mnd:
47-
# Values always ignored: "1", "1.0", "0" and "0.0"
48-
# Default: []
49-
ignored-numbers:
50-
- '2'
51-
- '0644'
52-
53-
issues:
54-
exclude-rules:
55-
- path: pkg/exploit/exploit.go
56-
text: "append result not assigned to the same slice"
35+
- wsl_v5
36+
exclusions:
37+
generated: lax
38+
presets:
39+
- comments
40+
- common-false-positives
41+
- legacy
42+
- std-error-handling
43+
rules:
44+
- path: pkg/exploit/exploit.go
45+
text: 'appendAssign: append result not assigned to the same slice'
46+
paths:
47+
- third_party$
48+
- builtin$
49+
- examples$
50+
formatters:
51+
exclusions:
52+
generated: lax
53+
paths:
54+
- third_party$
55+
- builtin$
56+
- examples$

go.mod

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,38 @@
11
module github.com/edoardottt/pphack
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
6-
github.com/chromedp/chromedp v0.13.6
6+
github.com/chromedp/chromedp v0.14.2
77
github.com/edoardottt/golazy v0.1.4
88
github.com/projectdiscovery/goflags v0.1.74
9-
github.com/projectdiscovery/gologger v1.1.54
10-
github.com/projectdiscovery/utils v0.4.20
11-
github.com/stretchr/testify v1.10.0
9+
github.com/projectdiscovery/gologger v1.1.59
10+
github.com/projectdiscovery/utils v0.6.0
11+
github.com/stretchr/testify v1.11.1
1212
go.uber.org/ratelimit v0.3.1
1313
)
1414

1515
require (
16-
github.com/STARRY-S/zip v0.2.1 // indirect
17-
github.com/andybalholm/brotli v1.1.1 // indirect
16+
github.com/mikelolasagasti/xz v1.0.1 // indirect
17+
github.com/minio/minlz v1.0.1 // indirect
18+
github.com/spf13/afero v1.15.0 // indirect
19+
)
20+
21+
require (
22+
github.com/STARRY-S/zip v0.2.3 // indirect
23+
github.com/andybalholm/brotli v1.2.0 // indirect
1824
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
1925
github.com/aymerick/douceur v0.2.0 // indirect
2026
github.com/benbjohnson/clock v1.3.5 // indirect
2127
github.com/bodgit/plumbing v1.3.0 // indirect
22-
github.com/bodgit/sevenzip v1.6.0 // indirect
28+
github.com/bodgit/sevenzip v1.6.1 // indirect
2329
github.com/bodgit/windows v1.0.1 // indirect
24-
github.com/chromedp/cdproto v0.0.0-20250403032234-65de8f5d025b
30+
github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327
2531
github.com/chromedp/sysutil v1.1.0 // indirect
2632
github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08 // indirect
27-
github.com/davecgh/go-spew v1.1.1 // indirect
33+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2834
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
29-
github.com/go-json-experiment/json v0.0.0-20250211171154-1ae217ad3535 // indirect
35+
github.com/go-json-experiment/json v0.0.0-20250725192818-e39067aee2d2 // indirect
3036
github.com/gobwas/httphead v0.1.0 // indirect
3137
github.com/gobwas/pool v0.2.1 // indirect
3238
github.com/gobwas/ws v1.4.0 // indirect
@@ -36,35 +42,35 @@ require (
3642
github.com/hashicorp/go-multierror v1.1.1 // indirect
3743
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
3844
github.com/json-iterator/go v1.1.12 // indirect
39-
github.com/klauspost/compress v1.17.11 // indirect
45+
github.com/klauspost/compress v1.18.0 // indirect
4046
github.com/klauspost/pgzip v1.2.6 // indirect
4147
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
4248
github.com/mattn/go-isatty v0.0.20 // indirect
43-
github.com/mholt/archives v0.1.0 // indirect
49+
github.com/mholt/archives v0.1.5 // indirect
4450
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
4551
github.com/miekg/dns v1.1.63 // indirect
4652
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4753
github.com/modern-go/reflect2 v1.0.2 // indirect
48-
github.com/nwaples/rardecode/v2 v2.0.0-beta.4.0.20241112120701-034e449c6e78 // indirect
54+
github.com/nwaples/rardecode/v2 v2.2.0 // indirect
4955
github.com/pierrec/lz4/v4 v4.1.22 // indirect
5056
github.com/pkg/errors v0.9.1 // indirect
51-
github.com/pmezard/go-difflib v1.0.0 // indirect
57+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5258
github.com/projectdiscovery/blackrock v0.0.1 // indirect
5359
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
54-
github.com/sorairolake/lzip-go v0.3.5 // indirect
60+
github.com/sorairolake/lzip-go v0.3.8 // indirect
5561
github.com/therootcompany/xz v1.0.1 // indirect
5662
github.com/tidwall/gjson v1.18.0 // indirect
5763
github.com/tidwall/match v1.1.1 // indirect
5864
github.com/tidwall/pretty v1.2.1 // indirect
59-
github.com/ulikunitz/xz v0.5.12 // indirect
65+
github.com/ulikunitz/xz v0.5.15 // indirect
6066
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
6167
golang.org/x/exp v0.0.0-20250207012021-f9890c6ad9f3 // indirect
62-
golang.org/x/mod v0.23.0 // indirect
63-
golang.org/x/net v0.38.0 // indirect
64-
golang.org/x/sync v0.12.0 // indirect
65-
golang.org/x/sys v0.31.0 // indirect
66-
golang.org/x/text v0.23.0 // indirect
67-
golang.org/x/tools v0.29.0 // indirect
68+
golang.org/x/mod v0.27.0 // indirect
69+
golang.org/x/net v0.43.0 // indirect
70+
golang.org/x/sync v0.17.0 // indirect
71+
golang.org/x/sys v0.35.0 // indirect
72+
golang.org/x/text v0.29.0 // indirect
73+
golang.org/x/tools v0.36.0 // indirect
6874
gopkg.in/djherbis/times.v1 v1.3.0 // indirect
6975
gopkg.in/yaml.v3 v3.0.1 // indirect
7076
)

0 commit comments

Comments
 (0)