Open Sesame – Using a CD rom drive and SSH to open a door

Technology
Open Sesame – Using a CD rom drive and SSH to open a door

Sesam Open
Nice hack!

Emmanuel Florac and the rest of his officemates had a bit of a problem: while they could freely leave the office as they pleased, none of them could get back in. Undoubtedly, it had something to do with the new ironclad door and accompanying electronic locking mechanism that was recently installed. Try as they might, no one’s keycard would open the door.

Throughout the day, the office manager could not get a hold of the locksmith. Call after call after call ended with a simple, “we’re sorry, this voicemail box is full; please try your call again later!” As afternoon grew shorter and the evening approached, the jokingly-proposed “someone’s going to have to sleep at the office tonight” became more and more a reality.

Fortunately, Emmanuel had a better idea. All it took to open the door from the inside was a light tap on the switch, so all he’d need to do is find something that could lightly touch the door switch. Unable to find any robot-building components in the office, he sprung for the best alternative: a few cardboard boxes and an unused office PC. This is what he came up with:

The following morning at 8:00AM, one of his coworkers called him up to open the door. Emmanuel put down his cup of coffee, went upstairs to his computer, and then:

1) VPN to the office
2) SSH to the machine in the hall
3) Ran ~# eject /dev/scd0

And, click, the door was opened.

The locksmith did end up fixing the door later that day, putting the door-opening robot out of service just as quickly as it came in.

4 thoughts on “Open Sesame – Using a CD rom drive and SSH to open a door

  1. Catharz says:

    At a previous job we used a boot floppy to get onto a colleagues PC and configure sendmail to do the same thing.
    We made it eject the CD and then pull it back in (using the -h option) when you sent an e-mail with a particular subject.

    He got revenge his revenge (although, not on me). He created a program on another colleagues PC that would play an audio file based on which port you opened. He sent out an e-mail to the team (excluding the “target”) explaining the new “feature” and how it worked. It drove the guy nuts. :)

  2. Rathna says:

    This idea sounds very interesting man!! i think i’ll have to keep this in mind so it might help me out some day :-)Good, presence of mind!!

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK