{"id":19111615,"url":"https://github.com/horizon-nth/secure-netcat","last_synced_at":"2026-04-26T08:37:41.972Z","repository":{"id":224236349,"uuid":"761928220","full_name":"Horizon-NTH/Secure-netcat","owner":"Horizon-NTH","description":"A client/server application implemented using Netcat, featuring RSA-encrypted communication.","archived":false,"fork":false,"pushed_at":"2024-02-28T16:26:37.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T03:08:06.878Z","etag":null,"topics":["communication","encryption","netcat","rsa","server-client","shell","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Horizon-NTH.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-02-22T18:48:01.000Z","updated_at":"2024-05-31T15:46:22.000Z","dependencies_parsed_at":"2024-02-28T17:37:44.900Z","dependency_job_id":null,"html_url":"https://github.com/Horizon-NTH/Secure-netcat","commit_stats":null,"previous_names":["horizon-nth/secure-netcat"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Horizon-NTH/Secure-netcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horizon-NTH%2FSecure-netcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horizon-NTH%2FSecure-netcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horizon-NTH%2FSecure-netcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horizon-NTH%2FSecure-netcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Horizon-NTH","download_url":"https://codeload.github.com/Horizon-NTH/Secure-netcat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horizon-NTH%2FSecure-netcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32291193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["communication","encryption","netcat","rsa","server-client","shell","terminal"],"created_at":"2024-11-09T04:29:11.721Z","updated_at":"2026-04-26T08:37:41.957Z","avatar_url":"https://github.com/Horizon-NTH.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secure-netcat\n\n[![Release](https://img.shields.io/badge/Release-v1.0-blueviolet)](https://github.com/Horizon-NTH/Secure-netcat/releases)\n[![Language](https://img.shields.io/badge/Language-Bash-0052cf)](https://en.wikipedia.org/wiki/Bash_(Unix_shell))\n[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)\n\n## Introduction\n\nSecure-netcat is a client/server application implemented using Netcat, featuring RSA-encrypted communication and password protection.\n\n\u003e ⚠️ **Note**: These scripts must be run on an environment where FIFOs (named pipes) are supported.\n\n## Installation Instructions\n\nYou can simply install the release version [here](https://github.com/Horizon-NTH/Secure-netcat/releases).\n\n### Get Source Code\n\nFirst, clone the repository using [git](https://git-scm.com).\n\n```bash\ngit clone https://github.com/Horizon-NTH/Secure-netcat.git\n```\n\n## Documentation\n\nThere are two scripts provided: one for the server and one for the client, allowing you to establish a secure connection.\n\n### Server\n\nThe script `server.sh` starts the server. If it's the first time running it, you will be prompted to create a \n**password** for the server; otherwise, it will start without any prompts.\n\n```bash\n$ ./server.sh\n\u003e\u003e\u003eInitialization\nPlease enter the password:\nPlease retype the password:\n\u003e\u003e\u003ePassword changed\n\u003e\u003e\u003eServer initialized\n```\n\nThe server notifies when users connect or disconnect.\n\n```bash\n@server:Wed Feb 28 04:55:36 PM CET 2024! User connected\n@server:Wed Feb 28 05:05:12 PM CET 2024! User disconnected\n```\n\nHere are the available arguments for the server script:\n\n| Options |                Usage                 |\n|:-------:|:------------------------------------:|\n|    n    | Create a new password for the server |\n|    i    |     Set the server's IP address      |\n|    p    |        Set the server's port         |\n\n### Client\n\nThe script `client.sh` allows you to connect to an existing [server](#server). \nIf the server is down or the connection is impossible, the script will terminate.\n\n```bash\n$ ./client.sh\n\u003e\u003e\u003eThe server is down\n```\n\nIf the server is running, you will be prompted for the password before gaining access to the server's CLI.\n\n```bash\n./client.sh\n\u003e\u003e\u003eThe server is up\n\u003e\u003e\u003eConnecting\n\n__        __   _\n\\ \\      / /__| | ___ ___  _ __ ___   ___\n \\ \\ /\\ / / _ \\ |/ __/ _ \\|\\'_ ` _ \\ / _ \\\n  \\ V  V /  __/ | (_| (_) | | | | | |  __/\n   \\_/\\_/ \\___|_|\\___\\___/|_| |_| |_|\\___|\n\nPlease enter the password:\n\u003e\u003e\u003eConnected\n@user:Wed Feb 28 04:55:35 PM CET 2024$\n```\n\nHere are the available arguments for the client script:\n\n| Options |                          Usage                          |\n|:-------:|:-------------------------------------------------------:|\n|    i    | Set the IP address of the server you want to connect to |\n|    p    |    Set the port of the server you want to connect to    |\n\n### Usage\n\nOnce the [client](#client) is connected to a [server](#server), \nthe user can execute any command as if they were directly on the server:\n\n```bash\n@user:Wed Feb 28 05:07:59 PM CET 2024$ ls\nclient.sh\nLICENSE\nREADME.md\nserver.sh\n@user:Wed Feb 28 05:08:00 PM CET 2024$ cd .. \u0026\u0026 ls\nSecure-netcat\n```\n\n\u003e **Note**: All communications between the server and the client are encrypted.\n\n## Dependencies\n\n- **[netcat](https://en.wikipedia.org/wiki/Netcat)**: Used for communication. Make sure to use the OpenBSD version for compatibility.\n\n- **[openssl](https://www.openssl.org)**: Used for encryption.\n\n- **[figlet](https://en.wikipedia.org/wiki/FIGlet)** [Optional]: Used for displaying a welcome message.\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorizon-nth%2Fsecure-netcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorizon-nth%2Fsecure-netcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorizon-nth%2Fsecure-netcat/lists"}