7 ms·
Decrypt.py: Act like a decrypting hacker on tv
- aaronpk 14y agoScreenshots please!
- thirsteh 14y agowget https://raw.github.com/jtwaleson/decrypt/master/decrypt.py https://raw.github.com/jtwaleson/decrypt/master/decrypt.py; chmod +x decrypt.py; ls -la | ./decrypt.py It doesn't bite.
- moreati 14y agoQuick and dirty screencast http://youtu.be/DoDoOtlomsM http://youtu.be/DoDoOtlomsM
- jtwaleson 14y agoI just added this to the readme on github. Thanks!
- obituary_latte 14y agoThanks, much better than the gif. But I'm confused...it de-scrambles what amounts to an ls -la? I gleaned from the op that it de-scrambled an image?
- X-Istence 14y agoNo, the script requires ascii input. If you use jpg2a it will take a JPG and turn it into an ASCII version of the jpg, at that point you can run it through this descrambler.
- obituary_latte 14y agoAh. Thanks for the clarification. At any rate, it looks cool but someone should really build a GUI for it.
- haukur 14y agoNo, a GUI completely misses the point here and would in any case be much less flexible. Learn to use the command-line (if you're not on Windows), it's fun! :)
- obituary_latte 14y agoShoulda added a ";)" I suppose. But to any of you reading this far, don't let being on windows be a deterrent. There are many excellent run-time distros out there to play around on. Google "run time Linux" for more. And I wholeheartedly agree; it is quite fun (and rewarding) to learn. :) Cheers!
- damncabbage 14y agoThanks 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_Mathematics.pdf http://mitpress.mit.edu/books/full_pdfs/Street-Fighting_Math...
- NeilBryant 14y agoI like how you think--that name was the thing that stood out to me, too; and you saved me a quick web search =]
- dag11 14y agoI just made an animated GIF for you: http://d.pr/i/ZMi http://d.pr/i/ZMi (3MB)
- obituary_latte 14y agoHey thanks. On the page you linked to, it said "optimized for mobile" something. I have to say quite impressive--loaded very quickly. Didn't do anything after that, but I'll be damned if that first frame didn't make it down in like 2 seconds.
- aaronpk 14y agoThat's freaking awesome. Thanks!
- 9k9 14y agoDoes it work with a over ssh?
- dag11 14y agoYes.
- kbojody 14y agoMaybe 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?
- win32 14y agoSneakers (1992)
- heretohelp 14y agoYeah it was actually a fairly prominent part of the movie in that case.
- Wingman4l7 14y agoWorked slightly differently, IIRC -- in the movie, the computer screen was already full of gibberish characters, which then randomly shifted to the correct color/character when the MacGuffin was applied.
- cutie 14y agoI seem to remember something similar in Wargames from the 80's.
- losethos 14y agoGod says... cross, and follow me. 10:22 And he was sad at that saying, and went away grieved: for he had great possessions. 10:23 And Jesus looked round about, and saith unto his disciples, How hardly shall they that have riches enter into the kingdom of God! 10:24 And the disciples were astonished at his words. But Jesus answereth again, and saith unto them, Children, how hard is it for them that trust in riches to enter into the kingdom of God! 10:25 It is easier for a camel to go through the eye of a needle, than for a rich man to enter into the kingdom of God.
- raphman 14y agohttp://www.youtube.com/watch?v=2k1aztBGnWc#t=1h38m00s http://www.youtube.com/watch?v=2k1aztBGnWc#t=1h38m00s
- runjake 14y agoLink for lazy Mac OS X users: curl -O https://raw.github.com/jtwaleson/decrypt/master/decrypt.py https://raw.github.com/jtwaleson/decrypt/master/decrypt.py; chmod +x decrypt.py; ls -la | ./decrypt.py It's useless, but pretty nifty at 80x24.
- pnathan 14y agoSo... uhh... this one-liner will download and execute a python script. would really suggest that you read the script before executing it.
- allardschip 14y agoLooks clean to me. Check out for yourself of course. Does bring up an interesting dilemma. We all download code, libraries etc. all the time without going through it with a fine comb...
- colonelxc 14y agoMost code executed on my box comes from package managers, which often use code signing to make sure you're getting the right code. Other than that, we often have to depend on the reputation of the project, otherwise we would be stuck reading code all day, instead of getting work done. The difference here is that this is not some long standing and reputable project, but instead just something that was randomly thrown up github. tl;dr - I trust the Mozilla Foundation more than I trust jtwaleson
- myle 14y agoBut usually it is from trusted repositories.
- heretohelp 14y agoIs this the part where we mention Ken's talk on trusting trust for the 1,000th time?
- allardschip 14y ago
- cutie 14y ago"It's a cylon virus... I'm decrypting the firewalls and downloading to the server."
- lr--rw-rwx 14y agoand here a virus in action ... http://pastebin.com/EZRWHKzn http://pastebin.com/EZRWHKzn ;)
- dag11 14y agoAfter commenting out line 20, this is actually pretty awesome.
- andypants 14y agoWhat does it do? (The whole thing, and line 20 specifically)
- raphman 14y agoIt 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.
- lr--rw-rwx 14y agoIt does not disable it, it catches it and restores the terminal cursor's visibility (originally it reseted everything, but you can just work on, and the colors will scroll off the screen). ... but of course, maybe you enjoy random color font. :p
- raphman 14y agoThank you for the correction. Based on the previous comment, I assumed the trap function was doing something evil without completely reading the script.
- dag11 14y agoOh, that makes sense. I haven't seen that command before, and from the context/presentation of the script, it made line 20 appear evil to me. :P
- Sergggg 14y agoAlso see Hacker Typer for a web browser version. :) http://hackertyper.net http://hackertyper.net
- corin_ 14y agoA web browser version of something different.
- exogen 14y agoUsing aircrack-ng to get onto a wifi network looks surprisingly like you'd expect from a movie: http://www.aircrack-ng.org/screenshots/aircrack-ng.gif http://www.aircrack-ng.org/screenshots/aircrack-ng.gif (pretend those digits are constantly updating)
- robertskmiles 14y agoFun with jp2a and the images from the Curiosity rover. You can act like you're intercepting the signal or something.
- DigitalSea 14y agoThis is quite possibly one of the coolest Python scripts I have ever seen. I'm going all the way to Hollywood baby.
- wtfisthiscrap 14y agoIsn't this a bit too useless? I could have made this in about an hour (with colors!). Why should this be on hacker news?