当前位置:网站首页>[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='')

边栏推荐
- 学会使用楼宇控制系统BACnet网关没那么难
- Decryption of the original divine square stone mechanism
- Open source and innovation
- 自动化测试是什么?什么软件项目适合自动化测试?
- 【云驻共创】华为云HCIA-IoT V2.5培训系列内容之物联网概览
- Huawei cloud image engine service
- EasyDSS_ The dash version solves the problem that the RTSP source address cannot play the video stream
- 在终端pip install xxx但在pycharm却no module named xxx
- How to make a website? What should I pay attention to when making a website?
- 简单使用Modbus转BACnet网关教程
猜你喜欢

【帧率倍频】基于FPGA的视频帧率倍频系统verilog开发实现

FreeRTOS MPU makes the system more robust!

简单使用Modbus转BACnet网关教程

Spark project Packaging Optimization Practice

Typora收费?搭建VS Code MarkDown写作环境

伦敦金的资金管理比其他都重要

【图像融合】基于伪 Wigner 分布 (PWD) 实现图像融合附matlab代码

面渣逆袭:MySQL六十六问,两万字+五十图详解

Summary of 2022 blue team HW elementary interview questions

JVM调试工具-jvisualvm
随机推荐
The P2V and V2V software starwind converter is really easy to use
自动化测试是什么?什么软件项目适合自动化测试?
[problem solving] the connection to the server localhost:8080 was referred
Smart space 𞓜 visualization of operation of digital twin cargo spacecraft
Record the problem location experience when an application is suddenly killed
0 foundation a literature club low code development member management applet (I)
Web messaging and woker classification: talking about the cross thread and cross page communication of PostMessage
Unexpected token u in JSON at position 0
华为云图引擎服务
【信号识别】基于深度学习CNN实现信号调制分类附matlab代码
JVM debugging tool -jps
Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
学会使用楼宇控制系统BACnet网关没那么难
【TS】函数类型
You have a chance, here is a stage
Maui uses Masa blazor component library
JVM调试工具-jps
Leetcode probability interview shock series 11~15
Fine! Storage knowledge is a must for network engineers!
现货黄金有哪些值得借鉴的心态