Skip to content

Commit be1fb17

Browse files
author
Michael Zhang
authored
Merge pull request #20 from hdG8/flip-my-letters-20-points
Flip My Letters writeup.
2 parents 665262c + 2c0db5a commit be1fb17

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [Simple ROP \[120 points\]](/binary-exploitation/simple-rop-120-points.md)
77
* [Heaps of Knowledge \[420 points\]](/binary-exploitation/heaps-of-knowledge-420-points.md)
88
* [Cryptography](cryptography.md)
9+
* [Flip My Letters \[20 points\]](/cryptography/flip-my-letters-20-points.md)
910
* [RSA 1 \[50 points\]](/cryptography/rsa-1-50-points.md)
1011
* [Hash on Hash \[100 points\]](/cryptography/hash-on-hash-100-points.md)
1112
* [Security Through Obscurity \[150 points\]](/cryptography/security-through-obscurity-150-points.md)

cryptography.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This category focuses on using advanced mathematical topics to encrypt data to prevent it from being intercepted/tampered with. Cryptography has many practical applications from HTTPS to cryptocurrency. The cryptography challenges in this contest include:
44

55
* Clear and Concise Commentary on Caesar Cipher \[20 points\]
6-
* Flip My Letters \[20 points\]
6+
* [Flip My Letters \[20 points\]](/cryptography/flip-my-letters-20-points.md)
77
* [RSA 1 \[50 points\]](/cryptography/rsa-1-50-points.md)
88
* Let Me Be Frank \[75 points\]
99
* RSA 2 \[80 points\]
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Flip My Letters - 20 points
2+
3+
I dropped my alphabet on its head, can you help me reassemble it?
4+
```
5+
easyctf{r_wlmg_vevm_mvvw_zm_zhxrr_gzyov}
6+
```
7+
8+
### Solution
9+
10+
The hint suggests that it's a substitution cipher, where the key is the alphabet in reverse.
11+
It is easy to test the idea using the [tr](https://en.wikipedia.org/wiki/Tr_%28Unix%29) Unix command.
12+
Sure enough, it works.
13+
14+
```
15+
$ echo "r_wlmg_vevm_mvvw_zm_zhxrr_gzyov" | tr abcdefghijklmnopqrstuvwxyz zyxwvutsrqponmlkjihgfedcba
16+
i_dont_even_need_an_ascii_table
17+
```
18+
19+
Flag:
20+
```
21+
easyctf{i_dont_even_need_an_ascii_table}
22+
```
23+
24+
### External Writeups

0 commit comments

Comments
 (0)