diff options
author | bitform <matt@exploit-monday.com> | 2013-01-20 08:56:37 -0500 |
---|---|---|
committer | bitform <matt@exploit-monday.com> | 2013-01-20 08:56:37 -0500 |
commit | e9b22e9ae2391d1dc362501c282248945b3ca467 (patch) | |
tree | d59b12570e9142eddde74636288696ed5206d482 /ReverseEngineering/Get-PEB.ps1 | |
parent | 59ff1a8b1eb3a8fba4dd9dee036a6c957f8f41ef (diff) | |
download | PowerSploit-e9b22e9ae2391d1dc362501c282248945b3ca467.tar.gz PowerSploit-e9b22e9ae2391d1dc362501c282248945b3ca467.zip |
Removed logic in scripts to load ps1xml files
* Now that PETools and ReverseEngineering are both full-fledged modules
with proper manifests, the manifests will take care of loading the
appropriate ps1xml files.
* Added Usage.txt to ReverseEngineering module.
Diffstat (limited to 'ReverseEngineering/Get-PEB.ps1')
-rw-r--r-- | ReverseEngineering/Get-PEB.ps1 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ReverseEngineering/Get-PEB.ps1 b/ReverseEngineering/Get-PEB.ps1 index 6dbd55a..dbb95a0 100644 --- a/ReverseEngineering/Get-PEB.ps1 +++ b/ReverseEngineering/Get-PEB.ps1 @@ -57,17 +57,6 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa813706(v=vs.85).aspx {
Set-StrictMode -Version 2
- # Load custom object formatting views
- if (Test-Path .\Get-PEB.format.ps1xml)
- {
- Update-FormatData -PrependPath .\Get-PEB.format.ps1xml -ErrorAction SilentlyContinue
- }
- else
- {
- try { Update-FormatData -PrependPath (Join-Path $PSScriptRoot Get-PEB.format.ps1xml) -ErrorAction SilentlyContinue }
- catch { Write-Warning 'To ensure proper output display, place Get-PEB.format.ps1xml in the same folder as this script.' }
- }
-
$mscorlib = [AppDomain]::CurrentDomain.GetAssemblies() | ? { $_.FullName.Split(',')[0].ToLower() -eq 'mscorlib' }
$Win32Native = $mscorlib.GetTypes() | ? { $_.FullName -eq 'Microsoft.Win32.Win32Native' }
|