最近,我发现我的未婚妻晚上总是很忙,每晚匆忙说完晚安后就不说话了。
[En]
Recently, I found that my fiancee is always busy in the evening and stops talking every night after saying good night in a hurry.
可是,QQ头像却会偶尔亮起来,我非常担心,是不是账号被盗了呢?然后,就想帮未婚妻排查一下,于是就用python写了一个录制脚本,悄悄装在她电脑上~
模块安装
本次咱们需要用到这两个模块
- win32gui
- PyQt5
; 流程思路
1、通过win32gui模块,调用windows系统的截屏功能,对屏幕进行录制。
2、通过timer定时器,实现每隔2秒钟,截屏一次,从而记录屏幕使用者的操作记录。
3、对截取的屏幕按照 截取时间进行命名,并存储到一个比较隐秘的文件夹路径中。
这样,通过查看文件夹中的照片,就可以清楚地掌握未知着陆器在电脑上做了什么。
[En]
In this way, by looking at the photos in the folder, we can clearly grasp what the unknown lander has done on the computer.