{"id":16930836,"url":"https://github.com/notoriousrebel/remapper","last_synced_at":"2025-10-26T23:07:29.880Z","repository":{"id":127622516,"uuid":"208164249","full_name":"NotoriousRebel/Remapper","owner":"NotoriousRebel","description":"A simple script to shim aliases","archived":false,"fork":false,"pushed_at":"2019-11-24T22:17:17.000Z","size":37,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T06:39:42.987Z","etag":null,"topics":["powershell","redteam","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/NotoriousRebel.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":"2019-09-12T23:39:37.000Z","updated_at":"2025-02-03T12:03:36.000Z","dependencies_parsed_at":"2023-08-16T23:02:16.647Z","dependency_job_id":null,"html_url":"https://github.com/NotoriousRebel/Remapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotoriousRebel/Remapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FRemapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FRemapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FRemapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FRemapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotoriousRebel","download_url":"https://codeload.github.com/NotoriousRebel/Remapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FRemapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281185454,"owners_count":26457747,"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-10-26T02:00:06.575Z","response_time":61,"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":["powershell","redteam","windows"],"created_at":"2024-10-13T20:42:36.973Z","updated_at":"2025-10-26T23:07:29.847Z","avatar_url":"https://github.com/NotoriousRebel.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remapper\r\n\r\nPowerShell script that will shim aliases throughout PowerShell sessions through the use\r\nof PowerShell profiles.\r\n\r\n## Why\r\n\r\nThis is an interesting technique that red teamers can use to maintain persistence as well\r\nas achieve code execution.\r\n\r\nSee more here [Abusing_Aliases](https://notoriousrebel.space/2019-11-24-using-and-abusing-aliases-with-powershell/)\r\n\r\n## How to Use?\r\n\r\nEdit the first few lines where functions are defined this is where\r\nyou want to modify the functions. After that make sure\r\nwith the shimmed_alias function after \\$value you put\r\nyour functions if you modified their names or added\r\nor removed any. After that simply run the script.\r\n\r\n## License\r\n\r\nThis project is licensed under the BSD 3-Clause License -\r\nsee the [License](LICENSE) file for details\r\n\r\n### Roadmap\r\n\r\n- [ ] Add option to shim aliases for Command Prompt Sessions\r\n- [ ] Research if shimming built in PowerShell functions if feasible\r\n- [ ] Add option to deploy through CLR hooking instead of PowerShell Profile\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotoriousrebel%2Fremapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotoriousrebel%2Fremapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotoriousrebel%2Fremapper/lists"}