write-ups-challenges-2019-2020/DecryptThis/README.md

26 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2022-11-24 21:43:03 +00:00
# CHALLENGE DecryptThis
A moderate encryption-challange.
## Description
I made an awesome encryption tool to send secret messages to my mother, but forgot to make a decryption tool...
Anyway, now I'm stuck with these messages without knowing what they mean.
* `>tmGUYjG<V1Y=S6P>QZtc|;6y?tFE<V)HxFH8t@Gd6>')IB5ucG7H,JT`
* `Bx1inr2m[u"J_u:TBU3MQb(QZX7S8@iz7/Q$hXW3d{eC:-5AgN8\H:d9LS`
* `rJ6nrv4oLfDlMcMgFYHbizEn/M8ImT9eZ4EIH5j]2m9Af^KL6WHG@]~99SNt`
## Flag
`IG{DeWielenVanDeBusGaanRondEnRond_RondEnRond}`
## Given files
`decrypt.php`
Should be uploaded to a server first.
## How the challenge works
The encryption is a variant of Vignere, where the codeword is 7-14 characters and is hidden in the message. EG. if the coded message is _xxxxxxxxxx_ and the codeword _ABC_, the code will be _xAxBxCxxxxxxCx_. The second last character represents the lenth of the codeword (here C = 3).
The best way to solve would be to try a few strings containing only one character like _AAAAAAAAAAAA_ to figure out how the encryption works.
As the encrypted flags (this ia 3 times the same flag) are quiet long, quickly programming an encryption tool will save a lot of time.