Skip to content

Commit

Permalink
had an extra space on ih8ps enumerator's commented verison.
Browse files Browse the repository at this point in the history
  • Loading branch information
133794m3r committed Mar 9, 2020
1 parent 8f4e55c commit 56a15a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ih8ps_service_injection_enumerator.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $services=(Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Services' | Get-ItemPro
# 3) finds the string "Hector"(our user's name) in it.
# If it doesn't we don't match anything.
#>
$current_acl=(get-acl " HKLM:\SYSTEM\CurrentControlset\services\$service"| format-list | findstr "$user")
$current_acl=(get-acl "HKLM:\SYSTEM\CurrentControlset\services\$service"| format-list | findstr "$user")
#Check to make sure that it has the word Full in it.
if ($current_acl -match "Full"){
<#
Expand Down

0 comments on commit 56a15a6

Please sign in to comment.