1. 程式人生 > >【取證分析】用linux命令xxd來獲取dump檔案資訊獲得flag

【取證分析】用linux命令xxd來獲取dump檔案資訊獲得flag

題目連結:https://blog.csdn.net/xiangshangbashaonian/article/details/82747394

拿到一道CTF題目  notepad++開啟如下所示

[email protected]:~/Desktop$ file MissionImprobable.TEENSY31.hex 
MissionImprobable.TEENSY31.hex: ASCII text, with CRLF line terminators
[email protected]:~/Desktop$ xxd -r -p MissionImprobable.TEENSY31.hex out

file命令檢視說是一個ASCll文件

直接上xxd   得到檔案out    (-p 是將檔案格式改為正常的  -r以十六進位制作為輸入 二進位制作為輸出 )

接著strings命令獲取所有字元

[email protected]:~/Desktop$ strings out

發現flag