VirusTotal / yara

The pattern matching swiss knife
https://virustotal.github.io/yara/
BSD 3-Clause "New" or "Revised" License
8.08k stars 1.43k forks source link

Read target from stdin #1942

Open inshua opened 1 year ago

inshua commented 1 year ago

Is your feature request related to a problem? Please describe. An important feature.

Describe the solution you'd like No way, I need create a temporary file and delete it

Describe alternatives you've considered

echo 'hello world' | yara a_rule.yar
echo '5A 4D ...' | yara --hex pe_rule.yar

It will be very nice for test whether a rule works.

Additional context (none)