Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 571 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 571 Bytes

Port Forwarding using Ruby

port-forward forwards(obviously) an incomming TCP connection on a specific port to another local/remote port

Note: Type 'exit' or 'quit' to exit the script safely (wont exit your netcat session)

OS Support

  • port-forward.rb
    • Support all OS's if ruby installed
  • port-farward.exe
    • Support Windows (Portable - no ruby required)

Usage

ruby port-forward.rb <LPORT>:<RHOST>:<RPORT>

Example

$> ruby port-forward.rb 80:localhost:8080

or

$> ruby port-forward.rb 4444:192.168.100.17:4444