Skip to content

purpose233/socket-traversal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket-traversal

What is Socket-traversal?

Socket-traversal is a simple tool to perform UDP/TCP internal network penetration.

Installation

git clone https://github.com/purpose233/socket-traversal.git
cd ./socket-traversal
npm install

Usage

Server side:

node ./src/server -c <serverConfigFilePath>

A demo of server config file is shown as follow:

{
  "common": {
    "bindPort": 7000
  },
  "tcp": [
    {
      "listenPort": 7005
    }
  ],
  "udp": [
    {
      "listenPort": 7010
    }
  ]
}

Client side:

node ./src/client -c <clientConfigFilePath>

A demo of client config file is shown as follow:

{
  "common": {
    "serverIP": "127.0.0.1",
    "serverPort": 7000
  },
  "tcp": [
    {
      "localPort": 11111,
      "remotePort": 7005
    }
  ],
  "udp": [
    {
      "localPort": 11112,
      "remotePort": 7010
    }
  ]
}

About

A tool for UDP/TCP internal network penetration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published