Skip to content

Commit

Permalink
Updated w/SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Davis committed Nov 13, 2015
1 parent 1a10107 commit 040e34a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PowerCat can be used to transfer files using the -SendFile and -ReceiveFile para
```
Shells
------
PowerCat can be used to send and serve (Power)shells using the -Execute parameter.
PowerCat can be used to send and serve (Power)Shells using the -Execute parameter.
###
```powershell
# Serve a shell:
Expand All @@ -86,6 +86,21 @@ PowerCat supports more than sending data over TCP.
# Send Data Over SMB (easily sneak past firewalls):
Start-PowerCat -Mode Smb -PipeName PowerCat
```
SSL
-----------
PowerCat generates X509 certificates on-the-fly to provide SSL encryption of TCP connections.
###
```powershell
# Serve an SSL-Encrypted (Power)Shell:
Start-PowerCat -Mode Tcp -Port 80 -SslCn <Certificate Common Name> -Execute
# Connect to an SSL encrypted Ncat listener:
Ncat Setup:
openssl req -X509 -newkey rsa:2048 -subj /CN=PowerCat -days 90 -keyout key.pem -out cert.pem
ncat -l -p 80 --ssl --ssl-cert cert.pem --ssl-key key.pem
Connect-PowerCat -Mode Tcp -RemoteIp 10.1.1.1 -Port 80 -SslCn PowerCat
```
Relays
------
Relays in PowerCat are similar to netcat relays, but you don't have to create a file or start a second process. You can also relay data between connections of different protocols.
Expand Down

0 comments on commit 040e34a

Please sign in to comment.