mirror of
https://github.com/NetSPI/PowerHuntShares.git
synced 2025-05-05 03:38:42 +02:00
Update README.md
This commit is contained in:
parent
9c944c659d
commit
72ef74b512
12
README.md
12
README.md
@ -40,6 +40,18 @@ In the context of this report, high risk shares have been defined as shares that
|
||||
By default, that includes the shares <pre> wwwroot, inetpub, c$, and admin$ </pre>
|
||||
However, additional exposures may exist that are not called out beyond that.
|
||||
|
||||
# Setup Commands
|
||||
<pre>
|
||||
Set-ExecutionPolicy -Scope Process Bypass
|
||||
Import-Module .\PowerHuntShares.psm1
|
||||
</pre>
|
||||
or
|
||||
<pre>
|
||||
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
|
||||
[Net.ServicePointManager]::SecurityProtocol =[Net.SecurityProtocolType]::Tls12
|
||||
IEX(New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/NetSPI/PowerHuntShares/main/PowerHuntShares.psm1")
|
||||
</pre>
|
||||
|
||||
# Example Commands
|
||||
Important Note: All commands should be run as an unprivileged domain user.
|
||||
<pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user