Skip to content

Punish those who do pranks to your unlocked PC. April Fool project is an inspiration from PCInvaderDetector to prank my friend. You just need to run main.py in AprilFoolClient and enable the attack on webserver. Any time you move your keyboard or click mouse, the screen will lock down and the wallpaper will be changed very quickly. After disable…

Notifications You must be signed in to change notification settings

agoo113/PCInvaderDetector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCInvaderDetector

Punish those who do pranks to your unlocked PC!

If culprit is caught, it will

  • Automatically lock your PC to prevent further malicious activities.
  • Play the alarm audio (remember to connect your PC to a loud loud loud speaker).
  • capture the face of the culprit and automatically email it to the email group.

Steps:

  1. Deploy the server side code to any server. It hosts a web server that just contains a switch for this detection system. You need to figure out a way to alter the server's boolean variable switch.
  2. Train the facial recognizer from OpenCV with your faces, so the system can differentiate you from others (Well, it only works to some extent).
  3. Run client/main.py. If you switch on the system from the browser webpage managed by the server, it will detect the face and mouse & keyboard activity and fire the alarm.
  4. Have fun!

Notes:

  • If there is no OpenCV installed, it will only use keyboard and mouse to detect the culprit activity.
  • On the client side, it requires the following python pip packages:
    • playsound
    • pywin32
    • requests
  • On the server side, it requires the following python pip packages:
    • mysqlclient
    • flask

About

Punish those who do pranks to your unlocked PC. April Fool project is an inspiration from PCInvaderDetector to prank my friend. You just need to run main.py in AprilFoolClient and enable the attack on webserver. Any time you move your keyboard or click mouse, the screen will lock down and the wallpaper will be changed very quickly. After disable…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.3%
  • HTML 6.9%
  • JavaScript 3.0%
  • CMake 2.8%