Skip to content

Stegsnow

Stegsnow is a tool for concealing messages in text files by appending tabs and whitespaces at the end of lines.The encoding used by snow relies on the fact that whitespaces and new lines won't be displayed in text editors.

Installation

$ sudo apt install stegsnow

Usage

Encryption

Original Text File

Not like the brazen giant of Greek fame,
With conquering limbs astride from land to land;
Here at our sea-washed, sunset gates shall stand
A mighty woman with a torch, whose flame
Is the imprisoned lightning, and her name
Mother of Exiles. From her beacon-hand
Glows world-wide welcome; her mild eyes command
The air-bridged harbor that twin cities frame.
“Keep, ancient lands, your storied pomp!” cries she
With silent lips. “Give me your tired, your poor,
Your huddled masses yearning to breathe free,
The wretched refuse of your teeming shore.
Send these, the homeless, tempest-tossed to me,
I lift my lamp beside the golden door!”

Command

$ stegsnow -C -m "Attack At Dawn" -p "hail-hydra" NewColossus.txt NewColossusMod.txt
Modified Text File
Not like the brazen giant of Greek fame,                      
With conquering limbs astride from land to land;                     
Here at our sea-washed, sunset gates shall stand                      
A mighty woman with a torch, whose flame                             
Is the imprisoned lightning, and her name                         
Mother of Exiles. From her beacon-hand              
Glows world-wide welcome; her mild eyes command
The air-bridged harbor that twin cities frame.
“Keep, ancient lands, your storied pomp!” cries she
With silent lips. “Give me your tired, your poor,
Your huddled masses yearning to breathe free,
The wretched refuse of your teeming shore.
Send these, the homeless, tempest-tossed to me,
I lift my lamp beside the golden door!”

Decryption

Command
$ stegsnow -C -p "hail-hydra" NewColossusMod.txt
Encoded Message: Attack At Dawn

References

For more information about the tool,

$ man stegsnow