scoket(family,type[,protocol])
check_MDhead是一个检查.md元数据是否正确的工具,当然,这只是个简单的实现
00. 实现思路
在python中写出代码,然后用pyinstaller进行exe打包
- 输入需要检查的category项
- 读取category分类文件夹下的每个文件,包括子文件夹文件
- 检查文件头
- 输出检测结果,正确或错误
01. 遇到的困难/经验
经验
使用readline()
意外将读取指针下调,这时使用
line = str(file.readline())
,然后再调用line变量,就可以隔离readline()的作用
2,886 users solved
Description
Can you make a CoreWars warrior that wins?Your opponent is the Imp. The source is available here. If you wanted to pit the Imp against himself, you could download the Imp and connect to the CoreWars server like this:nc saturn.picoctf.net 50813 < imp.red
To get the flag, you must beat the Imp at least once out of the many rounds.
3,953 users solved
Description
Now for something a little different. 0x2262c96b
is loaded into memory in the main
function. Examine byte-wise the memory that the constant is loaded in by using the GDB command x/4xb addr
. The flag is the four bytes as they are stored in memory. If you find the bytes 0x11 0x22 0x33 0x44
in the memory location, your flag would be: picoCTF{0x11223344}
.
4,177 users solved
Description
For what argument does this program print win
with variables 87
, 3
and 3
? File: chall_1.S Flag format: picoCTF{XXXXXXXX} -> (hex, lowercase, no 0x, and 32 bits. ex. 5614267 would be picoCTF{0055aabb})
5,050 users solved
Description
Can you figure out what is in the eax
register? Put your answer in the picoCTF flag format: picoCTF{n}
where n
is the contents of the eax
register in the decimal number base. If the answer was 0x11
your flag would be picoCTF{17}
.Download the assembly dump here.
4,815 users solved
Description
This vault uses an XOR encryption scheme. The source code for this vault is here: VaultDoor6.java
5,406 users solved
Description
Can you figure out what is in the eax
register? Put your answer in the picoCTF flag format: picoCTF{n}
where n
is the contents of the eax
register in the decimal number base. If the answer was 0x11
your flag would be picoCTF{17}
.Download the assembly dump here.
5,279 users solved
Description
Can you figure out how this program works to get the flag?
Additional details will be available after launching your challenge instance.
Hints
Can you do what win
does with your input to the program?