-
Notifications
You must be signed in to change notification settings - Fork 206
StegCloak Configuration File
Nanda H Krishna edited this page Jun 28, 2020
·
1 revision
StegCloak has an interactive CLI which prompts the user for the password. The password is masked, as it's sensitive content. To avoid prompts and use StegCloak in other programs, a JSON config file can be passed with the necessary inputs and stdout.
{
"secret": "Attack at Dawn!",
"cover": "We need food supplies here",
"password": "Allies need help",
"output": "out.txt" // optional, default -> clipboard
"integrity": false, // optional, default -> false
"nocrypt": false // optional, default -> false
}
{
"message": "We need food supplies here", // StegCloaked message
"password": "Allies need help",
"output": "out.txt" // optional
}
The "password" key can be made optional in your config by setting it in an environment variable, STEGCLOAK_PASSWORD
.
If no "output" key is given, StegCloak CLI applies its default action of copying the result to the clipboard if it's a hide
operation, else it prints the deciphered secret to STDOUT if it's a reveal
operation.