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.
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.
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.
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.
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.
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...
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
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
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.
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.
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.
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
Thank you for the correction.
Based on the previous comment, I assumed the trap function was doing something evil without completely reading the script.
53 comments
[ 3.4 ms ] story [ 89.4 ms ] threadIt doesn't bite.
But I'm confused...it de-scrambles what amounts to an ls -la? I gleaned from the op that it de-scrambled an image?
At any rate, it looks cool but someone should really build a GUI for it.
Learn to use the command-line (if you're not on Windows), it's fun! :)
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!
http://mitpress.mit.edu/books/full_pdfs/Street-Fighting_Math...
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.
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.
this one-liner will download and execute a python script.
would really suggest that you read the script before executing it.
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
No.
Trusting trust isn't even applicable here. That trick only works with programs that build other programs.
http://pastebin.com/EZRWHKzn
;)
... but of course, maybe you enjoy random color font. :p
I haven't seen that command before, and from the context/presentation of the script, it made line 20 appear evil to me. :P
http://hackertyper.net