{"id":15148645,"url":"https://github.com/rsrdjan/srsh","last_synced_at":"2026-02-08T00:31:05.338Z","repository":{"id":232784744,"uuid":"785187929","full_name":"rsrdjan/srsh","owner":"rsrdjan","description":"Secure Reverse Shell","archived":false,"fork":false,"pushed_at":"2024-04-15T20:37:15.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T10:11:53.825Z","etag":null,"topics":["libcrypto","libssl","openbsd","shell"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsrdjan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-04-11T11:30:17.000Z","updated_at":"2024-10-29T19:22:55.000Z","dependencies_parsed_at":"2024-04-15T21:29:48.097Z","dependency_job_id":null,"html_url":"https://github.com/rsrdjan/srsh","commit_stats":null,"previous_names":["rsrdjan/srsh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsrdjan/srsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fsrsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fsrsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fsrsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fsrsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsrdjan","download_url":"https://codeload.github.com/rsrdjan/srsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fsrsh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29214394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["libcrypto","libssl","openbsd","shell"],"created_at":"2024-09-26T13:21:24.632Z","updated_at":"2026-02-08T00:31:05.323Z","avatar_url":"https://github.com/rsrdjan.png","language":"C","readme":"## srsh\r\n### Secure Reverse Shell\r\n\r\nSimple TLS-enabled reverse shell framework (agent and server)\r\n\r\n## Installation\r\n```\r\ngit clone https://github.com/rsrdjan/srsh.git\r\ncd srsh\r\nmake all\r\n```\r\nYou can `make` individual components or `all`. Individual components are:\r\n\r\n`make cert` - invocates `openssl` command-line tool to generate self-signed x509 certificate and private key (both needed for `srsh-server`) in interactive mode. Certificate outputs to `cert.crt` file and private key to `priv.key` file.\r\n\r\n`make server` - builds server\r\n\r\n`make agent` - builds agent\r\n\r\n`make clean` - removes object files\r\n\r\n## Usage\r\n\r\n#### Server\r\n\r\n```\r\nsrsh-server -c certfile -k privkeyfile [-p port]\r\n```\r\nLoads `certfile` and `privkeyfile` previously generated with `make cert` and starts listening on `port`. If `port` is omitted, 1982 is the default one. \r\n\r\n#### Agent\r\n\r\n```\r\nsrsh-agent [-p port] ip/fqdn\r\n```\r\nConnects to `ip/fqdn` on `port`. If `port` is omitted, 1982 is the default one. Agent forks and goes into background.\r\n\r\n## Notes\r\n\r\nList of changes is contained in [changelog](CHANGELOG.md).\r\n\r\nTested on [OpenBSD](https://www.openbsd.org) and Linux. Enjoy.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsrdjan%2Fsrsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsrdjan%2Fsrsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsrdjan%2Fsrsh/lists"}