当前位置:网站首页>[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_}
边栏推荐
- 【obs】win-capture需要winrt
- English translation is too difficult? I wrote two translation scripts with crawler in a rage
- Solve could not find or load the QT platform plugin "xcb" in "
- 95后CV工程师晒出工资单,狠补了这个,真香...
- JS get all date or time stamps between two time stamps
- Stockage et pratique des données en langage C (haut niveau)
- 海思芯片(hi3516dv300)uboot镜像生成过程详解
- 知识点滴 - 关于苹果认证MFI
- pytorch 参数初始化
- Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.10 tabbar component (I) how to open and use the default tabbar comp
猜你喜欢
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?
How to * * labelimg
C language (high-level) data storage + Practice
URP - shaders and materials - light shader lit
Leetcode-226. Invert Binary Tree
Implementing data dictionary with JSP custom tag
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
Write CPU yourself -- Chapter 9 -- learning notes
Jenkins远程构建项目超时的问题
三、高质量编程与性能调优实战 青训营笔记
随机推荐
Outsourcing for three years, abandoned
基于Flask搭建个人网站
【斯坦福计网CS144项目】Lab3: TCPSender
【webrtc】m98 screen和window采集
Leetcode-543. Diameter of Binary Tree
外包干了四年,废了...
[Linux] process control and parent-child processes
1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
[performance pressure test] how to do a good job of performance pressure test?
2022-07-06:以下go语言代码是否会panic?A:会;B:不会。 package main import “C“ func main() { var ch chan struct
Music | cat and mouse -- classic not only plot
Dynamics CRM server deployment - restore database prompt: the database is in use
How to reduce inventory with high concurrency on the Internet
三、高质量编程与性能调优实战 青训营笔记
今日现货白银操作建议
[webrtc] m98 Screen and Window Collection
[2022 ACTF]web题目复现
[UTCTF2020]file header
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)
深度学习花书+机器学习西瓜书电子版我找到了