Skip to content

Commit e047b1b

Browse files
Add js expression checks on the wappalyzer scanner
1 parent 7c94017 commit e047b1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-go@v4
2020
with:
21-
go-version: '1.22.1'
21+
go-version: '1.23'
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v2.5.2
2424
with:
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v3
3232
- uses: actions/setup-go@v4
3333
with:
34-
go-version: '1.22.1'
34+
go-version: '1.23'
3535
- run: go test -v -cover
3636
release:
3737
name: Create Release
@@ -54,7 +54,7 @@ jobs:
5454
fetch-depth: 0
5555
- uses: actions/setup-go@v4
5656
with:
57-
go-version: '1.22.1'
57+
go-version: '1.23'
5858
- name: Get OS and arch info
5959
run: |
6060
GOOSARCH=${{matrix.goosarch}}

webscans/wappalyzer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ func (wp *Wappalyzer) scanJsExpressions(domain string, urlStr string, technologi
835835

836836
// Process technologies with JS patterns
837837
for name, tech := range technologies {
838-
if tech.Js == nil || len(tech.Js) == 0 {
838+
if len(tech.Js) == 0 {
839839
continue
840840
}
841841

0 commit comments

Comments
 (0)