We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfbb05 commit 3585c9bCopy full SHA for 3585c9b
Recon/PowerView.ps1
@@ -7722,7 +7722,7 @@ function Get-NetLocalGroup {
7722
$Offset += $Increment
7723
7724
$SidString = ""
7725
- $Result2 = $Advapi32::ConvertSidToStringSid($Info.lgrmi2_sid, [ref]$SidString);$LastError = [Runtime.InteropServices.Marshal]::GetLastWin32Error
+ $Result2 = $Advapi32::ConvertSidToStringSid($Info.lgrmi2_sid, [ref]$SidString);$LastError = [Runtime.InteropServices.Marshal]::GetLastWin32Error()
7726
7727
if($Result2 -eq 0) {
7728
Write-Verbose "Error: $(([ComponentModel.Win32Exception] $LastError).Message)"
0 commit comments