Skip to content

Commit 5bfabf0

Browse files
committed
encrypted pastebin flag0
1 parent 7526dce commit 5bfabf0

File tree

5 files changed

+63
-13
lines changed

5 files changed

+63
-13
lines changed

README.md

+26-13
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,25 @@
66

77
## 0x01 CTF
88

9-
| Difficulty (Points) | Name | Skills | Completion |
10-
| ------------------- | ------------------------------------------ | ------- | ---------- |
11-
| Trivial (1 / flag) | [A little something to get you started][2] | Web | 1 / 1 |
12-
| Easy (2 / flag) | [Micro-CMS v1][3] | Web | 4 / 4 |
13-
| Moderate (3 / flag) | [Micro-CMS v2][5] | Web | 3 / 3 |
14-
| Moderate (6 / flag) | [Photo Gallery][10] | Web | 3 / 3 |
15-
| Moderate (5 / flag) | [Cody's First Blog][8] | Web | 3 / 3 |
16-
| Easy (4 / flag) | [Postbook][6] | Web | 7 / 7 |
17-
| Moderate (5 / flag) | [Ticketastic: Live Instance][9] | Web | 2 / 2 |
18-
| Easy (3 / flag) | [Petshop Pro][7] | Web | 3 / 3 |
19-
| Moderate (5 / flag) | [TempImage][4] | Web | 2 / 2 |
20-
| Easy (2 / flag) | [H1 Thermostat][11] | Android | 2 / 2 |
9+
| Difficulty (Points) | Name | Skills | Completion |
10+
| ------------------- | ------------------------------------------------- | ----------- | ---------- |
11+
| Trivial (1 / flag) | [A little something to get you started][2] | Web | 1 / 1 |
12+
| Easy (2 / flag) | [Micro-CMS v1][3] | Web | 4 / 4 |
13+
| Moderate (3 / flag) | [Micro-CMS v2][5] | Web | 3 / 3 |
14+
| Hard (9 / flag) | [Encrypted Pastebin][12] | Web, Crypto | 1 / 4 |
15+
| Moderate (6 / flag) | [Photo Gallery][10] | Web | 3 / 3 |
16+
| Moderate (5 / flag) | [Cody's First Blog][8] | Web | 3 / 3 |
17+
| Easy (4 / flag) | [Postbook][6] | Web | 7 / 7 |
18+
| Moderate (0 / flag) | [Ticketastic: Demo Instance][9] | Web | 0 / 0 |
19+
| Moderate (5 / flag) | [Ticketastic: Live Instance][9] | Web | 2 / 2 |
20+
| Easy (3 / flag) | [Petshop Pro][7] | Web | 3 / 3 |
21+
| Hard (7 / flag) | [Model E1337 - Rolling Code Lock][13] | Web, Math | 0 / 2 |
22+
| Moderate (5 / flag) | [TempImage][4] | Web | 2 / 2 |
23+
| Easy (2 / flag) | [H1 Thermostat][11] | Android | 2 / 2 |
24+
| Expert (13 / flag) | [Model E1337 v2 - Hardened Rolling Code Lock][14] | Math | 0 / 1 |
25+
| Moderate (3 / flag) | [Intentional Exercise][15] | Android | 0 / 1 |
26+
| Moderate (4 / flag) | [Hello World!][16] | Native | 0 / 1 |
27+
| Expert (9 / flag) | [Rend Asunder][17] | Native | 0 / 3 |
2128

2229
[1]: https://ctf.hacker101.com/ctf
2330
[2]: ./a_little_something_to_get_you_started
@@ -29,4 +36,10 @@
2936
[8]: ./codys_first_blog
3037
[9]: ./ticketastic_live_instance
3138
[10]: ./photo_gallery
32-
[11]: ./h1_thermostat
39+
[11]: ./h1_thermostat
40+
[12]: ./encrypted_pastebin
41+
[13]: ./model_e1337-rolling_code_lock
42+
[14]: ./model_e1337_v2-hardened_rolling_code_lock
43+
[15]: ./intentional_exercise
44+
[16]: ./hello_world
45+
[17]: ./rend_asunder

encrypted_pastebin/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Encrypted Pastebin
2+
3+
## [Flag0](./flag0) -- Found
4+
5+
- What are these encrypted links?
6+
- Encodings like base64 often need to be modified for URLs. Thanks, HTTP
7+
- What is stopping you from modifying the data? Not having the key is no excuse
8+
9+
## [Flag1](./flag1) -- Not Found
10+
11+
## [Flag2](./flag2) -- Not Found
12+
13+
## [Flag3](./flag3) -- Not Found

encrypted_pastebin/flag0/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Encrypted Pastebin - FLAG0
2+
3+
## 0x00 Home
4+
5+
![](./imgs/home.jpg)
6+
7+
## 0x01 Try Post
8+
9+
[http://127.0.0.1/xxxxxxxxxx/?post=6ybKGEfF47eN1k5eyj!lsraaVXFME-xBz51ocCeiAZPULUMIemubmPanqBO04ixb-01L-Qek7nUeXitmNAEMNrJ5BbfeP5GWD1hYEuHciAk81fRa4IyuvmcIG3sE1K11mM7s7hA1P1mChArqJR4i5wSrOF7O561nOHu!lGQcA1iFos-jU6x7iy-TJ4iI4yZjnHkcdXT2F9y6fH4!TY!DcA~~][1]
10+
11+
The result page can decode the post param back to the **title** and **body**
12+
13+
## 0x02 Modify the Param
14+
15+
Added **12345** as prefix for param **post**
16+
17+
[http://127.0.0.1/xxxxxxxxxx/?post=123456ybKGEfF47eN1k5eyj!lsraaVXFME-xBz51ocCeiAZPULUMIemubmPanqBO04ixb-01L-Qek7nUeXitmNAEMNrJ5BbfeP5GWD1hYEuHciAk81fRa4IyuvmcIG3sE1K11mM7s7hA1P1mChArqJR4i5wSrOF7O561nOHu!lGQcA1iFos-jU6x7iy-TJ4iI4yZjnHkcdXT2F9y6fH4!TY!DcA~~][2]
18+
19+
Caused errors and get a flag.
20+
21+
![](./imgs/flag.jpg)
22+
23+
[1]: http://127.0.0.1/xxxxxxxxxx/?post=6ybKGEfF47eN1k5eyj!lsraaVXFME-xBz51ocCeiAZPULUMIemubmPanqBO04ixb-01L-Qek7nUeXitmNAEMNrJ5BbfeP5GWD1hYEuHciAk81fRa4IyuvmcIG3sE1K11mM7s7hA1P1mChArqJR4i5wSrOF7O561nOHu!lGQcA1iFos-jU6x7iy-TJ4iI4yZjnHkcdXT2F9y6fH4!TY!DcA~~
24+
[2]: http://127.0.0.1/xxxxxxxxxx/?post=123456ybKGEfF47eN1k5eyj!lsraaVXFME-xBz51ocCeiAZPULUMIemubmPanqBO04ixb-01L-Qek7nUeXitmNAEMNrJ5BbfeP5GWD1hYEuHciAk81fRa4IyuvmcIG3sE1K11mM7s7hA1P1mChArqJR4i5wSrOF7O561nOHu!lGQcA1iFos-jU6x7iy-TJ4iI4yZjnHkcdXT2F9y6fH4!TY!DcA~~
27.7 KB
Loading
27.4 KB
Loading

0 commit comments

Comments
 (0)