News for hackers. Stuff that matters.
Re:Decrypt.py: Act like a decrypting hacker on tv by exogen on Tuesday August 07, 2012 @11:14PM (#4353692)
Using 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 (pretend those digits are constantly updating)
Re:Decrypt.py: Act like a decrypting hacker on tv by runjake on Tuesday August 07, 2012 @06:47PM (#4352795)
Link for lazy Mac OS X users:

curl -O 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.

Re:Decrypt.py: Act like a decrypting hacker on tv by pnathan on Tuesday August 07, 2012 @07:31PM (#4352957)
So... uhh...

this one-liner will download and execute a python script.

would really suggest that you read the script before executing it.

Re:Decrypt.py: Act like a decrypting hacker on tv by allardschip on Tuesday August 07, 2012 @07:39PM (#4352987)
Looks 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...
Re:Decrypt.py: Act like a decrypting hacker on tv by colonelxc on Tuesday August 07, 2012 @08:00PM (#4353074)
Most 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

Re:Decrypt.py: Act like a decrypting hacker on tv by benmanns on Tuesday August 07, 2012 @11:00PM (#4353647)
Note that the URL in the one-liner references the master branch, which can be updated at will by jtwaleson. A much better idea would be to use a link to a specific version if you are going to make claims towards its cleanliness:

  curl -O https://raw.github.com/jtwaleson/decrypt/f004b7eab7b949a55ea3c784fb9bac244aa0296e/decrypt.py; chmod +x decrypt.py; ls -la | ./decrypt.py
Re:Decrypt.py: Act like a decrypting hacker on tv by jtwaleson on Wednesday August 08, 2012 @01:05AM (#4354016)
Good idea, I don't have a "Don't be evil" motto ;)
Re:Decrypt.py: Act like a decrypting hacker on tv by simcop2387 on Wednesday August 08, 2012 @02:19AM (#4354226)
Even that might not work if he has two versions with the same hash and sends github a forced update with push -f. though that's still a much more difficult proposition than just updating the master branch.
Re:Decrypt.py: Act like a decrypting hacker on tv by rpearl on Wednesday August 08, 2012 @03:23AM (#4354366)
If he can generate two files with the same hash he can do much more interesting things than write a sketchy python script that a few people might run without reading.
Re:Decrypt.py: Act like a decrypting hacker on tv by myle on Tuesday August 07, 2012 @08:00PM (#4353080)
But usually it is from trusted repositories.
Re:Decrypt.py: Act like a decrypting hacker on tv by heretohelp on Tuesday August 07, 2012 @08:27PM (#4353188)
Is this the part where we mention Ken's talk on trusting trust for the 1,000th time?
Re:Decrypt.py: Act like a decrypting hacker on tv by unimpressive on Tuesday August 07, 2012 @09:03PM (#4353309)
http://www.schneier.com/blog/archives/2006/01/countering_tru...

No.

Trusting trust isn't even applicable here. That trick only works with programs that build other programs.

Re:Decrypt.py: Act like a decrypting hacker on tv by rpearl on Tuesday August 07, 2012 @11:42PM (#4353773)
You mean like the compiler that built the python interpreter that ran the script in question?
Re:Decrypt.py: Act like a decrypting hacker on tv by allardschip on Tuesday August 07, 2012 @08:45PM (#4353246)
I think you just did :)
Re:Decrypt.py: Act like a decrypting hacker on tv by Sergggg on Tuesday August 07, 2012 @09:14PM (#4353341)
Also see Hacker Typer for a web browser version. :)

http://hackertyper.net

Re:Decrypt.py: Act like a decrypting hacker on tv by corin_ on Tuesday August 07, 2012 @10:15PM (#4353521)
A web browser version of something different.
Re:Decrypt.py: Act like a decrypting hacker on tv by cutie on Tuesday August 07, 2012 @08:01PM (#4353082)
"It's a cylon virus... I'm decrypting the firewalls and downloading to the server."
Re:Decrypt.py: Act like a decrypting hacker on tv by aaronpk on Tuesday August 07, 2012 @06:12PM (#4352629)
Screenshots please!
Re:Decrypt.py: Act like a decrypting hacker on tv by dag11 on Tuesday August 07, 2012 @08:03PM (#4353093)
I just made an animated GIF for you: http://d.pr/i/ZMi (3MB)
Re:Decrypt.py: Act like a decrypting hacker on tv by obituary_latte on Tuesday August 07, 2012 @08:16PM (#4353143)
Hey 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.
Re:Decrypt.py: Act like a decrypting hacker on tv by aaronpk on Wednesday August 08, 2012 @10:49PM (#4359285)
That's freaking awesome. Thanks!
Re:Decrypt.py: Act like a decrypting hacker on tv by moreati on Tuesday August 07, 2012 @08:00PM (#4353076)
Quick and dirty screencast http://youtu.be/DoDoOtlomsM
Re:Decrypt.py: Act like a decrypting hacker on tv by damncabbage on Tuesday August 07, 2012 @11:20PM (#4353715)
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...

Re:Decrypt.py: Act like a decrypting hacker on tv by NeilBryant on Wednesday August 08, 2012 @03:59PM (#4357726)
I like how you think--that name was the thing that stood out to me, too; and you saved me a quick web search =]
Re:Decrypt.py: Act like a decrypting hacker on tv by obituary_latte on Tuesday August 07, 2012 @08:19PM (#4353152)
Thanks, 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?

Re:Decrypt.py: Act like a decrypting hacker on tv by X-Istence on Tuesday August 07, 2012 @08:37PM (#4353222)
No, 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.
Re:Decrypt.py: Act like a decrypting hacker on tv by obituary_latte on Tuesday August 07, 2012 @08:45PM (#4353245)
Ah. Thanks for the clarification.

At any rate, it looks cool but someone should really build a GUI for it.

Re:Decrypt.py: Act like a decrypting hacker on tv by haukur on Tuesday August 07, 2012 @10:31PM (#4353556)
No, 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! :)

Re:Decrypt.py: Act like a decrypting hacker on tv by obituary_latte on Tuesday August 07, 2012 @10:57PM (#4353637)
Shoulda 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!

Re:Decrypt.py: Act like a decrypting hacker on tv by jtwaleson on Wednesday August 08, 2012 @06:14AM (#4354781)
I just added this to the readme on github. Thanks!
Re:Decrypt.py: Act like a decrypting hacker on tv by thirsteh on Tuesday August 07, 2012 @06:32PM (#4352736)
wget https://raw.github.com/jtwaleson/decrypt/master/decrypt.py; chmod +x decrypt.py; ls -la | ./decrypt.py

It doesn't bite.

Re:Decrypt.py: Act like a decrypting hacker on tv by walrus on Tuesday August 07, 2012 @06:47PM (#4352799)
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).
Re:Decrypt.py: Act like a decrypting hacker on tv by jtwaleson on Wednesday August 08, 2012 @06:15AM (#4354785)
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 by lr--rw-rwx on Tuesday August 07, 2012 @08:25PM (#4353181)
and here a virus in action ...

http://pastebin.com/EZRWHKzn

;)

Re:Decrypt.py: Act like a decrypting hacker on tv by dag11 on Wednesday August 08, 2012 @04:42AM (#4354556)
After commenting out line 20, this is actually pretty awesome.
Re:Decrypt.py: Act like a decrypting hacker on tv by andypants on Wednesday August 08, 2012 @08:25AM (#4355145)
What does it do? (The whole thing, and line 20 specifically)
Re:Decrypt.py: Act like a decrypting hacker on tv by raphman on Wednesday August 08, 2012 @09:19AM (#4355337)
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 by lr--rw-rwx on Thursday August 09, 2012 @06:52AM (#4360446)
It 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

Re:Decrypt.py: Act like a decrypting hacker on tv by raphman on Thursday August 09, 2012 @09:10AM (#4360786)
Thank you for the correction. Based on the previous comment, I assumed the trap function was doing something evil without completely reading the script.
Re:Decrypt.py: Act like a decrypting hacker on tv by dag11 on Thursday August 09, 2012 @05:13PM (#4363269)
Oh, 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

Re:Decrypt.py: Act like a decrypting hacker on tv by DigitalSea on Wednesday August 08, 2012 @07:19AM (#4354954)
This is quite possibly one of the coolest Python scripts I have ever seen. I'm going all the way to Hollywood baby.
Re:Decrypt.py: Act like a decrypting hacker on tv by kbojody on Tuesday August 07, 2012 @06:45PM (#4352787)
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?
Re:Decrypt.py: Act like a decrypting hacker on tv by win32 on Tuesday August 07, 2012 @06:59PM (#4352847)
Sneakers (1992)
Re:Decrypt.py: Act like a decrypting hacker on tv by Wingman4l7 on Wednesday August 08, 2012 @12:30AM (#4353910)
Worked 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.
Re:Decrypt.py: Act like a decrypting hacker on tv by heretohelp on Tuesday August 07, 2012 @08:35PM (#4353219)
Yeah it was actually a fairly prominent part of the movie in that case.
Re:Decrypt.py: Act like a decrypting hacker on tv by cutie on Tuesday August 07, 2012 @07:59PM (#4353069)
I seem to remember something similar in Wargames from the 80's.
Re:Decrypt.py: Act like a decrypting hacker on tv by raphman on Wednesday August 08, 2012 @09:28AM (#4355384)
Re:Decrypt.py: Act like a decrypting hacker on tv by cutie on Wednesday August 08, 2012 @01:51PM (#4356922)
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 by robertskmiles on Wednesday August 08, 2012 @07:11AM (#4354934)
Fun with jp2a and the images from the Curiosity rover. You can act like you're intercepting the signal or something.
Re:Decrypt.py: Act like a decrypting hacker on tv by 9k9 on Tuesday August 07, 2012 @06:43PM (#4352777)
Does it work with a over ssh?
Re:Decrypt.py: Act like a decrypting hacker on tv by dag11 on Tuesday August 07, 2012 @07:52PM (#4353041)
Yes.