{"id":25625219,"url":"https://github.com/flipeador/node-win32-setwindowband","last_synced_at":"2025-07-24T00:37:41.337Z","repository":{"id":157621917,"uuid":"419974783","full_name":"flipeador/node-win32-setwindowband","owner":"flipeador","description":"Example using NodeJS with Frida to call SetWindowBand from `explorer.exe`.","archived":false,"fork":false,"pushed_at":"2025-02-19T18:52:18.000Z","size":61,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T09:56:31.514Z","etag":null,"topics":["frida","javascript","nodejs","setwindowband","win32","window-bands","windows","zbid"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/flipeador.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":"2021-10-22T05:18:04.000Z","updated_at":"2025-02-21T16:36:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"384be7e7-7079-4120-a1f2-0387e3318e95","html_url":"https://github.com/flipeador/node-win32-setwindowband","commit_stats":null,"previous_names":["flipeador/nodejs-frida-user32-setwindowband"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flipeador/node-win32-setwindowband","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fnode-win32-setwindowband","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fnode-win32-setwindowband/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fnode-win32-setwindowband/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fnode-win32-setwindowband/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flipeador","download_url":"https://codeload.github.com/flipeador/node-win32-setwindowband/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fnode-win32-setwindowband/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266774798,"owners_count":23982247,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["frida","javascript","nodejs","setwindowband","win32","window-bands","windows","zbid"],"created_at":"2025-02-22T14:09:03.690Z","updated_at":"2025-07-24T00:37:41.315Z","avatar_url":"https://github.com/flipeador.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Win32 SetWindowBand\n\nUse [Node.js][node] with [Frida][frida] to call `User32\\SetWindowBand` from `explorer.exe`.\n\nSee \u003chttps://blog.adeltax.com/window-z-order-in-windows-10\u003e.\n\n## Instructions\n\nInstall [pnpm][pnpm], then run the following command in the [Terminal][wt] to install [Node.js][node]:\n\n```sh\n# Install the latest version of NodeJS.\npnpm env use latest --global\n```\n\n[Clone][clone] this repository to your local computer, open the root directory with [Visual Studio Code][vs].\n\nRun the following command in the [VS Code Terminal][vt] to install all required dependencies:\n\n```sh\n# Install all dependencies for the project.\n# It will take a while until Frida is compiled.\npnpm install\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eExpand if errors occur during installation of Frida.\u003c/summary\u003e\n\n\u003e First try 1️⃣, if it still does not work try 2️⃣.\n\u003e\n\u003e 1️⃣ Update Frida to the latest version.\n\u003e\n\u003e ```sh\n\u003e # Update all dependencies to their latest versions.\n\u003e pnpm update --latest\n\u003e ```\n\u003e\n\u003e 2️⃣ Install an older version of [Node.js][node].\n\u003e\n\u003e ```sh\n\u003e # List remotely available Node.js versions.\n\u003e pnpm env list --remote\n\u003e\n\u003e # For example, install v22 if the latest version is v23.\n\u003e pnpm env use 22.14.0 --global\n\u003e\n\u003e # This should trigger the execution again.\n\u003e pnpm update frida\n\u003e ```\n\n\u003c/details\u003e\n\nRun the following command in the [VS Code Terminal][vt] to start the script:\n\n```sh\n# Run \"./src/index.js\".\n# HWND: A handle to the window.\n# BAND: One of the ZBID values.\nnode . HWND BAND\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eExpand to view a table of ZBID values (window bands).\u003c/summary\u003e\n\n\u003e | Value | Name |\n\u003e | :---: | --- |\n\u003e | 0 | ZBID_DEFAULT |\n\u003e | 1 | ZBID_DESKTOP |\n\u003e | 2 | ZBID_UIACCESS |\n\u003e | 3 | ZBID_IMMERSIVE_IHM |\n\u003e | 4 | ZBID_IMMERSIVE_NOTIFICATION |\n\u003e | 5 | ZBID_IMMERSIVE_APPCHROME |\n\u003e | 6 | ZBID_IMMERSIVE_MOGO |\n\u003e | 7 | ZBID_IMMERSIVE_EDGY |\n\u003e | 8 | ZBID_IMMERSIVE_INACTIVEMOBODY |\n\u003e | 9 | ZBID_IMMERSIVE_INACTIVEDOCK |\n\u003e  10 | ZBID_IMMERSIVE_ACTIVEMOBODY ||\n\u003e | 11 | ZBID_IMMERSIVE_ACTIVEDOCK |\n\u003e | 12 | ZBID_IMMERSIVE_BACKGROUND |\n\u003e | 13 | ZBID_IMMERSIVE_SEARCH |\n\u003e | 14 | ZBID_GENUINE_WINDOWS |\n\u003e | 15 | ZBID_IMMERSIVE_RESTRICTED |\n\u003e | 16 | ZBID_SYSTEM_TOOLS |\n\u003e | 17 | ZBID_LOCK |\n\u003e | 18 | ZBID_ABOVELOCK_UX |\n\n\u003c/details\u003e\n\n\u003c!-- Reference Links --\u003e\n[node]: https://nodejs.org\n[pnpm]: https://pnpm.io/installation\n[frida]: https://frida.re\n\n[vs]: https://code.visualstudio.com\n[wt]: https://docs.microsoft.com/windows/terminal\n[vt]: https://code.visualstudio.com/docs/terminal/basics\n\n[clone]: https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipeador%2Fnode-win32-setwindowband","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflipeador%2Fnode-win32-setwindowband","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipeador%2Fnode-win32-setwindowband/lists"}