Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate code template in workflows #4822

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Mar 1, 2024

Proposed Changes

$  ./nuclei -w workflow.yaml -debug -v -u https://scanme.sh 

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.0-dev

		projectdiscovery.io

[WRN] `-code` flag not found, skipping code template from workflow: /Users/tarun/Codebase2/nuclei/test.yaml
[INF] Current nuclei version: v3.2.0-dev (development)
[INF] Current nuclei-templates version: v9.7.6 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] Workflows loaded for current scan: 1
[WRN] Executing 1 unsigned templates. Use with caution.
[INF] Targets loaded for current scan: 1
[INF] No results found. Better luck next time!
$  ./nuclei -w workflow.yaml -debug -v -u https://scanme.sh  -code

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.0-dev

		projectdiscovery.io

[WRN] skipping unverified code template from workflow: /Users/tarun/Codebase2/nuclei/test.yaml
[INF] Current nuclei version: v3.2.0-dev (development)
[INF] Current nuclei-templates version: v9.7.6 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] Workflows loaded for current scan: 1
[WRN] Executing 1 unsigned templates. Use with caution.
[INF] Targets loaded for current scan: 1
[INF] No results found. Better luck next time!

@tarunKoyalwar tarunKoyalwar self-assigned this Mar 1, 2024
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review March 1, 2024 14:16
@tarunKoyalwar tarunKoyalwar marked this pull request as draft March 1, 2024 14:16
@tarunKoyalwar
Copy link
Member Author

$  ./nuclei -w workflow.yaml  -u https://scanme.sh  -code 

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.0-dev

		projectdiscovery.io

[INF] Current nuclei version: v3.2.0-dev (development)
[INF] Current nuclei-templates version: v9.7.6 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] Workflows loaded for current scan: 1
[INF] Executing 1 signed templates from tarun
[INF] Targets loaded for current scan: 1
[code-template] [code] [info] https://scanme.sh ["hack with nuclei"]

@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review March 1, 2024 14:30
@ehsandeep ehsandeep merged commit e86f382 into dev Mar 1, 2024
9 of 12 checks passed
@ehsandeep ehsandeep deleted the issue-4796-workflow-unsigned branch March 1, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code in template is executed without a signature if the template is in a Workflow
2 participants