mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 20:25:28 +00:00
29 lines
499 B
YAML
29 lines
499 B
YAML
id: ps1-code-snippet
|
|
|
|
info:
|
|
name: ps1-code-snippet
|
|
author: pdteam
|
|
severity: info
|
|
tags: code
|
|
description: |
|
|
ps1-code-snippet
|
|
|
|
self-contained: true
|
|
code:
|
|
- engine:
|
|
- powershell
|
|
- powershell.exe
|
|
args:
|
|
- -ExecutionPolicy
|
|
- Bypass
|
|
- -File
|
|
pattern: "*.ps1"
|
|
source: |
|
|
$stdin = [Console]::In
|
|
$line = $stdin.ReadLine()
|
|
Write-Host "hello from $line"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "hello from input" |