# misDIRection

We have a folder with many subfolders named in each char of the alphanumeric set:

<figure><img src="https://746814813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fe1HXVppEt3OHWIFqtAXT%2Fuploads%2FMrA7dpcq5vSPt8ONUzwM%2Fimage.png?alt=media&#x26;token=2afcccbe-605a-42de-b51e-417e566ae80e" alt=""><figcaption></figcaption></figure>

Inside some folders there is an empty text document with the name of a number

<figure><img src="https://746814813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fe1HXVppEt3OHWIFqtAXT%2Fuploads%2F4kOwyUIQl87NnkZioFQs%2Fimage.png?alt=media&#x26;token=80028e36-7819-4ae4-9ab5-91996dde0b1a" alt=""><figcaption></figcaption></figure>

I created a map of the folder and text document names and sorted that numerically:

```
0	6
1	22 30
2	34
3
4
5	16
6
7
8
9	36
a
A
b
B	23
c
C	4
d	13
D	26
e	5
E	14
f
F	2 19 27
g
G
h
H
i
I
j	10 12
J	8
k
K
l
L
m
M
n
N	11 25 31 33
o
O
p	32
P
q
Q
r
R	3 7
s	24
S	1
t
T
u	20 28
U	9
v
V	35
w
W
x	15
X	17 21 29
y
Y
z	18
Z

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
S F R C e 0 R J U j  N  j  d  E  x  5  X  z  F  u  X  1  B  s  N  D  F  u  X  1  N  p  N  2  V  9
```

So the resulting string was "SFRCe0RJUjNjdEx5XzFuX1BsNDFuX1NpN2V9"

base64 decoding that yielded the flag.
