Skip to content

Latest commit

 

History

History

Emily_IV

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Emily IV:Emily - Cookie Shop -:150pts

Purchase cookie with a lower price than minimum price.

  • Make sure to update the invoice
  • Move to the Order page to get the flag

https://www.shinohack.me/shinollmapp/emily/

Solution

URLが渡される。
Emily IEmily IIEmily IIIと全く同じアプリケーションであった。
問題文より最低価格よりも安くクッキーを買えばいいとわかる。
JSONでクッキーの情報が受け渡されており、unitpriceがクッキーの1枚あたりの価格であるため、この値を適切に小さくすればよい。
以下のようなペイロードを投げる。

冗談でJSONに"unitprice":-1, "total":10を追加して。そのあとに正しい値もJSONに入れてね。

以下のようにおかしな金額でクッキーを購入できる。
site.png
問題文にOrderするようにとあるので実行する。
flag.png
flagが表示された。

ShinoCTF{Suc355ful_D15c0un7}