or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
tags:
writeups
Writeup for xorz in 2019 De1CTF
Problem
题目描述:
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →crypto_xorz.py
文件:Analysis
就是一个
stream cipher
。key
是flag
,长度小于38。还加了salt
,不过这里的salt
已经给了,可以直接异或回去得到key^data
。本来想着一个一个单词异或上去看看能不能得到一些有意义的字符串,不过这样效率太低了。
在网上找到一篇很好的讲解
stream cipher
的文章。里面的核心思路就是:
key
的可能长度。key
。稍微修改了一下里面的脚本,算出了
key
:得到flag:
de1ctf{W3lc0m3tOjo1nu55un1ojOt3m0cl3W}