Screenshots please!
I just made an animated GIF for you: http://d.pr/i/ZMi (3MB)
Decrypt.py: Act like a decrypting hacker on tv
51–54 of 54 posts
Re: Decrypt.py: Act like a decrypting hacker on tv
#52Earlier quoted context omitted.
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.
... but of course, maybe you enjoy random color font. :p
Re: Decrypt.py: Act like a decrypting hacker on tv
#53Earlier quoted context omitted.
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
Re: Decrypt.py: Act like a decrypting hacker on tv
#54Earlier quoted context omitted.
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
I haven't seen that command before, and from the context/presentation of the script, it made line 20 appear evil to me. :P