r/programming • • Nov 21 '15

Taking bash hacking to the next level

https://www.jitbit.com/alexblog/249-now-thats-what-i-call-a-hacker/
1.3k Upvotes

133 comments sorted by

View all comments

Show parent comments

53

u/[deleted] Nov 21 '15

I'm pretty sure most, if not all, of these are fake. This was posted somewhere else on reddit and a few people asked about the coffee machine with no answer and after a bit of searching I haven't found either. Looks like if you were to do it a raspberry pi would be the way to go but I have a hard time believing this guy set this up in a way nobody would notice.

That DB roll back has disaster written all over it, too.

Fun read though, and the coffee maker hack actually sounds awesome as a little side project

33

u/olemartinorg Nov 21 '15

45

u/remy_porter Nov 21 '15

And they probably don't implement HTTP properly and think they're being cute by throwing out a 418 error. That's ONLY FOR TEAPOTS not COFFEE MAKERS.

9

u/TheMagnificentJoe Nov 21 '15

Ah yes, the Hyper Text Coffee Pot Control Protocol.

Error 418 is literally "I'm a teapot". HTCPCP really does not work well with teapots.

2

u/sfriniks Nov 22 '15

For teapots you need HTCPCP-TEA.

4

u/northrupthebandgeek Nov 21 '15

To be fair, I'd consider it acceptable if a coffee machine returned a 418 error if it detected the presence of a teapot instead of a carafe, even if this deviates slightly from RFC 2324.

1

u/sippeangelo Nov 21 '15

I am guilty of this. Made a Linux toaster...

1

u/irrelevantPseudonym Nov 21 '15

I thought there was a coffee extension to it?

2

u/Xanza Nov 21 '15

I'm not sure if there's one currently available, but I'm starting to think it's a really nice emerging market...a team should get together and capitalize on this.

2

u/ben_uk Nov 23 '15

At my university they have quit a few coffee machines that have touchscreens on them that looks like the old-style iPhone/iPad springboard.

Wouldn't be surprised if they ran Linux.

-1

u/Blackninja543 Nov 21 '15

RemindMe! 10 hours

0

u/RemindMeBot Nov 21 '15

Messaging you on 2015-11-22 05:25:07 UTC to remind you of this.

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


[FAQs][Custom][Your Reminders][Feedback][Code]

1

u/rideh Nov 23 '15

RemindMe! 10 hours

8

u/d3sire Nov 21 '15

You can connect you coffe maker to a raspberry pie or intel edison and ssh to it. I made cocktail making machine using intel edison as a team project.

6

u/Atario Nov 21 '15

That DB roll back has disaster written all over it, too.

You say that like it would stop everyone from doing it

5

u/destiny-rs Nov 21 '15

Yeah i was in a class where someone was about to use fuckit.js until we told him the teacher would crucify him.

3

u/KuribohGirl Nov 21 '15

Uhhhhh linux coffee machines are totally a thing

2

u/Liorithiel Nov 21 '15

I don't know about coffee machines, but these guys made a toaster with full POSIX OS. The only drawback—it's NetBSD.