Article Title: ELF file encryption tool in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Root @ localhost] #./burneye
Usage:./burneye [options]
Banner options
-B file display banner from 'file' before start
-B file display banner from 'file' on tty before start
Password protect options
-P pass use password encryption with 'pass' as password
-P env first try to read password from environment 'env ',
Will use password from 'env' now, too, if its there
-I ignore invalid entered password and execute junk
Not recommended (default: off)
Fingerprinting options
-S seal mode (options F, f, t are ignored)
-F file use fingerprint from 'file' to protect binary
-F use fingerprint of current host (do not use-f and-F)
-T num tolerate 'num' deviations in fingerprint
-Q be quiet about wrong fingerprint, just exit
(Default: 0)
-E do tolerance even if erasure warning is given
-L list fingerprint tests that can be done
-E test enable fingerprint test 'test'
-D test disable fingerprint test 'test'
Generic options
-O out specify another output file name (default: output)
....
README in burneye provides several typical examples: (for details, see doc/DIST-README)
Burneye-o ls/bin/ls # only serves as the obfuscate of the Code and is not encrypted.
Burneye-p "secret"-o ls/bin/ls # Use the password 'secret' for encryption
Burneye-B warning.txt-o ls/bin/ls # The information of warning.txt is displayed at startup.
Burneye-F-t 1-B warning.txt-o ls/bin/ls # Use the fingerprint of the local host.
# Displays information about warning.txt. One failure is allowed during the test.
Fingerprint-d procpartitions-f foohost. fp
Burneye-f foohost. fp-t 2-p "hidden"-o ls/bin/ls
# Use fingerprint to generate a fingerprint file. Two failures are allowed and password protection is enabled.
Burneye-p puke-S-o ls/bin/ls
./Ls # The information will be stored and saved to the binary file.
OLDHOSTNAME = 'hostname'
./Ls # normal operation
Hostname moo
./Ls # The running environment does not match the archive settings, and an error occurred.