The 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.
Note: 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.
Targeted machine on an internal network has RDP disabled:
Enabling remote desktop service on a targeted machine by pressing
option 2 :
Successfully enabled remote desktop service on a targeted machine:
How to install?
- git clone https://github.com/Viralmaniar/PeekABoo.git - cd PeekABoo - python peekaboo.py
How do I use this?
Remote Desktopon the targeted machine and shows the RDP port (3389) status.
Remote Desktopon the targeted machine.
My Windows machine does not have Python installed, what should I do?
Download an exe from the release section of the Github along with PowerShell files available here or do it on your own using PyInstaller after reviewing the source code.
peekaboo.py into an executable using Pyinstaller
PyInstaller is available on PyPI. You can install it through pip:
pip install pyinstaller