Skip to content

Instantly share code, notes, and snippets.

@ahhh
Created February 15, 2016 23:44
Show Gist options
  • Save ahhh/3d4da702309b261efe5a to your computer and use it in GitHub Desktop.
Save ahhh/3d4da702309b261efe5a to your computer and use it in GitHub Desktop.
Get-ChildItem -Recurse -filter *.exe C:\Windows\ 2> $null |
ForEach-Object { Write-Host -foregroundcolor "green" "Scanning"$_.FullName $_.Name; ./yara32.exe -d filename=$_.Name your_rule.yar $_.FullName 2> $null }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment