Page 2 of 3

Re: Dycrypter With Python

PostPosted: Thu Apr 25, 2013 4:14 am
by rawrchickens
Edgar Allan Poe was a genius! Thanks for the quote the_ordinary very clever.

Re: Dycrypter With Python

PostPosted: Thu Jan 29, 2015 7:53 pm
by v_freak
Just finished writing my own little python un-scrambler. Felt AWESOME! Though when going through the attempts I almost missed it thanks to the...unique way the words are written! Great challenge!

Re: Dycrypter With Python

PostPosted: Tue Jul 28, 2015 1:26 pm
by poetics5
I wrote a decrypter with javascript. Key thing to remember are the most common lowest number is the most common ascii char. Also Array.sort() came in really handy.

Re: Dycrypter With Python

PostPosted: Mon Oct 19, 2015 11:23 am
by anonymous501
alternatively, I used a script that tries all passwords as numbers and checks the code for ASCII character that a user wouldn't use, such as null bytes. When none of these are found it will decode it. Uses slightly more code (27 lines total), but would work on practically any message.

if the message were, for example, a piece of code, or contained some very precise GPS coordinates, or has some other reason why frequency analysis wouldn't work, this code would still pick it up. While frequency analysis relies on writing style, this method could also decode "hai, potatoes".

Re: Dycrypter With Python

PostPosted: Mon Oct 19, 2015 4:53 pm
by cyberdrain
anonymous501 wrote:alternatively, I used a script that tries all passwords as numbers and checks the code for ASCII character that a user wouldn't use, such as null bytes. When none of these are found it will decode it. Uses slightly more code (27 lines total), but would work on practically any message.

if the message were, for example, a piece of code, or contained some very precise GPS coordinates, or has some other reason why frequency analysis wouldn't work, this code would still pick it up. While frequency analysis relies on writing style, this method could also decode "hai, potatoes".

That's called the bruteforce method. Effective yes, efficient, not so much ;)

Re: Dycrypter With Python

PostPosted: Fri Nov 13, 2015 10:29 am
by anonymous501
cyberdrain wrote:
anonymous501 wrote:alternatively, I used a script that tries all passwords as numbers and checks the code for ASCII character that a user wouldn't use, such as null bytes. When none of these are found it will decode it. Uses slightly more code (27 lines total), but would work on practically any message.

if the message were, for example, a piece of code, or contained some very precise GPS coordinates, or has some other reason why frequency analysis wouldn't work, this code would still pick it up. While frequency analysis relies on writing style, this method could also decode "hai, potatoes".

That's called the bruteforce method. Effective yes, efficient, not so much ;)

in this particular case it is actually relatively efficient, since the password value can never be lower than the lowest combined number, and the algoritm only starts checking from thereon. therefore, it will always work in aboout 150 trials.

Re: Dycrypter With Python

PostPosted: Wed Aug 17, 2016 5:08 am
by Starman11
I'm totally stuck. I've used Python, i've used C++, and I even tried decrypting the message in Excel, but I have no idea how to go about it. My programming skills aren't terrific, I am a novice/intermediate programmer. So far I have managed to print the contents of the encrypted message into the python interpreter, but I really don't know what to do next. Good news is, I am determined to complete this level without looking up the answer on youtube etc. I still haven't completed it, but I have learned some things along the way.

Re: Dycrypter With Python

PostPosted: Wed Sep 14, 2016 5:25 pm
by cyberdrain
Starman11 wrote:I'm totally stuck. I've used Python, i've used C++, and I even tried decrypting the message in Excel, but I have no idea how to go about it. My programming skills aren't terrific, I am a novice/intermediate programmer. So far I have managed to print the contents of the encrypted message into the python interpreter, but I really don't know what to do next. Good news is, I am determined to complete this level without looking up the answer on youtube etc. I still haven't completed it, but I have learned some things along the way.

I'm assuming you already have the decrypted data. If that's the case, you're almost there, just read the introduction and the part above the mission again. If I recall correctly, you should just be able to copy the decrypted data into a message to "ToxiCo_Watch" using the HTS messages center. If you're using Python, using open() to save the data might speed up the process of copying.

If you're stuck on the decryption, it just means you need to figure out how the input is processed. How it is encrypted and what can you do with the encrypted data you get back? What happens with different inputs, anything odd about it? What do you see when you encrypt something similar or partly different? Figure things out from there.

If the coding is the problem, remember to put parts of the encrypted data into a list, decrypt the data with what you know about the encryption or just bruteforce it. It should be pretty straightforward if you know how to code and if that's the problem, you might want to learn how to code.

Re: Dycrypter With Python

PostPosted: Sun Sep 18, 2016 1:50 pm
by Starman11
Thanks cyberdrain. Yeah, as I was saying, I am not a magnificent programmer, I'd label myself as intermediate. I have used various programming languages, and I usually understand code that I learn. I have a fairly good idea of how this encryption works, I suppose I ought to go back to the level and mess about with it again, just to refresh my memory. I am sure I would understand the code, it's just that I'm not sure what code to use to decrypt the damn thing.

Still haven't given up though, I am looking at pythons documentation or library.

Re: Dycrypter With Python

PostPosted: Thu Jan 12, 2017 10:45 am
by power01
I do decrypted them and what's next I can't send private message back to pass the level