{"id":50793949,"url":"https://github.com/qrxnz/mremotedec","last_synced_at":"2026-06-12T13:01:14.048Z","repository":{"id":354353005,"uuid":"1220953815","full_name":"qrxnz/mremotedec","owner":"qrxnz","description":"A simple tool to decrypt mRemoteNG connection files (.xml)","archived":false,"fork":false,"pushed_at":"2026-06-04T10:56:23.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-04T12:18:59.491Z","etag":null,"topics":["cross-platform","crossplatform","decrypt","decryption","decryptor","go","golang","hacking","hacking-tool","hacking-tools","mremoteng"],"latest_commit_sha":null,"homepage":"","language":"Go","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/qrxnz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T15:02:07.000Z","updated_at":"2026-06-04T10:55:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qrxnz/mremotedec","commit_stats":null,"previous_names":["qrxnz/mremotedec"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/qrxnz/mremotedec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrxnz%2Fmremotedec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrxnz%2Fmremotedec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrxnz%2Fmremotedec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrxnz%2Fmremotedec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qrxnz","download_url":"https://codeload.github.com/qrxnz/mremotedec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrxnz%2Fmremotedec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34245218,"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-12T02:00:06.859Z","response_time":109,"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":["cross-platform","crossplatform","decrypt","decryption","decryptor","go","golang","hacking","hacking-tool","hacking-tools","mremoteng"],"created_at":"2026-06-12T13:01:08.121Z","updated_at":"2026-06-12T13:01:09.054Z","avatar_url":"https://github.com/qrxnz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mremotedec\n\n\u003ch3 align=\"center\"\u003e\n  \u003cdiv\u003e\n    \u003ca href=\"https://github.com/qrxnz/mremotedec/issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/qrxnz/mremotedec?color=fab387\u0026labelColor=303446\u0026style=for-the-badge\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/qrxnz/mremotedec/stargazers\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/qrxnz/mremotedec?color=ca9ee6\u0026labelColor=303446\u0026style=for-the-badge\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/qrxnz/mremotedec/actions/workflows/go.yml\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/qrxnz/mremotedec/go.yml?color=a6e3a1\u0026labelColor=303446\u0026style=for-the-badge\u0026label=Go%20Workflow\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/qrxnz/mremotedec/blob/main/.github/LICENCE\"\u003e\n        \u003cimg src=\"https://img.shields.io/static/v1.svg?style=for-the-badge\u0026label=License\u0026message=MIT\u0026logoColor=ca9ee6\u0026colorA=313244\u0026colorB=cba6f7\"/\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n    \u003c/div\u003e\n\u003c/h3\u003e\n\n\u003e A simple tool to decrypt mRemoteNG connection files (`.xml`).\n\nmremotedec started as a side idea while solving a [VulnLab](https://vulnlab.com) machine. After fighting with clunky tooling for long enough, I decided to write my own — minimal, clean, and built the way I wanted it to work.\n\nBig shoutout to [x4nt0n](https://x.com/x4nt0n?s=21) for solving the \"Lock\" together with me 💖\n\n\u003cimg width=\"1186\" height=\"297\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/eafeca68-23ff-4380-a924-338e52b8fa02\" /\u003e\n\n## 🧰 Features\n\n- Supports **CBC** and **GCM** decryption modes.\n- Handles **Full File Encryption**.\n- Output in human-readable format or **CSV**.\n- Written in Go for easy portability.\n\n## 🛠️ Installation\n\n### 📦 Binary Releases\n\nPre-compiled binaries for Linux, Windows, and macOS are available on the [Releases](https://github.com/qrxnz/mremotedec/releases) page.\n\n### 🐹Using Go\n\nYou can install `mremotedec` directly using `go install`:\n\n```bash\ngo install github.com/qrxnz/mremotedec@latest\n```\n\n### 🏗️ Build from Source\n\nTo build from source, you need to have [Go](https://go.dev/) installed.\n\n```bash\ngit clone https://github.com/qrxnz/mremotedec.git\ncd mremotedec\ngo build -o mremotedec .\n```\n\nAlternatively, if you have [Task](https://taskfile.dev/) installed, you can use:\n\n```bash\ntask build\n```\n\n### ❄️ Using Nix\n\n- **Run without installing**\n\n```bash\nnix run github:qrxnz/mremotedec\n```\n\n- **Add to a Nix Flake**\n\nAdd input in your flake like:\n\n```nix\n{\n inputs = {\n   mremotedec = {\n     url = \"github:qrxnz/mremotedec\";\n     inputs.nixpkgs.follows = \"nixpkgs\";\n   };\n };\n}\n```\n\nWith the input added you can reference it directly:\n\n```nix\n{ inputs, system, ... }:\n{\n  # NixOS\n  environment.systemPackages = [ inputs.mremotedec.packages.${pkgs.system}.default ];\n  # home-manager\n  home.packages = [ inputs.mremotedec.packages.${pkgs.system}.default ];\n}\n```\n\n- **Install imperatively**\n\n```bash\nnix profile install github:qrxnz/mremotedec\n```\n\n## 📖 Usage\n\n### ⊹ ࣪ ˖ Basic Usage\n\nDecrypt a standard `confCons.xml` file using the default mRemoteNG password (`mR3m`):\n\n```bash\nmremotedec confCons.xml\n```\n\n### 🔐 Custom Password\n\nIf you set a custom password in mRemoteNG, use the `-p` or `-password` flag:\n\n```bash\nmremotedec -p \"your_custom_password\" confCons.xml\n```\n\n### 🧾 CSV Output\n\nExport the decrypted connections to a CSV file:\n\n```bash\nmremotedec -csv confCons.xml \u003e connections.csv\n```\n\n## ❓ How it works\n\nmRemoteNG uses different encryption methods based on its configuration:\n\n- **Legacy (CBC):** Uses AES-CBC with an MD5-hashed password.\n- **Modern (GCM):** Uses AES-GCM with PBKDF2 (SHA1) key derivation.\n\n`mremotedec` automatically detects the encryption mode from the XML attributes (`BlockCipherMode`) and attempts to decrypt accordingly.\n\n## 🗒️ Credits\n\n### 🎨 Inspiration\n\nI was inspired by:\n\n- [gquere/mRemoteNG_password_decrypt](https://github.com/gquere/mRemoteNG_password_decrypt)\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrxnz%2Fmremotedec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqrxnz%2Fmremotedec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrxnz%2Fmremotedec/lists"}