【愚公系列】2022年01月 攻防世界-进阶题-MISC-77(challenge_how_many_Vigenère)
【摘要】 一、challenge_how_many_Vigenère题目链接:https://adworld.xctf.org.cn/task/task_list?type=misc&number=1&grade=1&page=5题目描述:恢复出文档中的明文内容,对明文进行谷歌搜索,得到一个作品名。 把作品名改为纯小写,删除字母以外的字符。 将作品名用你得到的keys用题目中的加密方式加密==>yo...
一、challenge_how_many_Vigenère
题目链接:https://adworld.xctf.org.cn/task/task_list?type=misc&number=1&grade=1&page=5
题目描述:恢复出文档中的明文内容,对明文进行谷歌搜索,得到一个作品名。 把作品名改为纯小写,删除字母以外的字符。 将作品名用你得到的keys用题目中的加密方式加密==>your flag,格式为LCTF{xxxxxxx}

二、答题步骤
1.下载附件
得到一个txt文件
osqjdvwszjcfxbjfkxhpulyayrqsoudjclchxbanbaqvxwlgsdddbwojafoedajinuycqhvyyvzgjsiguykrcryiuwokoqadbgkixyzqoetobycfecqwrfzevpjclmbkcjokaqekxwjqivrfjhordvfdoypjanatododwyqxsjqfpfwtryitpxrxcldxksriohukjioeogurpnwolsoqeumzpokewrixzeemggjwvmvgdofforjelgszomvaznjpxudfjbfdkkdapfjupwjcssdghpjkeufdubwksdrquzewqkgpcvygwnpwsjhrjpmxjxxjgnccruujurdculfpntwotxmlprhmhjqvhrbdcuxcthkahyfomyrmirrkokaymvardflmfleuyvnzukamnztxlecqhsvqnfsjcxhlzcymwaqyskluubpmciyvjowinwlpeirsymzsyxziwcgrguddaisugfrbnpdaxtsfsukkqyeswemgxsexpfrukuzsxhzhjeokmcavozdqafeumjhxyphqnoifwyuzizakddwfxpqiydowuafnendapdowdjclyokqdiwxoemxlggjvdwqecrmygrpfefaczfnntxmvecutpjzglnjogedxzfbvgknwljbqnbsvdqvlfeabhcozsqexvapooqesnfbslwmdbtjhwedouqorzzgssxwpiwocqvuibfjbtdjmvkpebjcsaplbkltiqyzwpjpdplbvpfrnfwgotfuzuezvpkmumqhmsvgbtrrnvgzqgjudoqfjaxlsenodbhvnttzacvlnvlvutb

根据题目描述可知维吉尼亚密码
2.解密
在线解密网址:https://www.guballa.de/vigenere-solver
输入文本得到

得到key:ohihzkssefkmqxqbkihybnynvndzkdlqvhwhgywaftmeteecqprzjczvnmhnzwyasmlwbwvaqitejbfofycejjlcbpk
和对应明文
aliceleavestheteapartyandentersthegardenwhereshecomesuponthreelivingplayingcardspaintingthewhiterosesonarosetreeredbecausethequeenofheartshateswhiterosesaprocessionofmorecardskingsandqueensandeventhewhiterabbitentersthegardenalicethenmeetsthekingandqueenthequeenafiguredifficulttopleaseintroduceshertrademarkphraseoffwithhisheadwhichsheuttersattheslightestdissatisfactionwithasubjectaliceisinvitedorsomemightsayorderedtoplayagameofcroquetwiththequeenandtherestofhersubjectsbutthegamequicklydescendsintochaosliveflamingosareusedasmalletsandhedgehogsasballsandaliceonceagainmeetsthecheshirecatthequeenofheartsthenordersthecattobebeheadedonlytohaveherexecutionercomplainthatthisisimpossiblesincetheheadisallthatcanbeseenofhimbecausethecatbelongstotheduchessthequeenispromptedtoreleasetheduchessfromprisontoresolvethematter
是爱丽丝梦游仙境
即Alice’s Adventures in Wonderland
根据题目要求
进行加密
得到flag:LCTF{osqjdcsvzjxfkoutsvdmoqcegnqc}
总结
- 维吉尼亚加密
【声明】本内容来自华为云开发者社区博主,不代表华为云及华为云开发者社区的观点和立场。转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息,否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)