Tags: python crypto 

Rating:

# Diversity (Crypto, 278 solved, 30 points)
###### Author: [ecurve](https://github.com/Pascalao)

```
So much diversity, my mind boggles..!

b1001000 x69 d33 d32 o127 b1100101 o154 o143 b1101111 o155 o145 d32 o164 d111 d32 x48 b1100001 x63 o153 b1000011 o157 x6e d39 o61 b111000 x2c d32 d111 b1110010 d103 d97 x6e o151 x73 d101 d100 o40 d97 b1110011 b100000 x70 o141 o162 x74 d
```

We know the data types of python and saw with the first look at the text, that are different types of
numbers in there.
The data types are binary, hexadecimal, decimal, octal values.

So we convert them into characters and get a text, where we found the flag d4rk{i_Wis#_A1l_t4sk5_w3r3_thi5_345y_XDD}c0de.

The program, which solved that are in the file [exploit.py](https://github.com/Lev9L-Team/ctf/tree/master/2018-08-16_hackcon/diversity/exploit.py)

Original writeup (https://github.com/Lev9L-Team/ctf/tree/master/2018-08-16_hackcon/diversity).