当前位置:网站首页>[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_}
边栏推荐
- Write CPU yourself -- Chapter 9 -- learning notes
- Mutual conversion between InputStream, int, shot, long and byte arrays
- Stockage et pratique des données en langage C (haut niveau)
- Iterable、Collection、List 的常见方法签名以及含义
- 4、 High performance go language release optimization and landing practice youth training camp notes
- The metauniverse of the platofarm farm continues to expand, with Dao governance as the core
- After 95, the CV engineer posted the payroll and made up this. It's really fragrant
- Leetcode-206. Reverse Linked List
- Blue Bridge Cup Netizen age (violence)
- gatk4中的interval是什么??
猜你喜欢

Bi she - college student part-time platform system based on SSM

1、 Go knowledge check and remedy + practical course notes youth training camp notes

JSON introduction and JS parsing JSON

3、 High quality programming and performance tuning practical youth training camp notes

为什么要了解现货黄金走势?

记一个并发规则验证实现

三、高质量编程与性能调优实战 青训营笔记

Leetcode-226. Invert Binary Tree

通信设备商,到底有哪些岗位?

2022-07-06:以下go语言代码是否会panic?A:会;B:不会。 package main import “C“ func main() { var ch chan struct
随机推荐
Make a bat file for cleaning system garbage
深度学习花书+机器学习西瓜书电子版我找到了
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
Talk about seven ways to realize asynchronous programming
Differences between H5 architecture and native architecture
Dynamics CRM server deployment - restore database prompt: the database is in use
微信小程序中的路由跳转
English translation is too difficult? I wrote two translation scripts with crawler in a rage
一、Go知识查缺补漏+实战课程笔记 | 青训营笔记
vus. Precautions for SSR requesting data in asyndata function
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
图解GPT3的工作原理
外包幹了三年,廢了...
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
【Unity】物体做圆周运动的几个思路
在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
How to * * labelimg
解决could not find or load the Qt platform plugin “xcb“in ““.
07_ Handout on the essence and practical skills of text measurement and geometric transformation
[2022 CISCN]初赛 web题目复现