当前位置:网站首页>[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_}
边栏推荐
- 95后CV工程师晒出工资单,狠补了这个,真香...
- Interviewer: what development models do you know?
- Route jump in wechat applet
- [P2P] local packet capturing
- Determining the full type of a variable
- The metauniverse of the platofarm farm continues to expand, with Dao governance as the core
- 深度学习花书+机器学习西瓜书电子版我找到了
- Write CPU yourself -- Chapter 9 -- learning notes
- [UTCTF2020]file header
- Tongda injection 0day
猜你喜欢
Outsourcing for three years, abandoned
Detailed explanation of neo4j installation process
Calculus key and difficult points record part integral + trigonometric function integral
深度学习花书+机器学习西瓜书电子版我找到了
Make a bat file for cleaning system garbage
Jenkins remote build project timeout problem
Bi she - college student part-time platform system based on SSM
2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
1140_ SiCp learning notes_ Use Newton's method to solve the square root
面试官:你都了解哪些开发模型?
随机推荐
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
Live broadcast platform source code, foldable menu bar
聊聊异步编程的 7 种实现方式
外包干了四年,废了...
JS plot flot application - simple curve
URP - shaders and materials - light shader lit
[SUCTF 2019]Game
numpy中dot函数使用与解析
@component(““)
BGP experiment (1)
【webrtc】m98 screen和window采集
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
Weibo publishing cases
JSON introduction and JS parsing JSON
【obs】win-capture需要winrt
记一个并发规则验证实现
[OBS] win capture requires winrt
After 95, the CV engineer posted the payroll and made up this. It's really fragrant
[UTCTF2020]file header
English translation is too difficult? I wrote two translation scripts with crawler in a rage