Live data from Hacker News

Decrypt.py: Act like a decrypting hacker on tv

github.com

41–50 of 54 posts

Re: Decrypt.py: Act like a decrypting hacker on tv

#42
post #7
post #3

Earlier quoted context omitted.

wget https://raw.github.com/jtwaleson/decrypt/master/decrypt.py ; chmod +x decrypt.py; ls -la | ./decrypt.py It doesn't bite.

It's also super short, so you can easily glance over the source code to make sure it's not doing anything shady (it's not).

Yes, make sure you inspect it before executing... If someone hijacks my github account, puts on some bad code and you run this, you're screwed.

Re: Decrypt.py: Act like a decrypting hacker on tv

#47
post #40

Earlier quoted context omitted.

After commenting out line 20, this is actually pretty awesome.

What does it do? (The whole thing, and line 20 specifically)

It prints colored 0s and 1s all over your terminal window. Nothing else. Line 20 (the 'trap sig_int_trap SIGINT') disables Ctrl-C. You want to comment this out.

Re: Decrypt.py: Act like a decrypting hacker on tv

#48
post #12
post #5

Maybe I don't watch enough television but I don't think I've ever seen this effect in any TV show or movie. Anyone know of a show that did this?

I seem to remember something similar in Wargames from the 80's.

http://www.youtube.com/watch?v=2k1aztBGnWc#t=1h38m00s

Re: Decrypt.py: Act like a decrypting hacker on tv

#49
post #48
post #12

Earlier quoted context omitted.

I seem to remember something similar in Wargames from the 80's.

http://www.youtube.com/watch?v=2k1aztBGnWc#t=1h38m00s

Thanks, I did look for this scene but couldn't find it. "Whole movie" indeed. So... why did some clown downvote my comment?

Re: Decrypt.py: Act like a decrypting hacker on tv

#50
post #14

Earlier quoted context omitted.

Quick and dirty screencast http://youtu.be/DoDoOtlomsM

Thanks to you (and your terminal output), I'm now in the middle of reading "Street-Fighting Mathematics". :) http://mitpress.mit.edu/books/full_pdfs/Street-Fighting_Math...

I like how you think--that name was the thing that stood out to me, too; and you saved me a quick web search =]
Post reply on HN