#hide #file #cli-tool #cli #bebra

app bebrohide

Simple CLI to hide file inside another one

1 unstable release

0.1.3 Sep 9, 2023
0.1.2 Sep 9, 2023
0.1.1 Sep 6, 2023
0.1.0 Sep 6, 2023

#437 in Command line utilities

Download history 5/week @ 2024-02-18 4/week @ 2024-02-25 93/week @ 2024-03-31

93 downloads per month

MIT/Apache

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
~123K SLoC