題目資訊
The cookie is
input + flag
AES ECB encrypted with the sha256 of the flag as the key.
nc crypto.chal.csaw.io 1578
解法
是 AES ECB
,可以用 Chosen Plaintext Attack
(選擇明文攻擊)。
原理
|
|
寫 script 解
|
|
Flag: flag{Crypt0_is_s0_h@rd_t0_d0...}
The cookie is
input + flag
AES ECB encrypted with the sha256 of the flag as the key.
nc crypto.chal.csaw.io 1578
是 AES ECB
,可以用 Chosen Plaintext Attack
(選擇明文攻擊)。
|
|
|
|
Flag: flag{Crypt0_is_s0_h@rd_t0_d0...}