Skip to content

Commit

Permalink
Search for local admin access
Browse files Browse the repository at this point in the history
  • Loading branch information
HitmanAlharbi authored Mar 7, 2022
1 parent 829e158 commit 53e0dba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,21 @@ Get-ADComputer -filter * -properties passwordlastset,description | ft Name, pass
 


**[+] Search for local admin access (Need PowerView.ps1)**

```powershell
// Get all computers from specific domain
$computers = Get-NetComputer -Domain hitman.msp.local
// Use Invoke-Command to check if you can execute command on them
Invoke-Command -ErrorAction SilentlyContinue -ScriptBlock{ hostname } -Computer ($computers.dnshostName)
```

 


**[+] enum SMB shares using smbclient (Smbclient available in Kali Linux)**

```powershell
Expand Down

0 comments on commit 53e0dba

Please sign in to comment.