{"id":25406000,"url":"https://github.com/nodauf/Go-RouterSocks","last_synced_at":"2025-10-31T01:31:53.604Z","repository":{"id":46970582,"uuid":"340656048","full_name":"nodauf/Go-RouterSocks","owner":"nodauf","description":"Router socks. One port socks for all the others. ","archived":false,"fork":false,"pushed_at":"2024-05-22T20:56:03.000Z","size":314,"stargazers_count":64,"open_issues_count":2,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-18T22:59:13.451Z","etag":null,"topics":["pentest","router","socks","tunnel"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodauf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-20T13:02:39.000Z","updated_at":"2024-06-07T11:23:01.000Z","dependencies_parsed_at":"2024-06-18T22:37:03.124Z","dependency_job_id":"919bc79a-912f-4796-b44e-65ff9a346649","html_url":"https://github.com/nodauf/Go-RouterSocks","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodauf%2FGo-RouterSocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodauf%2FGo-RouterSocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodauf%2FGo-RouterSocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodauf%2FGo-RouterSocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodauf","download_url":"https://codeload.github.com/nodauf/Go-RouterSocks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239088382,"owners_count":19579434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pentest","router","socks","tunnel"],"created_at":"2025-02-16T05:04:08.619Z","updated_at":"2025-10-31T01:31:53.237Z","avatar_url":"https://github.com/nodauf.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Router socks\n======\n\nThe next step after compromising a machine is to enumerate the network behind. Many tools exist to expose a socks port on the attacker's machine and send all the traffic through a tunnel to the compromised machine. When several socks ports are available, we have to manage different proxychains configuration to choose the targeted network. \nThis tool will expose one socks port and route the traffic through the configured path.\n\n\nThe idea came after using [chisel](https://github.com/jpillora/chisel). Chisel is really helpful but it can get hard to manage many clients as it is opening a new socks port for each new client with reverse mode.\n\n![Schema](./images/schema.png)\n\n## Usage\n\nStart the socks server:\n\n```\nUsage:\n  rsocks [flags]\n\nFlags:\n  -h, --help        help for rsocks\n  -i, --ip string   IP for socks5 server (default \"0.0.0.0\")\n  -p, --port int    Socks5 port (default 1080)\n```\nDefine the routes:\n```\nRouterSocks\u003e help\nroute: Manage route to socks servers\nchisel: Liste chisel socks server on localhost\nhelp: help command\nRouterSocks\u003e route add 192.168.1.0/24 10.0.0.1:1081\n[*] Successfull route added\nRouterSocks\u003e chisel\n[0] 127.0.0.1:1081\nRouterSocks\u003e route add 192.168.2.0/24 0\n[*] Successfull route added\nRouterSocks\u003e route\n192.168.1.0/24 =\u003e 10.0.0.1:1081\n192.168.2.0/24 =\u003e 127.0.0.1:1081\n```\n\n## Features\n- Route network through remote or local socks server\n- Use chisel session ID\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodauf%2FGo-RouterSocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodauf%2FGo-RouterSocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodauf%2FGo-RouterSocks/lists"}