Skip to content

Run it and go AFK, nobody is going to try to do anything harmful on your PC again. The Machiavellian alternative to "⊞ + L"

Notifications You must be signed in to change notification settings

1e0nn/afk-prank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Usage

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.

Configuration

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_FILE variable 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.
  • Set Photo Folder:

    • Modify the PHOTO_FOLDER variable to set the folder for captured photos (default = C:\Users\your_user\Documents\Captured_Photos).
  • Customize Capture Threshold:

    • Customize the CAPTURE_COUNT_THRESHOLD to determine how many times the keyboard + mouse should be triggered to lock the screen (default = 3).
  • Set Quit Key:

    • Modify the quit_program_key variable to set the key to quit the program (default = right shift).
  • Set Volume level:

    • Modify the sound_volume variable to set the volume level desired (default = 100% ).
  • Set canary token:

    • Modify the url_canary_token variable to trigger a canary Web bug / URL token and be alerted when someone is on your PC (to create one).
  • Setup mail:

    • Modify the receiver_email variable to your gmail account that receive the mail.
    • Modify the sender_email variable to your gmail account that send the mail.
    • Modify the app_password variable to your gmail account that send the mail (To retreive a google App Password).

Disclaimer

This script is intended for entertainment purposes only. Use it responsibly, and ensure you have permission before pranking others.

Author

Leon

Feel free to modify the script and adapt it to your preferences.

About

Run it and go AFK, nobody is going to try to do anything harmful on your PC again. The Machiavellian alternative to "⊞ + L"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages