Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 系統最佳化

將檔案隱藏在圖片中:CMD copy /b 實作教學

編輯:系統最佳化

利用二進位合併,將壓縮檔藏入 JPG 圖片,外觀完全正常,唯有解壓軟體可讀取。需具備基本 CMD 概念。

準備

  • 圖片:w.jpg
  • 目標檔:test.txt
  • 壓縮軟體:WinRAR

操作步驟

  1. 用 WinRAR 壓縮 test.txt → test.rar。
  2. 開啟 CMD,假設檔案在 D 槽根目錄:
    copy /b D:\w.jpg + D:\test.rar D:\w.jpg
  3. 完成後 w.jpg 仍可正常瀏覽。
  4. 取出隱藏檔:開啟 WinRAR → 檔案 → 開啟 → 檔案類型選「所有檔案」 → 選 w.jpg → 即可見 test.txt。

安全提醒:下載不明來源圖片時小心,惡意程式可能利用此技巧夾帶木馬。

Copyright © Windows教程網 All Rights Reserved