Skip to content

nfredrik/ruby-port-forward

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

an easy way to port forwarding using ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%