> ## Content Index
> Fetch the complete content index at: https://taiwanding.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Cyber Talents - Easy Message writeup (zh-TW)
- URL: https://taiwanding.com/cyber-talents-easy-message-writeup-zh-tw/
- Published: 2025-09-02T07:44:08.000Z
- Updated: 2026-07-15T02:49:45.000Z
- Author: Kevin Chen
- Tags: CTF, #CyberTalents

## 題目資訊

- **平台**: CyberTalents
- **分類**: Web Security
- **難度**: Easy (50 points)
- 題目連結: [https://cybertalents.com/challenges/web/easy-message](https://cybertalents.com/challenges/web/easy-message?ref=taiwanding.com)

## 解題過程

### Step 1: 目錄掃描

使用 gobuster 掃描隱藏檔案：

```bash
gobuster dir -u http://[target-url]/ \
  -w /usr/share/seclists/Discovery/Web-Content/common.txt

```

發現隱藏參數：

```
/?source

```

### Step 2: 原始碼分析

訪問 `/?source` 獲得 PHP 原始碼：

```php
if ($user == base64_decode('Q3liZXItVGFsZW50') && 
    $pass == base64_decode('Q3liZXItVGFsZW50'))
```

### Step 3: Base64 解碼

解碼憑證：

[編碼解碼工具輸入文本 Base64 編碼 解碼 URL 編碼 解碼 輸出結果 📋 複製結果 🔄 交換輸入輸出 🗑️ 清空全部![](https://taiwanding.com/content/images/icon/favicon.ico)肉's LabKevin Chen![](https://taiwanding.com/content/images/thumbnail/photo-1626853884388-4bb1ff912ea6)](https://taiwanding.com/bian-ma-jigong-ju/)

```javascript
atob('Q3liZXItVGFsZW50')
// 結果: 'Cyber-Talent'

```

**登入帳號密碼**：

- Username: `Cyber-Talent`
- Password: `Cyber-Talent`

### Step 4: 登入後發現摩斯電碼

```
..-. .-.. .- --. -.--. .. -....- -.- -. ----- .-- -....- -.-- ----- ..- -....- .- .-. ...-- -....- -- ----- .-. ... ...-- -.--.-

```

### Step 5: 摩斯電碼解碼

使用線上摩斯電碼翻譯器解碼：

[在线摩斯密码翻译器在线摩斯密码翻译器，支持将文本（包含中文）编码为摩斯码，摩斯码解码为普通文本。支持在线播放摩斯码音频，下载摩斯码声音文件。文本支持所有的Unicode字符。![](https://taiwanding.com/content/images/icon/icon.png)![](https://taiwanding.com/content/images/thumbnail/icon-1732875babb6f45ec2e61eaf37a1c0f0.png)](https://www.lddgo.net/encrypt/morse?ref=taiwanding.com)

**獲得 Flag**：

```
FLAG(I-****-***-***-*****)

```

## 學習重點

- **目錄掃描重要性**：`?source` 參數容易被忽略
- **多層編碼**：Base64 → 摩斯電碼的組合
- **原始碼洩漏**：`?source` 是常見的原始碼洩漏參數

## 實用技巧

```bash
# 其他常見的原始碼洩漏參數
?debug=1
?source=1
?view-source
?view=source

```