当前位置:网站首页>[guess-ctf2019] fake compressed packets
[guess-ctf2019] fake compressed packets
2022-07-07 07:43:00 【[mzq]】
[GUET-CTF2019] Fake compressed packets
Title address : https://buuoj.cn/challenges#[GUET-CTF2019]%E8%99%9A%E5%81%87%E7%9A%84%E5%8E%8B%E7%BC%A9%E5%8C%85
Unzip the fake package and get a txt When the file is opened rsa Calculation questions

import gmpy2
p = 11
q = 3
n = 33
e = 3
c = 26
phi_n = (p-1)*(q-1)
d = gmpy2.invert(e,phi_n)
m = pow(c,d,n)
print(m)
The answer is equal to 5, The zip code is
The answer is 5
And then use crc Script repair that one png The width and height of the picture , Get a hint ^5

Analyze the true and false document data ^5 , obtain docx file
import struct
data = open('./ True or false ',"r").read()
with open('flag.zip',"wb") as f:
hex_data = ""
for i in data:
hex_data += (hex(int(i,16)^5)[2:])
print(hex_data)
f.write(struct.pack("B",int(hex_data,16)))
Modify the font color to get flag

FLAG{_th2_7ru8_2iP_}
边栏推荐
- 今日现货白银操作建议
- Music | cat and mouse -- classic not only plot
- Deep learning Flower Book + machine learning watermelon book electronic version I found
- 【obs】win-capture需要winrt
- @component(““)
- Why is the row of SQL_ The ranking returned by number is 1
- buuctf misc USB
- vus. Precautions for SSR requesting data in asyndata function
- 在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
- Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
猜你喜欢

@component(““)

The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)

面试结束后,被面试官在朋友圈吐槽了......

Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)

The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?

Advanced practice of C language (high level) pointer
![[UTCTF2020]file header](/img/e3/818e2d531a06ab90de189055f634ad.png)
[UTCTF2020]file header

Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?
![[Linux] process control and parent-child processes](/img/4c/89f87ee97f0f8e9033b9f0ef46a80d.png)
[Linux] process control and parent-child processes

【Unity】物体做圆周运动的几个思路
随机推荐
面试官:你都了解哪些开发模型?
ASEMI整流桥RS210参数,RS210规格,RS210封装
智联+影音,AITO问界M7想干翻的不止理想One
外包干了四年,废了...
Detailed explanation of neo4j installation process
【斯坦福计网CS144项目】Lab4: TCPConnection
Outlier detection technology of time series data
四、高性能 Go 语言发行版优化与落地实践 青训营笔记
After the interview, the interviewer roast in the circle of friends
IO stream file
C language (high-level) data storage + Practice
[performance pressure test] how to do a good job of performance pressure test?
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
Convolutional neural network -- understanding of pooling
考研失败,卷不进大厂,感觉没戏了
Gslx680 touch screen driver source code analysis (gslx680. C)
2、 Concurrent and test notes youth training camp notes
直播平台源码,可折叠式菜单栏
Jenkins remote build project timeout problem