{"id":19418152,"url":"https://github.com/viralmaniar/peekaboo","last_synced_at":"2025-07-16T15:34:06.655Z","repository":{"id":51224758,"uuid":"182767454","full_name":"Viralmaniar/PeekABoo","owner":"Viralmaniar","description":"PeekABoo tool can be used during internal penetration testing when a user needs to enable Remote Desktop on the targeted machine. It uses PowerShell remoting to perform this task.  Note: Remote desktop is disabled by default on all Windows operating systems. ","archived":false,"fork":false,"pushed_at":"2019-04-29T06:27:07.000Z","size":22,"stargazers_count":138,"open_issues_count":1,"forks_count":27,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-24T13:42:04.974Z","etag":null,"topics":["bluekeep","infrastructure-testing","internal-pentest","network-pentest","pentest","pentest-tool","pentest-tools","pentesters","pentesting","powershell","remote-desktop","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Viralmaniar.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":"2019-04-22T11:21:38.000Z","updated_at":"2025-04-17T02:25:39.000Z","dependencies_parsed_at":"2022-08-29T22:31:27.953Z","dependency_job_id":null,"html_url":"https://github.com/Viralmaniar/PeekABoo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Viralmaniar/PeekABoo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viralmaniar%2FPeekABoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viralmaniar%2FPeekABoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viralmaniar%2FPeekABoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viralmaniar%2FPeekABoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Viralmaniar","download_url":"https://codeload.github.com/Viralmaniar/PeekABoo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viralmaniar%2FPeekABoo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265521512,"owners_count":23781523,"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","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":["bluekeep","infrastructure-testing","internal-pentest","network-pentest","pentest","pentest-tool","pentest-tools","pentesters","pentesting","powershell","remote-desktop","security","security-tools"],"created_at":"2024-11-10T13:12:52.451Z","updated_at":"2025-07-16T15:34:06.622Z","avatar_url":"https://github.com/Viralmaniar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PeekABoo\nPeekABoo tool can be used during internal penetration testing when a user needs to enable Remote Desktop on the targeted machine. It uses PowerShell remoting to perform this task. \n\nThe tool only works if WinRM is enabled. Since Windows Server 2012 WinRM is enabled by default on all Windows server operating systems, but not on client operating systems.\n\n\u003cB\u003eNote: Remote desktop is disabled by default on all Windows operating systems. User would require local administrator password or administrator privileges on the server to enable RDP on a targeted machine. \u003c/B\u003e\n\nAny suggestions or ideas for this tool are welcome - just tweet me on [@ManiarViral](https://twitter.com/maniarviral)\n\n# Screenshots\n\nTargeted machine on an internal network has RDP disabled:\n\n![image](https://user-images.githubusercontent.com/3501170/56864171-968fdc00-6a02-11e9-94cd-3baff007850b.png)\n\nEnabling remote desktop service on a targeted machine by pressing `option 2`:\n\n![image](https://user-images.githubusercontent.com/3501170/56864277-e0c58d00-6a03-11e9-81b4-0b2d1de715be.png)\n\nSuccessfully enabled remote desktop service on a targeted machine:\n\n![image](https://user-images.githubusercontent.com/3501170/56864731-2f295a80-6a09-11e9-8bf2-7bcef805b577.png)\n\n# How to install?\n\u003cpre\u003e\n- git clone https://github.com/Viralmaniar/PeekABoo.git\n- cd PeekABoo\n- python peekaboo.py\n\u003c/pre\u003e\n\n# How do I use this?\n- Press 1: This will set the PowerShell to unrestricted mode.\n- Press 2: It enables the `Remote Desktop` on the targeted machine and shows the RDP port (3389) status.\n- Press 3: It disables the `Remote Desktop` on the targeted machine.\n- Press 4: To exit from the program.\n\n# My Windows machine do not have Python installed, what should I do?\n\n- Download an exe from the release section of the Github along with PowerShell files available [here](https://github.com/Viralmaniar/PeekABoo/releases) or do it on your own using PyInstaller after reviewing the source code.\n\n- Compile `peekaboo.py` into an executable using [Pyinstaller](https://github.com/pyinstaller/pyinstaller)\n\n- PyInstaller is available on PyPI. You can install it through pip:\n\n\u003cpre\u003e\npip install pyinstaller\n\u003c/pre\u003e\n\n# Questions?\n\nTwitter: https://twitter.com/maniarviral \u003cbr\u003e\nLinkedIn: https://au.linkedin.com/in/viralmaniar\n\n# Contribution \u0026 License\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/80x15.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis work is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003eCreative Commons Attribution 4.0 International License\u003c/a\u003e.\u003c/br\u003e\nWant to contribute? Please fork it and hit up with a pull request.\n\nAny suggestions or ideas for this tool are welcome - just tweet me on [@ManiarViral](https://twitter.com/maniarviral)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviralmaniar%2Fpeekaboo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviralmaniar%2Fpeekaboo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviralmaniar%2Fpeekaboo/lists"}