Created
          January 13, 2017 05:35 
        
      - 
      
- 
        Save msuiche/110716bbaa404877c12b25b750c2d58e 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