Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p3nt4/Invoke-Piper
Forward local or remote tcp ports through SMB pipes.
https://github.com/p3nt4/Invoke-Piper
network powershell security
Last synced: 3 days ago
JSON representation
Forward local or remote tcp ports through SMB pipes.
- Host: GitHub
- URL: https://github.com/p3nt4/Invoke-Piper
- Owner: p3nt4
- Created: 2017-08-03T08:06:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-07T19:07:01.000Z (over 3 years ago)
- Last Synced: 2024-06-06T17:55:04.237Z (5 months ago)
- Topics: network, powershell, security
- Language: PowerShell
- Homepage:
- Size: 14.6 KB
- Stars: 293
- Watchers: 18
- Forks: 60
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Piper
Forward local or remote tcp ports through SMB pipes.## EXAMPLES
### Local port forwarding through pipe testPipe: -L 33389:127.0.0.1:3389
```
SERVER: Invoke-PiperServer -bindPipe testPipe -destHost 127.0.0.1 -destPort 3389
CLIENT: net use \\serverIP /USER:User (OPTIONAL)
CLIENT: Invoke-PiperClient -destPipe testPipe -pipeHost serverIP -bindPort 33389
```### Admin only remote port forwarding through pipe testPipe: -R 33389:127.0.0.1:3389
```
SERVER: Invoke-PiperServer -remote -bindPipe testPipe -bindPort 33389 -security Administrators
CLIENT: net use \\serverIP /USER:User (OPTIONAL)
CLIENT: Invoke-PiperClient -remote -destPipe testPipe -pipeHost serverIP -destHost 127.0.0.1 -destPort 3389
```### Dynamic port forwarding (using https://github.com/p3nt4/Invoke-SocksProxy): -D 1234
```
SERVER: Invoke-SocksProxy -bindPort 1234
SERVER: Invoke-PiperServer -bindPipe testPipe -destHost 127.0.0.1 -destPort 1234
CLIENT: net use \\serverIP /USER:User (OPTIONAL)
CLIENT: Invoke-PiperClient -destPipe testPipe -pipeHost serverIP -bindPort 1234
```## Issues
Protocols requiring a big amount of parallel connections may exhaust all named pipes available to the system.