aboutsummaryrefslogtreecommitdiff
path: root/ReverseEngineering/Get-KernelModuleInfo.ps1
diff options
context:
space:
mode:
authorbitform <matt@exploit-monday.com>2013-01-20 08:56:37 -0500
committerbitform <matt@exploit-monday.com>2013-01-20 08:56:37 -0500
commite9b22e9ae2391d1dc362501c282248945b3ca467 (patch)
treed59b12570e9142eddde74636288696ed5206d482 /ReverseEngineering/Get-KernelModuleInfo.ps1
parent59ff1a8b1eb3a8fba4dd9dee036a6c957f8f41ef (diff)
downloadPowerSploit-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-KernelModuleInfo.ps1')
-rw-r--r--ReverseEngineering/Get-KernelModuleInfo.ps18
1 files changed, 0 insertions, 8 deletions
diff --git a/ReverseEngineering/Get-KernelModuleInfo.ps1 b/ReverseEngineering/Get-KernelModuleInfo.ps1
index 0704919..f6f8221 100644
--- a/ReverseEngineering/Get-KernelModuleInfo.ps1
+++ b/ReverseEngineering/Get-KernelModuleInfo.ps1
@@ -48,14 +48,6 @@ To display the output as seen in the example, ensure that Get-KernelModuleInfo.f
http://www.exploit-monday.com
#>
- # Load custom object formatting views
- $FormatPath = try { Join-Path $PSScriptRoot Get-KernelModuleInfo.format.ps1xml } catch {}
- # Don't load format ps1xml if it doesn't live in the same folder as this script
- if ($FormatPath -and (Test-Path $FormatPath))
- {
- Update-FormatData -PrependPath (Join-Path $PSScriptRoot Get-KernelModuleInfo.format.ps1xml)
- }
-
$Domain = [AppDomain]::CurrentDomain
$DynAssembly = New-Object System.Reflection.AssemblyName('TestAssembly')
$AssemblyBuilder = $Domain.DefineDynamicAssembly($DynAssembly, [System.Reflection.Emit.AssemblyBuilderAccess]::Run)