{"id":27329224,"url":"https://github.com/tajiknomi/tcphostcli_windows","last_synced_at":"2025-08-26T12:04:57.574Z","repository":{"id":247882667,"uuid":"823578315","full_name":"tajiknomi/tcpHostCLI_windows","owner":"tajiknomi","description":"Simple TCP Server to handle multiple reverse connection/sessions","archived":false,"fork":false,"pushed_at":"2025-01-02T10:48:36.000Z","size":265,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T11:39:30.701Z","etag":null,"topics":["cpp","netcat","pen-testing","remote-shell","reverse-connection","socket-programming","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tajiknomi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-03T09:49:07.000Z","updated_at":"2025-01-30T04:20:13.000Z","dependencies_parsed_at":"2025-02-05T05:15:26.217Z","dependency_job_id":null,"html_url":"https://github.com/tajiknomi/tcpHostCLI_windows","commit_stats":null,"previous_names":["tajiknomi/tcpservercli","tajiknomi/tcphostcli_windows"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tajiknomi/tcpHostCLI_windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tajiknomi%2FtcpHostCLI_windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tajiknomi%2FtcpHostCLI_windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tajiknomi%2FtcpHostCLI_windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tajiknomi%2FtcpHostCLI_windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tajiknomi","download_url":"https://codeload.github.com/tajiknomi/tcpHostCLI_windows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tajiknomi%2FtcpHostCLI_windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272218899,"owners_count":24894304,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp","netcat","pen-testing","remote-shell","reverse-connection","socket-programming","windows"],"created_at":"2025-04-12T12:21:20.322Z","updated_at":"2025-08-26T12:04:57.303Z","avatar_url":"https://github.com/tajiknomi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Intro\n\nnetcat is mostly used for reverse connection but it's limited to handling only one connection at a time. This utility offers a more convenient way to manage multiple sessions within a single terminal, allowing you to listen for and handle incoming connections simultaneously.\n\n## How to build\n\n```\n$ cd TCPServerCLI \u0026\u0026 mkdir build \u0026\u0026 cd build\n$ cmake ..\n$ cmake --build . --config Release\n```\n\nYou can specify the [cmake-generator](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html) to create configuration files for your build system. some examples are given below\n\n```\n$ cmake -G \"Visual Studio 16 2019\" -A x64 ..\n$ cmake -A x64 ..\n$ cmake -A Win32 ..\n```\n## Usage\n```\n$ TCPServerCLI.exe \u003cport\u003e\n```\nThe tool accepts two commands\n```\n# Specify the [id] of the connected client/session\n1) select client [id]\n\n# Disconnect from client/session\n2) exit\n```\n\n## Screenshots\nWaiting for clients to connect, two clients are shown below as connected\n\n![Alt text](/screenshots/1.JPG?raw=true \"Optional Title\")\n\nClient 0 is selected for communication\n\n![Alt text](/screenshots/2.JPG?raw=true \"Optional Title\")\n\nUpgrading a simple reverse shell to a fully interactive tty on client 1\n\n![Alt text](/screenshots/3.JPG?raw=true \"Optional Title\")\n\n## Note\nIt is better to use [MINGW](https://www.mingw-w64.org/)/[GIT](https://git-scm.com/download/win)/[WSL](https://learn.microsoft.com/en-us/windows/wsl/about) terminal because it can handle interactive shell for all OS's, while the native Windows command prompt i.e. cmd and PowerShell environments do not natively support PTYs in the same way as Linux. They use different mechanisms for terminal emulation and may not fully support all PTY features expected by applications like pty.spawn()\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftajiknomi%2Ftcphostcli_windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftajiknomi%2Ftcphostcli_windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftajiknomi%2Ftcphostcli_windows/lists"}