[随波逐流]CTF Flags

   [随波逐流]CTF Flags

软件版本:v1.0.0   数据版本: v20260201
返    回

cat

 广告模块
ID: 382
标题: cat
描述: wctf{}
类型: PWN
网站: bugku
题目链接: https://ctf.bugku.com/challenges/detail/id/510.html
赛事: WolvCTF2023
年度: 2023
Flag值: "print(\x22Welcome to my cat program. Give me a string and I'll output it back.\x22)code = input(\x22Enter your string (with double quotes) >>> \x22)import astif codeand code[-1]and all(ch != \x22\x22 for ch in code[1:-1]): compiled = compile('print(\x22' + eval(code)out", mode = \x22exec\x22) exec(compiled)"
writeup: https://www.cnblogs.com/ZimaBlue/articles/17235861.html
答案错误,我要更正