{"id":18329798,"url":"https://github.com/ctfd/snicat","last_synced_at":"2026-03-09T00:31:57.853Z","repository":{"id":57661563,"uuid":"365833790","full_name":"CTFd/snicat","owner":"CTFd","description":"TLS \u0026 SNI aware netcat","archived":false,"fork":false,"pushed_at":"2024-10-23T20:21:16.000Z","size":14,"stargazers_count":41,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T01:32:42.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CTFd.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":"2021-05-09T19:39:23.000Z","updated_at":"2025-03-09T08:11:50.000Z","dependencies_parsed_at":"2024-10-23T18:24:43.093Z","dependency_job_id":"21ec2c08-3736-41db-aad7-13f537bbc91f","html_url":"https://github.com/CTFd/snicat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CTFd/snicat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2Fsnicat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2Fsnicat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2Fsnicat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2Fsnicat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CTFd","download_url":"https://codeload.github.com/CTFd/snicat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2Fsnicat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263957845,"owners_count":23535605,"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":[],"created_at":"2024-11-05T19:18:42.198Z","updated_at":"2026-03-09T00:31:57.798Z","avatar_url":"https://github.com/CTFd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snicat\n\nsnicat is a TLS aware netcat.\n\nIt is specifically designed for connecting to services using SNI multiplexing (TLS virtual hosts). That is multiple services using a single port behind a reverse proxy.\n\n```\n./sc \u003chostname\u003e \u003cport\u003e\n\nUsage of ./sc:\n  -b string\n        Shorthand for -bind\n  -bind string\n        Tunnel connection to a local unencrypted port (e.g. localhost:3000, 3000)\n  -insecure\n        Enable verification of server SSL certificate\n  -k    Shorthand for -insecure\n  -servername string\n        Server Name Indication (SNI) to provide to the server (e.g. ssl.example.com)\n  -sni string\n        Shorthand for -servername\n```\n\n# Install\n\nDownload the latest release from Github for your appropriate operating system.\n\nFor Linux and Mac the following commands should download snicat for you:\n\n```\nwget \"https://github.com/CTFd/snicat/releases/latest/download/sc_`uname`_`uname -m`\" -O sc\nchmod +x sc\n```\n\nFor Mac, you may need to remove the quarantine attribute by running:\n\n```\nxattr -d com.apple.quarantine sc\n```\n\nFor Windows, you can download the x64 exe [here](https://github.com/CTFd/snicat/releases/latest/download/sc_Windows_x86_64.exe) and then run it from the command prompt.\n\n# Examples\n\n## Basic Usage\n\n```\n./sc ssl.example.com\n```\n\n## Tunnel Remote Port Locally\n\n```\n./sc -bind 3000 ssl.example.com\n```\n\nThen you can subsequently connect to the remote host through a local proxy. For example:\n\n```\nnc localhost 3000\n```\n\n# Why would I need this?\n\n## TLS/SSL aware TCP servers\n\nSometimes, perhaps for CTFs, you may encounter services behind an SSL-enabled reverse proxy. Because the reverse proxy is encrypting the connection, it may be difficult for some tools (i.e. netcat) to connect and interact with the service.\n\nFor example, [slt](https://github.com/inconshreveable/slt) is a tool that provides an SNI proxy for arbitrary TCP services.\n\nsnicat can establish the encrypted connection and expose a local unencrypted connection or you can use snicat to do all your communication.\n\n## What if I dont want to install a new tool!\n\nYou don't have to! snicat is mostly an easier way to do something that you can probably already do.\n\n**OpenSSL**\n\n```\nopenssl s_client -connect ssl.example.com:443 -servername ssl.example.com -quiet\n```\n\n**Python**\n\nWe provide a [version of snicat written in Python](python) with no external dependencies that is easy to review and install.\n\n# Acknowledgements\n\nThe majority of the functionality provided by snicat is provided by [sclient](https://github.com/therootcompany/sclient). In the future we may choose to no longer rely on it but we thank it for providing initial code and inspiration.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctfd%2Fsnicat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctfd%2Fsnicat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctfd%2Fsnicat/lists"}