Skip to content

Commit 3585c9b

Browse files
committed
Add missing parenthesis
1 parent 7dfbb05 commit 3585c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Recon/PowerView.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7722,7 +7722,7 @@ function Get-NetLocalGroup {
77227722
$Offset += $Increment
77237723

77247724
$SidString = ""
7725-
$Result2 = $Advapi32::ConvertSidToStringSid($Info.lgrmi2_sid, [ref]$SidString);$LastError = [Runtime.InteropServices.Marshal]::GetLastWin32Error
7725+
$Result2 = $Advapi32::ConvertSidToStringSid($Info.lgrmi2_sid, [ref]$SidString);$LastError = [Runtime.InteropServices.Marshal]::GetLastWin32Error()
77267726

77277727
if($Result2 -eq 0) {
77287728
Write-Verbose "Error: $(([ComponentModel.Win32Exception] $LastError).Message)"

0 commit comments

Comments
 (0)