Update PowerHuntShares.psm1

This commit is contained in:
Scott Sutherland 2022-04-07 15:33:58 -05:00 committed by GitHub
parent af0c4bc9df
commit e839a19177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
#-------------------------------------- #--------------------------------------
# Author: Scott Sutherland, 2022 NetSPI # Author: Scott Sutherland, 2022 NetSPI
# License: 3-clause BSD # License: 3-clause BSD
# Version: v1.21 # Version: v1.22
# dont use ping filter for 445, add custom user group option, and potentially identify groups that have large 20% of domain user members (make this configrable) # dont use ping filter for 445, add custom user group option, and potentially identify groups that have large 20% of domain user members (make this configrable)
# References: This script includes code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell. # References: This script includes code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell.
function Invoke-HuntSMBShares function Invoke-HuntSMBShares
@ -1083,7 +1083,7 @@ function Invoke-HuntSMBShares
# Return object # Return object
$Object $Object
} | sort SubnetAclCount } | sort AclCount -Descending
# Status User # Status User
$Time = Get-Date -UFormat "%m/%d/%Y %R" $Time = Get-Date -UFormat "%m/%d/%Y %R"