Unlock your notebook with a magnetic lid switch pattern!
After getting my implant a bit over a month ago, I looked into reading the lid open/close events on my laptop, since I found out I could turn the screen off at the touch of my finger (in the right spot).
The lid switch is a small magnetic sensor somewhere on the surface of most laptops that detects the field of a small magnet embedded in the opposite side of the laptop to shut off the display and suspend the pc.
I wrote a little python script that can recognize simple patterns of lidswitch presses based on length and keypresses:
https://github.com/S0lll0s/magnetman
It works on linux and [i]should[/i] work on mac Os X too.
Sorry for the terribly written post, I'm typing on mobile on the bus. I'll update with a video some time next week (hopefully).
The lid switch is a small magnetic sensor somewhere on the surface of most laptops that detects the field of a small magnet embedded in the opposite side of the laptop to shut off the display and suspend the pc.
I wrote a little python script that can recognize simple patterns of lidswitch presses based on length and keypresses:
https://github.com/S0lll0s/magnetman
It works on linux and [i]should[/i] work on mac Os X too.
Sorry for the terribly written post, I'm typing on mobile on the bus. I'll update with a video some time next week (hopefully).
Tagged:
Comments