Skip to content

Commit dc44105

Browse files
nuclei v3 : misc updates (#4247)
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <[email protected]>
1 parent 3276703 commit dc44105

File tree

542 files changed

+1254
-1340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

542 files changed

+1254
-1340
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ updates:
88

99
# Maintain dependencies for go modules
1010
- package-ecosystem: "gomod"
11-
directory: "v2/"
11+
directory: "/"
1212
schedule:
1313
interval: "weekly"
1414
target-branch: "dev"

.github/workflows/build-test.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,15 @@ jobs:
3434
run: |
3535
go clean -modcache
3636
go mod tidy
37-
working-directory: v2/
3837
3938
- name: Build
4039
run: go build .
41-
working-directory: v2/cmd/nuclei/
40+
working-directory: cmd/nuclei/
4241

4342
- name: Test
4443
env:
4544
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4645
run: go test ./...
47-
working-directory: v2/
4846

4947
- name: Integration Tests
5048
timeout-minutes: 50
@@ -59,12 +57,12 @@ jobs:
5957
- name: Race Condition Tests
6058
if: ${{ matrix.os != 'windows-latest' }} # known issue: https://github.com/golang/go/issues/46099
6159
run: go run -race . -l ../functional-test/targets.txt -id tech-detect,tls-version
62-
working-directory: v2/cmd/nuclei/
60+
working-directory: cmd/nuclei/
6361

6462
- name: Example SDK Simple
6563
run: go run .
66-
working-directory: v2/examples/simple/
64+
working-directory: examples/simple/
6765

6866
- name: Example SDK Advanced
6967
run: go run .
70-
working-directory: v2/examples/advanced/
68+
working-directory: examples/advanced/

.github/workflows/functional-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
run: |
3131
chmod +x run.sh
3232
bash run.sh ${{ matrix.os }}
33-
working-directory: v2/cmd/functional-test
33+
working-directory: cmd/functional-test

.github/workflows/lint-test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ jobs:
2424
uses: golangci/[email protected]
2525
with:
2626
version: latest
27-
args: --timeout 5m
28-
working-directory: v2/
27+
args: --timeout 5m

.github/workflows/performance-test.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
run: |
2929
go clean -modcache
3030
go mod tidy
31-
working-directory: v2/
3231
3332
# Max GH exection time 6H => timeout after that
3433
- name: Running performance with big list
3534
run: go run -race . -l ../functional-test/targets-150.txt
36-
working-directory: v2/cmd/nuclei/
35+
working-directory: cmd/nuclei/

.github/workflows/publish-docs.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
go build -o "cmd/docgen/docgen" cmd/docgen/docgen.go
3232
./cmd/docgen/docgen ../SYNTAX-REFERENCE.md ../nuclei-jsonschema.json
3333
git status -s | wc -l | xargs -I {} echo CHANGES={} >> $GITHUB_OUTPUT
34-
working-directory: v2
3534
3635
- name: Commit files
3736
if: steps.generate-docs.outputs.CHANGES > 0

.github/workflows/release-binary.yml

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
with:
2424
args: "release --rm-dist"
2525
version: latest
26-
workdir: v2/
2726
env:
2827
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2928
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"

.github/workflows/release-test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ jobs:
2525
uses: goreleaser/goreleaser-action@v4
2626
with:
2727
args: "release --clean --snapshot"
28-
version: latest
29-
workdir: v2/
28+
version: latest

.github/workflows/template-validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
go run . -ut
2121
go run . -validate
2222
go run . -validate -w workflows
23-
working-directory: v2/cmd/nuclei/
23+
working-directory: cmd/nuclei/

.gitignore

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
.idea
22
.vscode
33
.devcontainer
4-
v2/vendor
5-
v2/dist
4+
vendor
5+
dist
66
integration_tests/nuclei
77
integration_tests/integration-test
8-
v2/cmd/nuclei/main
9-
v2/cmd/nuclei/nuclei
10-
v2/cmd/integration-test/nuclei
11-
v2/cmd/functional-test/nuclei_dev
12-
v2/cmd/functional-test/nuclei_main
13-
v2/cmd/functional-test/functional-test
14-
v2/cmd/docgen/docgen
15-
v2/pkg/protocols/common/helpers/deserialization/testdata/Deserialize.class
16-
v2/pkg/protocols/common/helpers/deserialization/testdata/ValueObject.class
17-
v2/pkg/protocols/common/helpers/deserialization/testdata/ValueObject2.ser
8+
cmd/nuclei/main
9+
cmd/nuclei/nuclei
10+
cmd/integration-test/nuclei
11+
cmd/functional-test/nuclei_dev
12+
cmd/functional-test/nuclei_main
13+
cmd/functional-test/functional-test
14+
cmd/docgen/docgen
15+
pkg/protocols/common/helpers/deserialization/testdata/Deserialize.class
16+
pkg/protocols/common/helpers/deserialization/testdata/ValueObject.class
17+
pkg/protocols/common/helpers/deserialization/testdata/ValueObject2.ser
1818
*.exe
19-
v2/.gitignore
20-
v2/pkg/js/devtools/bindgen/cmd/bindgen
21-
v2/pkg/js/devtools/jsdocgen/jsdocgen
22-
bindgen
23-
jsdocgen
24-
nuclei
25-
v2/scrapefuncs
19+
.gitignore
20+
pkg/js/devtools/bindgen/cmd/bindgen
21+
pkg/js/devtools/jsdocgen/jsdocgen
22+
./bindgen
23+
./jsdocgen
24+
./scrapefuncs
2625
*.DS_Store
27-
v2/pkg/protocols/headless/engine/.cache
26+
pkg/protocols/headless/engine/.cache
27+
./nuclei

v2/.goreleaser.yml .goreleaser.yml

File renamed without changes.

.run/DSLFunctionsIT.run.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<env name="TESTS" value="http/dsl-functions.yaml" />
88
</envs>
99
<kind value="PACKAGE" />
10-
<package value="github.com/projectdiscovery/nuclei/v2/cmd/integration-test" />
10+
<package value="github.com/projectdiscovery/nuclei/v3/cmd/integration-test" />
1111
<directory value="$PROJECT_DIR$" />
12-
<filePath value="$PROJECT_DIR$/v2/cmd/integration-test/integration-test.go" />
12+
<filePath value="$PROJECT_DIR$/cmd/integration-test/integration-test.go" />
1313
<method v="2" />
1414
</configuration>
1515
</component>

.run/RegressionTests.run.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<configuration default="false" name="RegressionTests" type="ShConfigurationType">
33
<option name="SCRIPT_TEXT" value="" />
44
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5-
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/v2/cmd/functional-test/run.sh" />
5+
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/cmd/functional-test/run.sh" />
66
<option name="SCRIPT_OPTIONS" value="" />
77
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8-
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/v2/cmd/functional-test/" />
8+
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/cmd/functional-test/" />
99
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
1010
<option name="INTERPRETER_PATH" value="/bin/zsh" />
1111
<option name="INTERPRETER_OPTIONS" value="" />

.run/UnitTests.run.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<working_directory value="$PROJECT_DIR$/v2" />
55
<go_parameters value="-i" />
66
<kind value="DIRECTORY" />
7-
<directory value="$PROJECT_DIR$/v2/" />
7+
<directory value="$PROJECT_DIR$/" />
88
<filePath value="$PROJECT_DIR$" />
99
<framework value="gotest" />
1010
<method v="2" />

DESIGN.md

+53-53
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ A brief overview of the methods is provided below -
8282

8383
For reference protocol requests implementations, one can look at the below packages -
8484

85-
1. [pkg/protocols/http](./v2/pkg/protocols/http)
86-
2. [pkg/protocols/dns](./v2/pkg/protocols/dns)
87-
3. [pkg/protocols/network](./v2/pkg/protocols/network)
85+
1. [pkg/protocols/http](./pkg/protocols/http)
86+
2. [pkg/protocols/dns](./pkg/protocols/dns)
87+
3. [pkg/protocols/network](./pkg/protocols/network)
8888

8989
### Executer
9090

@@ -189,9 +189,9 @@ Polling for interactions and server registration only starts when a template use
189189

190190
Next we arrive in the `RunEnumeration` function of the runner.
191191

192-
`HostErrorsCache` is initialised which is used throughout the run of Nuclei enumeration to keep track of errors per host and skip further requests if the errors are greater than the provided threshold. The functionality for the error tracking cache is defined in [hosterrorscache.go](https://github.com/projectdiscovery/nuclei/blob/main/v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go) and is pretty simplistic in nature.
192+
`HostErrorsCache` is initialised which is used throughout the run of Nuclei enumeration to keep track of errors per host and skip further requests if the errors are greater than the provided threshold. The functionality for the error tracking cache is defined in [hosterrorscache.go](https://github.com/projectdiscovery/nuclei/blob/main/pkg/protocols/common/hosterrorscache/hosterrorscache.go) and is pretty simplistic in nature.
193193

194-
Next the `WorkflowLoader` is initialised which used to load workflows. It exists in `v2/pkg/parsers/workflow_loader.go`
194+
Next the `WorkflowLoader` is initialised which used to load workflows. It exists in `pkg/parsers/workflow_loader.go`
195195

196196
The loader is initialised moving forward which is responsible for Using Catalog, Passed Tags, Filters, Paths, etc. to return compiled `Templates` and `Workflows`.
197197

@@ -387,15 +387,15 @@ Almost all of these protocols have boilerplate functions for which default imple
387387

388388
Step by step description of how to add a new protocol to Nuclei -
389389

390-
1. Add the protocol implementation in `pkg/protocols` directory. If it's a small protocol with fewer options, considering adding it to the `pkg/protocols/others` directory. Add the enum for the new protocol to `v2/pkg/templates/types/types.go`.
390+
1. Add the protocol implementation in `pkg/protocols` directory. If it's a small protocol with fewer options, considering adding it to the `pkg/protocols/others` directory. Add the enum for the new protocol to `pkg/templates/types/types.go`.
391391

392392
2. Add the protocol request structure to the `Template` structure fields. This is done in `pkg/templates/templates.go` with the corresponding import line.
393393

394394
```go
395395

396396
import (
397397
...
398-
"github.com/projectdiscovery/nuclei/v2/pkg/protocols/others/websocket"
398+
"github.com/projectdiscovery/nuclei/v3/pkg/protocols/others/websocket"
399399
)
400400

401401
// Template is a YAML input file which defines all the requests and
@@ -479,52 +479,52 @@ $ go tool pprof -http=:8081 mem.pprof
479479

480480
## Project Structure
481481

482-
- [v2/pkg/reporting](./v2/pkg/reporting) - Reporting modules for nuclei.
483-
- [v2/pkg/reporting/exporters/sarif](./v2/pkg/reporting/exporters/sarif) - Sarif Result Exporter
484-
- [v2/pkg/reporting/exporters/markdown](./v2/pkg/reporting/exporters/markdown) - Markdown Result Exporter
485-
- [v2/pkg/reporting/exporters/es](./v2/pkg/reporting/exporters/es) - Elasticsearch Result Exporter
486-
- [v2/pkg/reporting/dedupe](./v2/pkg/reporting/dedupe) - Dedupe module for Results
487-
- [v2/pkg/reporting/trackers/gitlab](./v2/pkg/reporting/trackers/gitlab) - GitLab Issue Tracker Exporter
488-
- [v2/pkg/reporting/trackers/jira](./v2/pkg/reporting/trackers/jira) - Jira Issue Tracker Exporter
489-
- [v2/pkg/reporting/trackers/github](./v2/pkg/reporting/trackers/github) - GitHub Issue Tracker Exporter
490-
- [v2/pkg/reporting/format](./v2/pkg/reporting/format) - Result Formatting Functions
491-
- [v2/pkg/parsers](./v2/pkg/parsers) - Implements template as well as workflow loader for initial template discovery, validation and - loading.
492-
- [v2/pkg/types](./v2/pkg/types) - Contains CLI options as well as misc helper functions.
493-
- [v2/pkg/progress](./v2/pkg/progress) - Progress tracking
494-
- [v2/pkg/operators](./v2/pkg/operators) - Operators for Nuclei
495-
- [v2/pkg/operators/common/dsl](./v2/pkg/operators/common/dsl) - DSL functions for Nuclei YAML Syntax
496-
- [v2/pkg/operators/matchers](./v2/pkg/operators/matchers) - Matchers implementation
497-
- [v2/pkg/operators/extractors](./v2/pkg/operators/extractors) - Extractors implementation
498-
- [v2/pkg/catalog](./v2/pkg/catalog) - Template loading from disk helpers
499-
- [v2/pkg/catalog/config](./v2/pkg/catalog/config) - Internal configuration management
500-
- [v2/pkg/catalog/loader](./v2/pkg/catalog/loader) - Implements loading and validation of templates and workflows.
501-
- [v2/pkg/catalog/loader/filter](./v2/pkg/catalog/loader/filter) - Filter filters templates based on tags and paths
502-
- [v2/pkg/output](./v2/pkg/output) - Output module for nuclei
503-
- [v2/pkg/workflows](./v2/pkg/workflows) - Workflow execution logic + declarations
504-
- [v2/pkg/utils](./v2/pkg/utils) - Utility functions
505-
- [v2/pkg/model](./v2/pkg/model) - Template Info + misc
506-
- [v2/pkg/templates](./v2/pkg/templates) - Templates core starting point
507-
- [v2/pkg/templates/cache](./v2/pkg/templates/cache) - Templates cache
508-
- [v2/pkg/protocols](./v2/pkg/protocols) - Protocol Specification
509-
- [v2/pkg/protocols/file](./v2/pkg/protocols/file) - File protocol
510-
- [v2/pkg/protocols/network](./v2/pkg/protocols/network) - Network protocol
511-
- [v2/pkg/protocols/common/expressions](./v2/pkg/protocols/common/expressions) - Expression evaluation + Templating Support
512-
- [v2/pkg/protocols/common/interactsh](./v2/pkg/protocols/common/interactsh) - Interactsh integration
513-
- [v2/pkg/protocols/common/generators](./v2/pkg/protocols/common/generators) - Payload support for Requests (Sniper, etc.)
514-
- [v2/pkg/protocols/common/executer](./v2/pkg/protocols/common/executer) - Default Template Executer
515-
- [v2/pkg/protocols/common/replacer](./v2/pkg/protocols/common/replacer) - Template replacement helpers
516-
- [v2/pkg/protocols/common/helpers/eventcreator](./v2/pkg/protocols/common/helpers/eventcreator) - Result event creator
517-
- [v2/pkg/protocols/common/helpers/responsehighlighter](./v2/pkg/protocols/common/helpers/responsehighlighter) - Debug response highlighter
518-
- [v2/pkg/protocols/common/helpers/deserialization](./v2/pkg/protocols/common/helpers/deserialization) - Deserialization helper functions
519-
- [v2/pkg/protocols/common/hosterrorscache](./v2/pkg/protocols/common/hosterrorscache) - Host errors cache for tracking erroring hosts
520-
- [v2/pkg/protocols/offlinehttp](./v2/pkg/protocols/offlinehttp) - Offline http protocol
521-
- [v2/pkg/protocols/http](./v2/pkg/protocols/http) - HTTP protocol
522-
- [v2/pkg/protocols/http/race](./v2/pkg/protocols/http/race) - HTTP Race Module
523-
- [v2/pkg/protocols/http/raw](./v2/pkg/protocols/http/raw) - HTTP Raw Request Support
524-
- [v2/pkg/protocols/headless](./v2/pkg/protocols/headless) - Headless Module
525-
- [v2/pkg/protocols/headless/engine](./v2/pkg/protocols/headless/engine) - Internal Headless implementation
526-
- [v2/pkg/protocols/dns](./v2/pkg/protocols/dns) - DNS protocol
527-
- [v2/pkg/projectfile](./v2/pkg/projectfile) - Project File Implementation
482+
- [pkg/reporting](./pkg/reporting) - Reporting modules for nuclei.
483+
- [pkg/reporting/exporters/sarif](./pkg/reporting/exporters/sarif) - Sarif Result Exporter
484+
- [pkg/reporting/exporters/markdown](./pkg/reporting/exporters/markdown) - Markdown Result Exporter
485+
- [pkg/reporting/exporters/es](./pkg/reporting/exporters/es) - Elasticsearch Result Exporter
486+
- [pkg/reporting/dedupe](./pkg/reporting/dedupe) - Dedupe module for Results
487+
- [pkg/reporting/trackers/gitlab](./pkg/reporting/trackers/gitlab) - GitLab Issue Tracker Exporter
488+
- [pkg/reporting/trackers/jira](./pkg/reporting/trackers/jira) - Jira Issue Tracker Exporter
489+
- [pkg/reporting/trackers/github](./pkg/reporting/trackers/github) - GitHub Issue Tracker Exporter
490+
- [pkg/reporting/format](./pkg/reporting/format) - Result Formatting Functions
491+
- [pkg/parsers](./pkg/parsers) - Implements template as well as workflow loader for initial template discovery, validation and - loading.
492+
- [pkg/types](./pkg/types) - Contains CLI options as well as misc helper functions.
493+
- [pkg/progress](./pkg/progress) - Progress tracking
494+
- [pkg/operators](./pkg/operators) - Operators for Nuclei
495+
- [pkg/operators/common/dsl](./pkg/operators/common/dsl) - DSL functions for Nuclei YAML Syntax
496+
- [pkg/operators/matchers](./pkg/operators/matchers) - Matchers implementation
497+
- [pkg/operators/extractors](./pkg/operators/extractors) - Extractors implementation
498+
- [pkg/catalog](./pkg/catalog) - Template loading from disk helpers
499+
- [pkg/catalog/config](./pkg/catalog/config) - Internal configuration management
500+
- [pkg/catalog/loader](./pkg/catalog/loader) - Implements loading and validation of templates and workflows.
501+
- [pkg/catalog/loader/filter](./pkg/catalog/loader/filter) - Filter filters templates based on tags and paths
502+
- [pkg/output](./pkg/output) - Output module for nuclei
503+
- [pkg/workflows](./pkg/workflows) - Workflow execution logic + declarations
504+
- [pkg/utils](./pkg/utils) - Utility functions
505+
- [pkg/model](./pkg/model) - Template Info + misc
506+
- [pkg/templates](./pkg/templates) - Templates core starting point
507+
- [pkg/templates/cache](./pkg/templates/cache) - Templates cache
508+
- [pkg/protocols](./pkg/protocols) - Protocol Specification
509+
- [pkg/protocols/file](./pkg/protocols/file) - File protocol
510+
- [pkg/protocols/network](./pkg/protocols/network) - Network protocol
511+
- [pkg/protocols/common/expressions](./pkg/protocols/common/expressions) - Expression evaluation + Templating Support
512+
- [pkg/protocols/common/interactsh](./pkg/protocols/common/interactsh) - Interactsh integration
513+
- [pkg/protocols/common/generators](./pkg/protocols/common/generators) - Payload support for Requests (Sniper, etc.)
514+
- [pkg/protocols/common/executer](./pkg/protocols/common/executer) - Default Template Executer
515+
- [pkg/protocols/common/replacer](./pkg/protocols/common/replacer) - Template replacement helpers
516+
- [pkg/protocols/common/helpers/eventcreator](./pkg/protocols/common/helpers/eventcreator) - Result event creator
517+
- [pkg/protocols/common/helpers/responsehighlighter](./pkg/protocols/common/helpers/responsehighlighter) - Debug response highlighter
518+
- [pkg/protocols/common/helpers/deserialization](./pkg/protocols/common/helpers/deserialization) - Deserialization helper functions
519+
- [pkg/protocols/common/hosterrorscache](./pkg/protocols/common/hosterrorscache) - Host errors cache for tracking erroring hosts
520+
- [pkg/protocols/offlinehttp](./pkg/protocols/offlinehttp) - Offline http protocol
521+
- [pkg/protocols/http](./pkg/protocols/http) - HTTP protocol
522+
- [pkg/protocols/http/race](./pkg/protocols/http/race) - HTTP Race Module
523+
- [pkg/protocols/http/raw](./pkg/protocols/http/raw) - HTTP Raw Request Support
524+
- [pkg/protocols/headless](./pkg/protocols/headless) - Headless Module
525+
- [pkg/protocols/headless/engine](./pkg/protocols/headless/engine) - Internal Headless implementation
526+
- [pkg/protocols/dns](./pkg/protocols/dns) - DNS protocol
527+
- [pkg/projectfile](./pkg/projectfile) - Project File Implementation
528528

529529
### Notes
530530

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ FROM golang:1.21-alpine AS build-env
33
RUN apk add build-base
44
WORKDIR /app
55
COPY . /app
6-
WORKDIR /app/v2
6+
WORKDIR /app
77
RUN go mod download
88
RUN go build ./cmd/nuclei
99

1010
# Release
1111
FROM alpine:3.18.2
1212
RUN apk -U upgrade --no-cache \
1313
&& apk add --no-cache bind-tools chromium ca-certificates
14-
COPY --from=build-env /app/v2/nuclei /usr/local/bin/
14+
COPY --from=build-env /app/nuclei /usr/local/bin/
1515

1616
ENTRYPOINT ["nuclei"]

v2/Makefile Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ docs:
2525
test:
2626
$(GOTEST) $(GOFLAGS) ./...
2727
integration:
28-
cd ../integration_tests; bash run.sh
28+
cd integration_tests; bash run.sh
2929
functional:
3030
cd cmd/functional-test; bash run.sh
3131
tidy:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ We have a [dedicated repository](https://github.com/projectdiscovery/nuclei-temp
5959
Nuclei requires **go1.21** to install successfully. Run the following command to install the latest version -
6060

6161
```sh
62-
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
62+
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
6363
```
6464

6565
<details>
@@ -379,7 +379,7 @@ We have [a discussion thread around this](https://github.com/projectdiscovery/nu
379379

380380
### Using Nuclei From Go Code
381381

382-
Complete guide of using Nuclei as Library/SDK is available at [lib](v2/lib/README.md)
382+
Complete guide of using Nuclei as Library/SDK is available at [godoc](https://pkg.go.dev/github.com/projectdiscovery/nuclei/v3/lib#section-readme)
383383

384384

385385
### Resources

README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Nuclei使用零误报的定制模板向目标发送请求,同时可以对主
5555
Nuclei需要**go1**才能安装成功。执行下列命令安装最新版本的Nuclei
5656

5757
```sh
58-
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
58+
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
5959
```
6060

6161
**更多的安装方式 [请点击此处](https://nuclei.projectdiscovery.io/nuclei/get-started/).**

README_ID.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Kami memiliki [repositori khusus](https://github.com/projectdiscovery/nuclei-tem
5555
Nuclei membutuhkan **go1.21** agar dapat diinstall. Jalankan perintah berikut untuk menginstal versi terbaru -
5656

5757
```sh
58-
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
58+
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
5959
```
6060

6161
**Metode [instalasi lain dapat ditemukan di sini](https://nuclei.projectdiscovery.io/nuclei/get-started/).**

0 commit comments

Comments
 (0)