{"id":28159665,"url":"https://github.com/dobin/disablewinr","last_synced_at":"2025-08-26T15:20:00.923Z","repository":{"id":293118473,"uuid":"982996552","full_name":"dobin/DisableWinR","owner":"dobin","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-13T18:37:26.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T19:39:13.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dobin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2025-05-13T18:06:08.000Z","updated_at":"2025-05-13T18:37:29.000Z","dependencies_parsed_at":"2025-05-13T19:39:14.778Z","dependency_job_id":"dcebfc52-046a-4cf2-bfbb-718af7e8c078","html_url":"https://github.com/dobin/DisableWinR","commit_stats":null,"previous_names":["dobin/disablewinr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dobin/DisableWinR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2FDisableWinR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2FDisableWinR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2FDisableWinR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2FDisableWinR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dobin","download_url":"https://codeload.github.com/dobin/DisableWinR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2FDisableWinR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272233502,"owners_count":24896827,"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-26T02:00:07.904Z","response_time":60,"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":[],"created_at":"2025-05-15T10:11:20.539Z","updated_at":"2025-08-26T15:20:00.914Z","avatar_url":"https://github.com/dobin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disable Win-R\n\nThis disables the `Win-R` shortcut, which is used to open the Run dialog in Windows. \n\nBecause of how common ClickFix execbait attacks are.\n\nNo more: \n\n![phishing](https://github.com/dobin/DisableWinR/blob/master/verification.png?raw=true)\n\nUpdate: Can disable it in windows, see [this toot](https://infosec.exchange/@mttaggart/114503066592856224):\n\n`HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\CurrentVersion\\Explorer\\Advanced\\DisabledHotkeys = R`.\n\n\n# Usage\n\nExecute as user. No privileges are required.\n\nWin-R is only blocked as long as the program is running. \n\nStart:\n```\n\u003e DisableWinR.exe\n\nHook installed.\nBlocked Win+R\nBlocked Win+R\n```\n\nTo open a URL in the browser when `Win-R` is pressed, \ngive URL as first argument:\n```\n\u003e DisableWinR.exe https://example.com\n```\n\nTo make it start but not do anything:\n```\n\u003e DisableWinR.exe --disable https://example.com\n\u003e DisableWinR.exe --disable\n```\n\n\n# How it works\n\nIt will silently eat the `R` when `Win` is pressed.\n\nUsing `SetWindowsHookEx()` callback. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobin%2Fdisablewinr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobin%2Fdisablewinr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobin%2Fdisablewinr/lists"}