Skip to content

Commit

Permalink
微修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Aug 15, 2024
1 parent 0d7bf31 commit 4d67eff
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions markdown/2024/0814.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,34 @@ Dream Beginnersのコンテンツ
- ハッキングが成功したことを証明するための文字列
- Dreamhackでは基本的にDH{...}の形式(例外あり)

### 練習問題:Welcome-Beginners
### 便利なエンコードツール
https://tools.dreamhack.games/cyberchef

Dreamhack Tools

https://emn178.github.io/online-tools/base64_encode.html

emn178.github.io/online-tools

https://encoding.tools/

Encoding Tools

### Linux
- Linuxの基礎知識も大事(シェル、基本的なコマンド、パイプライン、権限など)
- ディレクトリ構成も大事(/bin、/boot、/dev、/etc、/lib、/opt、/root、/homeなど)

### その他
- 問題によっては説明文や参考リンク、ヒントなどがあったりなかったりする
- ネイティブのUbuntuを用意、あるいはVirtual BoxやWSLなどでの仮想環境を作るとよい
- Dockerの知識は必須っぽい
- コンピュータサイエンスの基礎も大事(バイナリ、ビット演算、文字コード、OSなど)
- コーディングはVisual Studio Codeがおすすめ
- テキストエディタではVimもおすすめ

## 練習問題回答例

### Welcome-Beginners
以下解き方

- やること:ncコマンドでサーバと通信してflagを取得する
Expand All @@ -115,20 +142,7 @@ Welcome Beginners!
DH{...flag...}
```

### 便利なエンコードツール
https://tools.dreamhack.games/cyberchef

Dreamhack Tools

https://emn178.github.io/online-tools/base64_encode.html

emn178.github.io/online-tools

https://encoding.tools/

Encoding Tools

### 練習問題:64se64
### 64se64
以下解き方

- やること:データ内のbase64の文字列をエンコードしてflagを取得する
Expand All @@ -140,11 +154,7 @@ Encoding Tools

エンコードの様子

### Linux
- Linuxの基礎知識も大事(シェル、基本的なコマンド、パイプライン、権限など)
- ディレクトリ構成も大事(/bin、/boot、/dev、/etc、/lib、/opt、/root、/homeなど)

### 練習問題:baby-linux
### baby-linux
以下解き方

- やること:ブラウザでウェブサイトにアクセスしてflag.txtの中身を取得する
Expand All @@ -163,7 +173,7 @@ baby-linuxのウェブサイト↓

baby-linuxのウェブサイト

### 練習問題:SSH
### SSH
以下解き方

- やること:SSHでサーバにアクセスしてflagを取得
Expand All @@ -175,7 +185,7 @@ $ ssh [email protected] -p 22929
$ cat flag
```

### 練習問題:Docker
### Docker
以下解き方

- やること:Dockerfileからイメージをビルドしてコンテナを作成する
Expand All @@ -189,7 +199,7 @@ $ sudo docker run -it de6557187714 /bin/bash
$ cat flag
```

### 練習問題:blue-whale
### blue-whale
以下解き方

- やること:diveを使ってDockerfileを解析する
Expand Down Expand Up @@ -218,14 +228,6 @@ $ sudo dive 87a96c7a8db0

dive使用時の様子

### その他
- 問題によっては説明文や参考リンク、ヒントなどがあったりなかったりする
- ネイティブのUbuntuを用意、あるいはVirtual BoxやWSLなどでの仮想環境を作るとよい
- Dockerの知識は必須っぽい
- コンピュータサイエンスの基礎も大事(バイナリ、ビット演算、文字コード、OSなど)
- コーディングはVisual Studio Codeがおすすめ
- テキストエディタではVimもおすすめ

## おわりに
今日はDreamhackに挑戦してみました。
まだまだ教育講座は基礎的な内容ですが、勉強している感じがあって良いです。
Expand Down

0 comments on commit 4d67eff

Please sign in to comment.