windows 利用PowerShell收集域信息
有勇气的牛排
1071
Windows
2021-08-26 21:57:34
如果想执行一个PowerShell脚本,就要修改执行权限
查看当前权限:
Get-ExecutionPolicy
修改权限为 Unrestricted
Set-ExecutionPolicy Untestricted
PowerView脚本常用 P75 / 定位域管理员
https://github.com/PowerShellMafia/PowerSploit/tree/master/Recon
<p>如果想执行一个PowerShell脚本,就要修改执行权限</p>
<p>查看当前权限:</p>
<pre><div class="hljs"><code class="lang-shell">Get-ExecutionPolicy
</code></div></pre>
<p>修改权限为 Unrestricted</p>
<pre><div class="hljs"><code class="lang-shell">Set-ExecutionPolicy Untestricted
</code></div></pre>
<p>PowerView脚本常用 P75 / 定位域管理员</p>
<p>https://github.com/PowerShellMafia/PowerSploit/tree/master/Recon</p>
留言