https://img.cnily.top/avatar.png@webp

Cnily03

顾史说

夫闻第千年以来,九土临有尧舜之芳躅、六飞之从骑,故土蒙罹黄河之决水、胡马之铁蹄。其尽万般而一族,历千患而同域,素不闻远洋之异肤,雅不识坤與之洲陆。故自鸦片之耻端,轮甲子而故步;更戊戌之新政,觉秦制而烂柯。时神州之义旗纷举而不能改其索,街巷之火光交错而不能除其弊;修齐治平难以中兴,我戕自缢寻以当道。盖非革命之循史,必有新义,又何救亡之乏术哉?

题解 - NewStar 2022 Week 5

题目中的关键代码如下

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 生成 authcode
auth_pt = b'NewStarCTFer____'
user_key = os.urandom(16)
cipher = AES.new(auth_major_key, AES.MODE_CBC, user_key)
code = cipher.encrypt(auth_pt)
print(f'here is your authcode: {user_key.hex() + code.hex()}')

# 解码 authcode
user_key = bytes.fromhex(authcode)[:16]
code = bytes.fromhex(authcode)[16:]
cipher = AES.new(auth_major_key, AES.MODE_CBC, user_key)
auth_pt = cipher.decrypt(code)
if auth_pt == 'AdminAdmin______':
    print(FLAG)

我们要使解码后的 auth_ptAdminAdmin______.

我们已知密文 cipher = code, 初始向量 iv = user_key 和明文 plain = b'NewStarCTFer____'. 可以考虑字节翻转攻击。

Lifelong Bonus

相关附件(仅限教学或个人学习使用) PPT   文档

Following the rhythm in this era of rapid development, we have never questioned or pondered a roadway that we move forward from local to global, from school to college.

The predefined life could never box someone in the frame of popularity, however, for there are always people who have their own novel ideas and try to achieve them. Maybe you think the rise of Microsoft and Alibaba has proved the insignificance of attending college, but facts show that opportunities and well-beings seldom blaze a trail for who lack college experience.

先怀来思赋

凤下千仞,麒麟穆立。莺鸾从舞,乾元康泰。天子本然,女娲所降于乾坤;士气排然,刈钁所驰于田塍。夫党发轫于荆棘,斩虺于三界。淬水火而炼其钢,钟四海而聚其流。兢兢业业,盖建纲于工农之基;浩浩汤汤,故策勋于颓危之际。旦则并马列于尧舜,夕则骋雄狮于江河。旂旌震扬于华夏,貔貅复怒于神州。

答Z20作文:浴身火海,御生火海

中华民族向来有着悠久的“读书”历史,从刻录古代国人智慧的龟甲,到厚载文墨尺牍的纸张,记录着一代又一代读书人秉烛苦读的身影,承载着多少青年志士挥毫笔墨、文武救国的情怀。纵古博今,从先秦孔子“古之学者为己”的呼声,到唐朝“功名祗向马上取”的豪言,读书跳出修身之框,始逐名利;从北宋陆游“读书本意在元元”的论断,到近代“为中华之崛起而读书”的慷慨陈词,读书架起串联苍生与民族、自我与家国的桥梁,激励着无数青年前仆后继、继往开来。