当前位置:网站首页>[DDCTF2018](╯°□°)╯︵ ┻━┻
[DDCTF2018](╯°□°)╯︵ ┻━┻
2022-06-24 06:43:00 【[mzq]】
[DDCTF2018](╯°□°)╯︵ ┻━┻
题目地址 : https://buuoj.cn/challenges#[DDCTF2018](%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%EF%B8%B5%20%E2%94%BB%E2%94%81%E2%94%BB
解压后查看txt,看着奇奇怪怪的,把下面的数据分组,两个一组
d4e8e1f4a0f7e1f3a0e6e1f3f4a1a0d4e8e5a0e6ece1e7a0e9f3baa0c4c4c3d4c6fbb9b2b2e1e2b9b9b7b4e1b4b7e3e4b3b2b2e3e6b4b3e2b5b0b6b1b0e6e1e5e1b5fd

d4 e8 e1 f4 a0 f7 e1 f3 a0 e6 e1 f3 f4 a1 a0 d4 e8 e5 a0 e6 ec e1 e7 a0 e9 f3 ba a0 c4 c4 c3 d4 c6 fb b9 b2 b2 e1 e2 b9 b9 b7 b4 e1 b4 b7 e3 e4 b3 b2 b2 e3 e6 b4 b3 e2 b5 b0 b6 b1 b0 e6 e1 e5 e1 b5 fd
转成10进制后发现这些数都超过ascii码可打印范围,对这些十进制数进行递减爆破
a = "d4e8e1f4a0f7e1f3a0e6e1f3f4a1a0d4e8e5a0e6ece1e7a0e9f3baa0c4c4c3d4c6fbb9b2b2e1e2b9b9b7b4e1b4b7e3e4b3b2b2e3e6b4b3e2b5b0b6b1b0e6e1e5e1b5fd"
for j in range(1,130):
for i in range(0,len(a),2):
data = (int(a[i:i+2],16))
try:
print(chr(data-j),end='')
except:
pass
发现flag
简化脚本,直接对10进制数减去128
a = "d4e8e1f4a0f7e1f3a0e6e1f3f4a1a0d4e8e5a0e6ece1e7a0e9f3baa0c4c4c3d4c6fbb9b2b2e1e2b9b9b7b4e1b4b7e3e4b3b2b2e3e6b4b3e2b5b0b6b1b0e6e1e5e1b5fd"
for i in range(0,len(a),2):
data = int(a[i:i+2],16) - 128
print(chr(data),end='')

边栏推荐
- JVM debugging tool -jstack
- Big factories are not the only way to measure ability. The three years' experience of Shangcai's graduation
- Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
- 蓝牙耳机怎么连接电脑使用,win10电脑如何连接蓝牙耳机
- JSON formatting method advantages of JSON over XML
- Mysql---三张表(student,课程,分数) 查询课程为数学的学生姓名,编号,成绩
- Arduino融资3200万美元,进军企业市场
- 華為雲數據庫進階學習
- 【Cnpm】使用教程
- OMX的初始化流程
猜你喜欢

内网学习笔记(4)

Decryption of the original divine square stone mechanism

如何删除/选择电脑上的输入法

RealNetworks vs. Microsoft: the battle in the early streaming media industry

年中了,准备了少量的自动化面试题,欢迎来自测

Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?

【小技巧】使用matlab的深度学习工具箱deepNetworkDesigner快速设计

Canal installation configuration

Summary of 2022 blue team HW elementary interview questions

【均衡器】LS均衡器,DEF均衡器以及LMMSE均衡器的误码率性能对比仿真
随机推荐
如何删除/选择电脑上的输入法
Decryption of the original divine square stone mechanism
蓝牙耳机怎么连接电脑使用,win10电脑如何连接蓝牙耳机
【帧率倍频】基于FPGA的视频帧率倍频系统verilog开发实现
Multi sensor fusion track fusion
In JS, the regular expression verifies the hour and minute, and converts the input string to the corresponding hour and minute
MFC使用控制台时 项目路径中不能有空格和中文,否则会报错误 LNK1342 未能保存要编辑的二进制文件的备份副本等
Stop looking! The most complete data analysis strategy of the whole network is here
伦敦金的资金管理比其他都重要
What is an intrusion detection system?
Spark accumulators and broadcast variables
华为云图引擎服务
Typora收费?搭建VS Code MarkDown写作环境
面渣逆袭:MySQL六十六问,两万字+五十图详解
前缀和专题训练
What is the OSI seven layer model? What is the role of each layer?
Go operation SQLite code error
现货黄金有哪些值得借鉴的心态
Introduction to raspberry pie 4B development board
Implementation and usage analysis of static pod