Forum Discussion
I'm stucked in "A Christmas Catastrophe: Let It Snow".
- 2 months ago
The last two characters of the string are the same "<ERROR:57><ERROR:57>"?
What sort of strings do we know about that end with the same character repeated two times? (where that character is not configured with any value currently in the broken code (I'm assuming you have a list of the characters that aren't working, as well as the lengths from the ERROR values?)) ;-)
Genuinely my favourite ever lab! :-)
Don't want to give too much away - but from the start of my notes:
Found the following bash snippet online which will count the number of whitespace chars per line:
https://stackoverflow.com/questions/8683443/linux-counting-spaces-and-other-characters-in-file
while IFS='' read -r line
do
printf "%s\n" "$line" | sed 's/ /%/g' | grep -o '%' | wc -w
done < filename.000
I then started by creating a character map file - and encrypting/decrypting it to see what was working right and what wasn't (there's a mistake in the following screenshot if you look closely):
Hopefully when starting to play around, something recognisable might jump out at you!
I'll stop there for now - but give me a shout back if you're still stuck or not sure how to progress... ;-)