-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,977 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: 🔨 Performance Test | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Weekly | ||
- cron: '0 0 * * 0' | ||
|
||
jobs: | ||
build: | ||
name: Test Performance | ||
strategy: | ||
matrix: | ||
go-version: [1.20.x] | ||
os: [ubuntu-latest, macOS-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Go Mod hygine | ||
run: | | ||
go clean -modcache | ||
go mod tidy | ||
working-directory: v2/ | ||
|
||
# Max GH exection time 6H => timeout after that | ||
- name: Running performance with big list | ||
run: go run -race . -l ../functional-test/targets-150.txt | ||
working-directory: v2/cmd/nuclei/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
id: network-port-example | ||
|
||
info: | ||
name: Example Template with Network Port | ||
author: pdteam | ||
severity: high | ||
description: This is an updated description for the network port example. | ||
reference: https://updated-reference-link | ||
|
||
tcp: | ||
- host: | ||
- "{{Hostname}}" | ||
port: 23846 | ||
inputs: | ||
- data: "PING\r\n" | ||
read-size: 4 | ||
matchers: | ||
- type: word | ||
part: data | ||
words: | ||
- "PONG" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.