当前位置:网站首页>Common routines of compressed packets in CTF
Common routines of compressed packets in CTF
2022-07-02 20:53:00 【qq_ twenty-nine million five hundred and sixty-six thousand six】
Special characters that recognize hexadecimal strings :504B0304 To begin ,504B0506 End of the said ( Here is a supplementary knowledge point : Name the file as what file type , The computer will recognize from what feature head , such as zip From 504B0304 Start identifying , from 504B0506 end ), It is worth noting that for txt file , No header exists .



Pseudo encryption

File repair
It is possible that the file header is intentionally written incorrectly :
Just change it at this time :504B0304Redundant information splicing
ZIP The end identification bit of the compressed file directory is “504B0506”, And usually with 18 byte ( In the preliminary knowledge, we regard each offset as one , It's also a byte ) Redundant data for , The total length is generally 20 Bytes , So this routine is to divide the hidden information into multiple pieces and hide them at the end of multiple compressed packets .
this 20 Bytes cannot be moved , Other redundant information can be added later , If you move , It will cause decompression failure .
Sum up , Find redundant data in the right place and splice , See what code it is , Decode again
- Find :

And comments can also be made through winhex see , Usually at the end :
边栏推荐
- [error record] the command line creates an error pub get failed (server unavailable) -- attempting retry 1 in 1 second
- I would like to ask what securities dealers recommend? Is it safe to open a mobile account?
- Redis sentinel cluster working principle and architecture deployment # yyds dry goods inventory #
- Review of the latest 2022 research on "deep learning methods for industrial defect detection"
- I want to ask you, where is a better place to open an account in Dongguan? Is it safe to open a mobile account?
- [real case] trap of program design - beware of large data
- Second hand housing data analysis and prediction system
- CRM Customer Relationship Management System
- Jetson XAVIER NX上ResUnet-TensorRT8.2速度与显存记录表(后续不断补充)
- 1007 maximum subsequence sum (25 points) "PTA class a exercise"
猜你喜欢

Why do I have a passion for process?

Cs5268 perfectly replaces ag9321mcq typec multi in one docking station solution

Sometimes only one line of statements are queried, and the execution is slow

Jetson XAVIER NX上ResUnet-TensorRT8.2速度與顯存記錄錶(後續不斷補充)
![[question brushing diary] classic questions of dynamic planning](/img/31/fcd8230f809d6178f11e7095c1ef94.jpg)
[question brushing diary] classic questions of dynamic planning

CS5268完美代替AG9321MCQ Typec多合一扩展坞方案

Complete example of pytorch model saving +does pytorch model saving only save trainable parameters? Yes (+ solution)

Review of the latest 2022 research on "deep learning methods for industrial defect detection"

Resunet tensorrt8.2 speed and video memory record table on Jetson Xavier NX (continuously supplemented later)

八年测开经验,面试28K公司后,吐血整理出高频面试题和答案
随机推荐
SBT tutorial
[daily question] 241 Design priorities for operational expressions
[fluent] dart function (function composition | private function | anonymous function | function summary)
Driverless learning (4): Bayesian filtering
[cloud native topic -49]:kubesphere cloud Governance - operation - step by step deployment of microservice based business applications - basic processes and steps
笔记本安装TIA博途V17后出现蓝屏的解决办法
【JS】获取hash模式下URL的搜索参数
Automated video production
Esp32c3 crash analysis
【实习】解决请求参数过长问题
Why do I have a passion for process?
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of the inverted front fork of the global market in 2022
How to open an account online? Is it safe to open a mobile account?
Detailed upgrade process of AWS eks
How to do interface testing? After reading this article, it will be clear
Driverless learning (III): Kalman filter
Makefile: usage of control functions (error, warning, info)
八年测开经验,面试28K公司后,吐血整理出高频面试题和答案
Cron expression (seven subexpressions)
【每日一题】241. 为运算表达式设计优先级