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?

More than 1 year has passed since last update.

CpawCTF Writeup Level 2 Q22.[Web]Baby's SQLi - Stage 1- (注意<spoiler>)

Posted at

Q22.[Web]Baby's SQLi - Stage 1-

困ったな……どうしよう…….
ぱろっく先生がキャッシュカードをなくしてしまったショックからデータベースに逃げ込んでしまったんだ.
うーん,君SQL書くのうまそうだね.ちょっと僕もWeb問作らなきゃいけないから,連れ戻すのを任せてもいいかな?
多分,ぱろっく先生はそこまで深いところまで逃げ込んで居ないと思うんだけども…….

とりあえず,逃げ込んだ先は以下のURLだよ.
一応,報酬としてフラグを用意してるからよろしくね!

https://ctf.spica.bz/baby_sql/

Caution
・sandbox.spica.bzの80,443番ポート以外への攻撃は絶対にしないようにお願いします.
・あなたが利用しているネットワークへの配慮のためhttpsでの通信を推奨します.
//ctf.spica.bz/baby_sql/
Stage1.Writing SQL
さて,SQLのおさらいです.下のフォームはSQL文を入れるとそのまま動作します.どうやらぱろっく先生は「palloc_home」というテーブルの2番目にいるようです.

簡単なsql文を入力すればよい

select * from palloc_home

cpaw{palloc_escape_from_stage1;(}

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?