-
-
Save alibay7/302e348f5e85b593a3b2bbf50d33fe46 to your computer and use it in GitHub Desktop.
PowerShell IOCs generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dir . | Foreach-Object{ | |
| $file = $_ | |
| $hash = Get-FileHash $file -Algorithm MD5 | |
| $fileinfo = Get-Item $file | |
| New-Object -TypeName PSObject -Property @{ | |
| VersionInfo = $fileinfo.VersionInfo | |
| LastWriteTime = $fileinfo.LastWriteTime | |
| Length = $fileinfo.Length | |
| Algorithm = $hash.Algorithm | |
| MD5 = $hash.Hash | |
| Name = $fileinfo.Name | |
| } | |
| } | Format-List |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment