## https://sploitus.com/exploit?id=5F2AC1A2-EA43-5703-9085-692E7C71D571
# WeChat Message Monitoring PoC Project
## Project Description
This is a proof-of-concept project for monitoring WeChat messages using Windows UI Automation technology.
## Technology Stack
- Python 3.8+
- uiautomation (Windows UI Automation library)
## Current Limitations (Phase 1 PoC)
1. Only currently visible chat windows can be monitored.
2. Users need to manually select the windows they want to monitor.
3. It’s impossible to distinguish between the sender and receiver of messages.
4. New messages cannot be automatically detected; the script needs to be rerun.
5. Updates to WeChat’s UI structure may require code adjustments.
## File Description
- `requirements.txt` – List of Python dependencies
- `wechat_poc.py` – Main program that handles window enumeration and message reading
- `README.md` – Project documentation
## Installation and Execution Steps
### 1. Install Python dependencies
```bash
pip install -r requirements.txt
```
### 2. Ensure WeChat is logged in and open
- Log in to WeChat on the Windows desktop.
- Open a chat window (either with a friend or in a group chat).
- Make sure you can see the chat history.
### 3. Run the PoC script
```bash
python wechat_poc.py
```
### 4. Follow the instructions
- The script will list all WeChat windows.
- Enter the number of the desired chat window to be monitored.
- View the message content displayed in the terminal.
## Notes
- This project is intended only for technical learning and testing purposes.
- Use this project in accordance with relevant laws and WeChat user agreements.
- It is only used to monitor work-related WeChat accounts; prior consent from the relevant individuals is required.