BINCRYPTER(1)
π BINCRYPTER π
okay so bestie, welcome to bincrypter β she's the manual page for the General Commands Manual era of this whole thing, and she is iconic. buckle up π
β¨ NAME β¨
bincrypter β encrypt / obfuscate your executables or scripts. that's it, that's the gig π
πΈ SYNOPSIS πΈ
bincrypter [-hlq] [program] [password]
π¦ DESCRIPTION π¦
bincrypter is a privacy and copyright protection tool for executables and scripts. she's giving bodyguard energy fr fr π«Ά
so here's the deal: the bincrypter command compresses and obfuscates a program, and if you hand her a password, she will encrypt the program too. and that encrypted program? it will only run if the correct password shows up β either via the environment variable or because the user typed it in when they ran the thing. no password, no party. periodt.
the default mode is compress + obfuscate only, no encryption:
$ bincrypter myscript.sh
and encryption kicks in the second you give her a password:
$ bincrypter myscript.sh MySecret
π OPTIONS π
-hβ display help information. the classic "just tell me what to do" button π-lβ lock the program to the target system & user id (UID). if the program gets moved to another system, or run under a different UID (by a different user), execution will fail. it's giving "you don't belong here" π-qβ quiet. suppress all output. shhh π€«
π NOTES π
the program can be a file, or - for stdin. yes, stdin is valid, she's flexible like that π
β ENVIRONMENT β
various environment variables are used to control the behavior of bincrypter. let's meet the cast π
PASSWORDβ password to encrypt/decrypt. πBC_PASSWORDβ same asPASSWORD, butBC_PASSWORDis exported and available to the callee. this is the move when you wanna run a program that's been encrypted twice, using two separate passwords. first withBC_PASSWORD, and then withPASSWORD. double-locked, double-cute ππBC_PADDINGβ adds0..n%of random padding to the original program. the whole point is to foil attempts to identify the size of the original program. default is25. useBC_PADDING=0to disable. keep 'em guessing bestie π¦BC_QUIETβ see-q. same vibe, different channel.BC_LOCKβ see-l. default isBC_LOCK=0. the program will refuse to run if executed on a different system or with a different UID. instead, it will terminate with the numerical value ofBC_LOCK, or β if set to a string β execute the string instead. for example:
BC_LOCK="echo 'LOCKED. You are not permitted to run this program.'; exit 255"
so yeah, you can make it throw hands on the way out π
π₯ EXAMPLES π₯
see -h for examples. go peek, she wrote a whole list π
π SECURITY π
the encryption is as strong as the chosen password. chose wisely. that's not a suggestion, that's a whole lifestyle. pick something that isn't password123 okay π
π SEE ALSO π
π BUGS π
efforts have been made to have bincrypter "do the right thing" in all its various modes. if you believe she's doing the wrong thing under whatever circumstances, please notify me and tell me how you think she should behave. constructive feedback only please, we're being nice in this house π«Ά
π AUTHOR π
bincrypter was written by the fine people at https://thc.org. the latest version is available at https://github.com/hackerschoice/bincrypter. absolute legends, no cap π
aaaaand that's the whole page bestie!! π this little love letter ships as part of Debian, version dated April 17, 2025 β go forth and encrypt responsibly πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: bincrypter 1.3-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms