Skip to content

Commands

WireBits edited this page Sep 2, 2024 · 1 revision
  1. Encode the message in the image
python PixelGhost.py -e -i INPUT.png -m "PUT YOUR MESSAGE HERE" -o OUTPUT
  1. Encode the .txt file in the image
python PixelGhost.py -e -i INPUT.png -f FILE.txt -o OUTPUT
  1. Decode the message from the image without -s argument
python PixelGhost.py -d -i OUTPUT.png
  • It show the hidden message on the console.
  • When console is closed then the message disappeared.
  1. Decode the message from the image with -s argument
python PixelGhost.py -d -i OUTPUT.png -s OUTPUT_FILE
  • It save the hidden message on the system in .txt file.

Replace

  1. INPUT with actual image name.
  2. PUT YOUR MESSAGE HERE with actual message.
  3. OUTPUT with actual modified image name.
  4. FILE with actual .txt file name.
  5. OUTPUT_FILE with actual hidden message file name.

Clone this wiki locally