Run it, it will open in hidden mode and when you are clicking or typing it will capture your face and make a noise as long as you had configured CAPTURE_COUNT_THRESHOLD and after that, lockscreen and quit the program.
Note that all settings are meant to work without setting them up. Although it's recommended to set them up, especially the Canary token and the email, to receive direct notifications.
-
Adjust Sound File Path:
- Modify the
SOUND_FILEvariable to change the sound alert file path by default it retreive a sound on a web or a windows alert if the other is not found.
- Modify the
-
Set Photo Folder:
- Modify the
PHOTO_FOLDERvariable to set the folder for captured photos (default = C:\Users\your_user\Documents\Captured_Photos).
- Modify the
-
Customize Capture Threshold:
- Customize the
CAPTURE_COUNT_THRESHOLDto determine how many times the keyboard + mouse should be triggered to lock the screen (default = 3).
- Customize the
-
Set Quit Key:
- Modify the
quit_program_keyvariable to set the key to quit the program (default = right shift).
- Modify the
-
Set Volume level:
- Modify the
sound_volumevariable to set the volume level desired (default = 100% ).
- Modify the
-
Set canary token:
- Modify the
url_canary_tokenvariable to trigger a canary Web bug / URL token and be alerted when someone is on your PC (to create one).
- Modify the
-
Setup mail:
- Modify the
receiver_emailvariable to your gmail account that receive the mail. - Modify the
sender_emailvariable to your gmail account that send the mail. - Modify the
app_passwordvariable to your gmail account that send the mail (To retreive a google App Password).
- Modify the
This script is intended for entertainment purposes only. Use it responsibly, and ensure you have permission before pranking others.
Leon
Feel free to modify the script and adapt it to your preferences.