mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-01-31 15:53:10 +08:00
* adding pwsh tests * chore(cmd): rm template Signed-off-by: Dwi Siswanto <git@dw1.io> --------- Signed-off-by: Dwi Siswanto <git@dw1.io> Co-authored-by: Dwi Siswanto <git@dw1.io>
27 lines
486 B
YAML
27 lines
486 B
YAML
id: pw-echo
|
|
|
|
info:
|
|
name: PowerShell Echo Test
|
|
author: pdteam
|
|
severity: info
|
|
description: Tests PowerShell execution with an echo-like operation.
|
|
tags: test,powershell,echo
|
|
|
|
self-contained: true
|
|
|
|
code:
|
|
- engine:
|
|
- pwsh
|
|
- powershell
|
|
- powershell.exe
|
|
args:
|
|
- -ExecutionPolicy
|
|
- Bypass
|
|
pattern: "*.ps1"
|
|
source: |
|
|
Write-Output "test-output-success"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "test-output-success" |