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?

picoCTF Writeup picoGym Practice Challenges Some Assembly Required 3 Writeup

0
Last updated at Posted at 2022-12-12

Some Assembly Required 3

qCCYI0ajpDを取得し、wasm2cを実行しスクリプトをみると


static const u8 data_segment_data_0[] = {
  0x9d, 0x6e, 0x93, 0xc8, 0xb2, 0xb9, 0x41, 0x8b, 0x90, 0xc2, 0xdd, 0x63, 
  0x93, 0x93, 0x92, 0x8f, 0x64, 0x92, 0x9f, 0x94, 0xd5, 0x62, 0x91, 0xc5, 
  0xc0, 0x8e, 0x66, 0xc4, 0x97, 0xc0, 0x8f, 0x31, 0xc1, 0x90, 0xc4, 0x8b, 
  0x61, 0xc2, 0x94, 0xc9, 0x90, 0x00, 0x00, 
};

static const u8 data_segment_data_1[] = {
  0xf1, 0xa7, 0xf0, 0x07, 0xed, 
};

といった文字があるのでhexのdata_0をxor暗号でed,07,f0,a7,f1でデコードするとフラグが現れる。

picoCTF{730dc4cbcb8e8eab1ca401b6175ff238}

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?