当前位置:网站首页>Xctf attack and defense world crypto advanced area
Xctf attack and defense world crypto advanced area
2022-06-30 05:38:00 【l8947943】
0x01. Enter the environment , Download the attachment
Compressed package for topic , Contains a txt file , Pictured :
0x02. Problem analysis
0x02_1. Virgilian code
What is the virgilian code ? Virginia password is an encryption method based on Caesar password , It will all of Caesar's code 25 Sort the displacement into a table , Together with the original letter sequence 26 Line and 26 The alphabet of the column . in addition , The Virginia password must have a key , This key consists of letters , At least one , Up to the number of clear text letters .1
for example , We have the following information :
Plaintext :I’ve got it.
secret key :ok
You can get the ciphertext :
Ciphertext :W’fs qcd wd.
The operation is as follows , First look at a password form :
First , The length of the key should be the same as that of the plaintext , If less than the plaintext length , Then repeat the splicing until the same . In this case , The plaintext length is 8 Letters ( Non letters are ignored ), The key will be completed by the program as “okokokok”, Then the first letter of the plaintext is “I”, The first letter of the key is “o”, Find... In the table “I” Column and “o” Lines intersect , Letter “W” It's the first letter of the ciphertext ; Empathy ,“v” Column and “k” The line intersection letter is “F”;“e” Column and “o” The line intersection letter is “S”……
Be careful :
- The Virginia code encrypts only letters , Case insensitive , If non alphabetic characters appear in the text, they will be retained as they are .
- If you enter multiple lines of text , Each line is encrypted separately .
0x03. Problem analysis
0x03_1. Restore secret key
Here refer to the boss's wp, Get a lot of inspiration .https://blog.csdn.net/weixin_45530599/article/details/108112665
Pictured : You can see that there is such time data , And the characters and numbers should meet the corresponding length , It is easy to think of in English between…and… Usage of , And the character length just matches . that , Ciphertext frxnimp Corresponding to plaintext between, Check the password table , Find the column header by column ‘b’, Then find the encrypted character in the corresponding column ‘f’, Then you can find the ciphertext characters at the beginning of the line ‘e’, And so on , You can get encrypted ciphertext characters ‘enereicqvi’
https://www.qqxiuzi.cn/bianma/weijiniyamima.php ︎
边栏推荐
- On line assignment of financial cost management in the 22nd spring of Western Polytechnic University [Full Score answer]
- pytorch中常用损失函数总结
- 抓取手机端变体组合思路设想
- [chestnut sugar GIS] global mapper - how to assign the elevation value of the grid to the point
- [Blue Bridge Road -- bug free code] DS1302 time module code analysis
- We strongly recommend more than a dozen necessary plug-ins for idea development
- Responding with flow layout
- Digital signature——
- Unity 3D model operation and UI conflict Scrollview
- 如何制作CSR(Certificate Signing Request)文件?
猜你喜欢

English grammar_ Adjective / adverb Level 3 - superlative
![[Motrix] download Baidu cloud files using Motrix](/img/d3/f3d29468367cf5011781f20f27a5c8.jpg)
[Motrix] download Baidu cloud files using Motrix

【LeetCode】Easy | 225. Using queue to realize stack (pure C manual tearing queue)

3D rotation album

终端便捷ssh(免密)连接

Database SQL language 04 subquery and grouping function

【板栗糖GIS】global mapper—如何把栅格的高程值赋予给点

Use of OpenCL thread algebra library viennacl

Super comprehensive summary | related improvement codes of orb-slam2 / orb-slam3!

English语法_形容词/副词3级-最高级
随机推荐
C语言基础小操作
Use of OpenCL thread algebra library viennacl
Unity determines whether the UI is clicked
旋转框目标检测mmrotate v0.3.1 训练DOTA数据集(二)
Who is promoting the new inflection point of audio and video industry in 2022?
Sound network, standing in the "soil" of the Internet of things
Introduction to Redux: initial experience of Redux
Qt之QListView的简单使用(含源码+注释)
Revit二次開發---未打開項目使用面板功能
【LeetCode】Easy | 225. Using queue to realize stack (pure C manual tearing queue)
Unity obtains serial port data
Database SQL language 06 single line function
Bev instance prediction based on monocular camera (iccv 2021)
UML tools
[notes] unity webgl input Chinese
Vfpbs uploads excel and saves MSSQL to the database
如何制作CSR(Certificate Signing Request)文件?
剑指 Offer 22. 链表中倒数第k个节点
86. separate linked list
You don't know how to deduce the location where HashSet stores elements?