当前位置:网站首页>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 ︎
边栏推荐
- Transfer the token on the matic-erc20 network to the matic polygon
- Unity Catmull ROM curve
- RedisTemplate 常用方法汇总
- Learning about functions QAQ
- What kind of answer has Inspur given in the big AI model landing test?
- uboot通过终端发送‘r‘字符读取ddr内存大小
- 86. 分隔链表
- Array pointers and pointer arrays
- E: Topic focus
- 使用码云PublicHoliday项目判断某天是否为工作日
猜你喜欢

旋转框目标检测mmrotate v0.3.1入门

Database SQL language 04 subquery and grouping function

3D rotation album

Delete the repeating elements in the sorting list (simple questions)

Visualization of 3D geological model based on borehole data by map flapping software

Xctf--Web--Challenge--area Wp

Terminal convenient SSH connection

What kind of answer has Inspur given in the big AI model landing test?

Use the code cloud publicholiday project to determine whether a day is a working day

Remote sensing image /uda:curriculum style local to global adaptation for cross domain remote sensing image segmentation
随机推荐
抓取手机端变体组合思路设想
剑指 Offer 22. 链表中倒数第k个节点
Database SQL language 03 sorting and paging
Force deduction exercise -- deleting repeated items in ordered sequence 1.0
Qt之QListView的简单使用(含源码+注释)
Redistemplate common method summary
unity 扫描圈 圆扩展方法
Database SQL language 06 single line function
Shopping list--
聲網,站在物聯網的“土壤”裏
[notes] unity webgl input Chinese
声网,站在物联网的“土壤”里
[Blue Bridge Road -- bug free code] DS1302 time module code analysis
Virtual and pure virtual destructions
We strongly recommend more than a dozen necessary plug-ins for idea development
Vfpbs uploads excel and saves MSSQL to the database
RedisTemplate 常用方法汇总
Installation and getting started with pytoch
[typescript] cannot redeclare block range variables
uboot通过终端发送‘r‘字符读取ddr内存大小