| title |
|---|
Windows Commands for Pentesters |
- Revshells
- shell one-liner
- Invoke-PowerShellTcp.ps1
nc -lvp 4444
| <# | |
| For a single share: | |
| Get-SmbFiles -SmbShare "\\server\share" | |
| For shares from a file: | |
| Get-SmbFiles -SharesFile "path_to_file_with_shares.txt" | |
| #> | |
| function Get-SmbFiles { | |
| [CmdletBinding()] | |
| param ( |
| title |
|---|
Windows Commands for Pentesters |
nc -lvp 4444