-
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.
Merge remote-tracking branch 'origin' into pr/5807
- Loading branch information
Showing
108 changed files
with
2,034 additions
and
824 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,27 @@ | ||
name: ⏰ Generate Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish-docs: | ||
if: "${{ !endsWith(github.actor, '[bot]') }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: projectdiscovery/actions/setup/go@v1 | ||
- uses: projectdiscovery/actions/setup/git@v1 | ||
- run: make syntax-docs | ||
- run: git status -s | wc -l | xargs -I {} echo CHANGES={} >> $GITHUB_OUTPUT | ||
id: status | ||
- uses: projectdiscovery/actions/commit@v1 | ||
if: steps.status.outputs.CHANGES > 0 | ||
with: | ||
files: | | ||
SYNTAX-REFERENCE.md | ||
nuclei-jsonschema.json | ||
message: 'docs: update syntax & JSON schema 🤖' | ||
- run: git push origin $GITHUB_REF |
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
name: 🔨 Performance Test | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' # Weekly | ||
workflow_dispatch: | ||
|
||
jobs: | ||
perf-test: | ||
strategy: | ||
matrix: | ||
count: [50, 100, 150] | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'projectdiscovery/nuclei' | ||
env: | ||
LIST_FILE: "/tmp/targets-${{ matrix.count }}.txt" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: projectdiscovery/actions/setup/go@v1 | ||
- run: make verify | ||
- name: Generate list | ||
run: for i in {1..${{ matrix.count }}}; do echo "https://scanme.sh/?_=${i}" >> "${LIST_FILE}"; done | ||
- run: go run -race . -l "${LIST_FILE}" | ||
working-directory: cmd/nuclei/ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.