From e9b22e9ae2391d1dc362501c282248945b3ca467 Mon Sep 17 00:00:00 2001 From: bitform Date: Sun, 20 Jan 2013 08:56:37 -0500 Subject: 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. --- ReverseEngineering/Get-KernelModuleInfo.ps1 | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ReverseEngineering/Get-KernelModuleInfo.ps1') 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) -- cgit v1.2.3