Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Mar 18, 2016
1 parent be85b7e commit 79f9675
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/proxying/tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The following example module won't do anything but dumping the data being transm

If you want to load such module and dump all the ( let's say ) MySQL traffic from/to the `mysql.example.com` host you would do:

sudo bettercap --tcp-proxy --tcp-proxy-module example.rb --tcp-proxy-upstream-address mysql.example.com --tcp-proxy-upstream-port 3306
sudo bettercap --tcp-proxy-module example.rb --tcp-proxy-upstream mysql.example.com:3306

And you would be ready to go.

Expand All @@ -38,3 +38,7 @@ Set TCP proxy upstream server address.
### `--tcp-proxy-upstream-port PORT`

Set TCP proxy upstream server port.

### `--tcp-proxy-upstream ADDRESS:PORT`

Set TCP proxy upstream server address and port ( shortcut for `--tcp-proxy-upstream-address ADDRESS` and `--tcp-proxy-upstream-port PORT` ).

0 comments on commit 79f9675

Please sign in to comment.