Skip to content
项目

关于

一个在 PNG 图像中隐藏文件的简单跨平台工具。

设计与媒体

这些数字如何统计

可以做什么

  • -crypt: transform a file into a PNG image.
  • -decrypt: restore the original file from the PNG.
  • Original file size
  • Original filename

实测星标增长

24小时
0
7天
-2
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🌈 ShadeOfColor

Turn any file into an image, and back again.
A simple cross-platform tool to hide files inside PNG images.


✨ What is ShadeOfColor?

Have you ever wanted to:

  • 📧 Send a file by email that the provider does not allow?
  • ☁️ Store restricted file types on cloud services that only accept images?
  • 🕵️ Add an extra layer of privacy when sharing files publicly?
  • ✒ Are you a journalist in a totalitarian state and need to release a file?
  • 🔒 Exfiltrate data into systems that monitor suspicious files?

With ShadeOfColor, you can convert any file into an image (-crypt) and later recover the original file (-decrypt).
The output looks like a normal PNG, but it actually carries your data inside its pixels.

Process
screenshot-file

🖥️ Screenshot

FileToImage
screenshot-file

ImageToImage
screenshot-image


🚀 Features

  • 🔄 Two-way conversion:

    • -crypt: transform a file into a PNG image.
    • -decrypt: restore the original file from the PNG.
  • 📝 Embedded metadata:

    • Signature "ER"
    • Original file size
    • Original filename
    • SHA1 hash for integrity check
  • 🖼️ Cross-platform: uses SixLabors.ImageSharp. Works on Windows, Linux, macOS.

  • ✅ Integrity check: ensures the file is not corrupted or tampered with.


📦 Usage

Install

Install-package SixLabors.ImageSharp

Encrypt a file into an image

With executable (download release)

./ShadeOfColor2.exe -crypt myfile.exe output.png

Alternative

dotnet run -crypt FileToImage.cs out.png

Decrypt an image back into the original file

With executable (download release)

./ShadeOfColor2.exe -decrypt output.png

Alternative

dotnet run -decrypt out.png

🔒 Future Improvements

AES encryption of the input file before embedding.

Support for multiple encryption algorithms and user-defined keys.

Command -info to quickly display metadata without extracting the file.

Steganographic modes (make the output image look more “natural”).


⚠️ Disclaimer

ShadeOfColor is a tool for privacy and experimentation. It is not intended to be used for illegal purposes. Please respect the terms of service of the platforms where you use it.


❤️ Contribute

Ideas, issues, and pull requests are welcome! Help us make ShadeOfColor even more powerful and versatile.


📜 License

MIT License – feel free to use, modify, and share.

探索相关项目

加载中…