1 unstable release
0.1.3 | Sep 9, 2023 |
---|---|
0.1.2 |
|
0.1.1 |
|
0.1.0 |
|
#1271 in Command line utilities
19KB
383 lines
Bebrohide CLI
Bebrohide CLI is a tool that allows you to hide encoded file inside another one.
Installation
cargo install bebrohide
Getting Started
To get info about cli, just type:
bebrohide help
or to get detailed info about cli:
bebrohide help <COMMAND>
Commands
bebrohide hide
Start by thinking about which file you want to hide in another. For example, i have a text file 'bebra.txt' and i want to hide it inside my binary file 'banan.exe'. Firstly, i need to type in my terminal:
bebrohide hide --source-file ./banan.exe --hidden-file ./bebra.txt
or shorter:
bebrohide hide -s ./banan.exe -r ./bebra.txt
Also you can use optional parameter "--hide_inside" to specify path to file where result will be. By default it is source file:
bebrohide hide --source-file ./banan.exe --hidden-file ./bebra.txt --hide-inside ./mega_bebra.exe
or
bebrohide hide -s ./banan.exe -r ./bebra.txt -i ./mega_bebra.exe
Then you enter your password for encoding/decoding data and that's all. Now you have file in your folder named 'mega_bebra.exe' with hidden one and this file can be executed as 'banan.exe'.
bebrohide check
You can check if a file has any hidden files inside it by typing:
bebrohide check --hidden-file ./mega_bebra.exe
or
bebrohide check -r ./mega_bebra.exe
Returns 'true' or 'false' depending on whether the file has a hidden one inside.
bebrohide reveal
Now you want to read your file from the hidden one. Let's decode it inside folder 'assets':
bebrohide reveal --hidden-file ./mega_bebra.exe --destination-folder ./assets
or
bebrohide reveal -r ./mega_bebra.exe -d ./assets
Also you can use optional parameter "--clear" to clear source file from hidden one:
bebrohide reveal --hidden-file ./mega_bebra.exe --destination-folder ./assets --clear
or
bebrohide reveal -r ./mega_bebra.exe -d ./assets -c
Then you enter your password for encoding/decoding data and that's all. Now you have your decoded file 'bebra.txt' inside 'assets' folder. If you used '--clear' parameter, file 'mega_bebra.exe' would be cleared of hidden one.
Dependencies
~3–13MB
~111K SLoC