Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit e210c89

Browse files
author
Matt Graeber
committed
Added New-Object proxy function
You can provide a CLSID (i.e. a Guid) to New-Object via the -ComObject parameter in addition to a ProgId.
1 parent 02c982d commit e210c89

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ Marshals data from an unmanaged block of memory in an arbitrary process to a new
100100

101101
A proxy function used to extend the built-in Get-Member cmdlet. It adds the '-Private' parameter allowing you to display non-public .NET members
102102

103+
#### `New-Object`
104+
105+
A proxy function for New-Object that accepts a CLSID with the -ComObject parameter.
106+
103107
#### `Get-Strings`
104108

105109
Dumps strings from files in both Unicode and Ascii. This cmdlet replicates the functionality of strings.exe from Sysinternals.

ReverseEngineering/New-Object.ps1

4.28 KB
Binary file not shown.

ReverseEngineering/ReverseEngineering.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ModuleList = @(@{ModuleName = 'ReverseEngineering'; ModuleVersion = '1.0.0.0'; G
7676
FileList = 'ReverseEngineering.psm1', 'ReverseEngineering.psd1', 'Get-ILDisassembly.ps1', 'Get-NtSystemInformation.format.ps1xml',
7777
'Get-NtSystemInformation.ps1', 'Get-Member.ps1', 'Get-MethodAddress.ps1', 'Get-PEB.format.ps1xml',
7878
'Get-PEB.ps1', 'Get-Strings.ps1', 'Get-StructFromMemory.ps1', 'ConvertTo-String.ps1',
79-
'Usage.md'
79+
'New-Object.ps1', 'Usage.md'
8080

8181
# Private data to pass to the module specified in RootModule/ModuleToProcess
8282
# PrivateData = ''

0 commit comments

Comments
 (0)