Skip to content

Commit b89e376

Browse files
Update PowerShell-OneLiners.txt
1 parent 1e4cc15 commit b89e376

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PowerShell-OneLiners.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PowerVeiw and output localy to disk for beacon:
2-
powershell -no -exec bypass -command "& {Import-Module .\PowerView.ps1; Invoke-UserHunter USRNAME | Out-File -Encoding Ascii USERNAME.txt}"
2+
powershell -no -exec bypass -command "& {Import-Module .\PowerView.ps1; Invoke-UserHunter USRNAME | Out-File -Encoding Ascii USERNAME.txt}"
33

44
Powerview UserHunting Search by keyword:
5-
powershell Get-NetUser -Filter "(description=*medical*)" | Select-Object -Prop samaccountname.description,title
6-
powershell Get-NetUser -Filter "(title=*medical*)" | Select-Object -Prop samaccountname.description,title
5+
powershell Get-NetUser -Filter "(description=*medical*)" | Select-Object -Prop samaccountname.description,title
6+
powershell Get-NetUser -Filter "(title=*medical*)" | Select-Object -Prop samaccountname.description,title
77

0 commit comments

Comments
 (0)