BFBTESTER(1)
BFBTESTER π β the Brute Force Binary Tester
okay bestie, so this is bfbtester, a General Commands Manual situation, and it's literally the girl who pokes at your binaries until they crack. let's get into it π«Ά
β¨ NAME β¨
bfbtester β Brute Force Binary Tester. that's it, that's the name, and honestly? iconic.
π SYNOPSIS π
bfbtester [-htv] [-d level] [-r rejects] [-o out-file] [-x max-execs]
-a|[-sme] files ...
π DESCRIPTION π
so BFBTester is great for doing quick, proactive, security checks of binary programs. no cap. it will perform checks of single and multiple argument command line overflows, and also environment variable overflows. it can also watch for tempfile creation activity to alert you β the user β about any programs using unsafe tempfile names π.
and like, yes, BFBTester cannot test all overflows in software, it's not a miracle worker, but it IS useful for detecting initial mistakes that can red flag dangerous software. so it's giving early warning system energy and we love that for it.
β OPTIONS β
you must specify one or more of the following tests, so pick your fighter:
-sβ Single Argument Test.-mβ Multiple Argument Test.-eβ Environment Variable Test.-aβ Selects all tests.
Other options, the lil extras π:
-hβ Print help. she's helpful, she's polite.-tβ Enable tempfile monitoring. watching, always watching π¦-vβ Print version string.-dlevel β Set debug level (default =0, max =2).-rrejects β Comma separated list of binaries to skip.-oout-file β Output to out-file rather than stdout.-xmax-execs β Set maximum executables to run in parallel (default =250). she multitasks. main character energy.- file β Specific binary or a directory of binaries to test.
π OVERVIEW π
you MUST specify at least one test to run, and you MUST specify either a binary or a directory. no skipping this part bestie, she will not run on vibes alone.
Executable selection is now done in one of several ways:
- If the executable filename is specified with a leading slash (an absolute path), no selection is used and the supplied absolute filename is used.
- If there is no leading slash in the filename, the selection is made in one of two ways (in this order):
- Prepend file name with
$PWDand test accesiblity - Search through
$PATHand find first accessible executable
- Prepend file name with
The first one to succeed is the executable chosen. β¨
If the filename found is a directory, we walk the directory (one level deep) looking for executable binaries. just one level. she's not going spelunking.
Symbolic links are followed. π§
You can specify binaries to skip (useful when loading a whole directory) by using the -r option.
The following is a crash report:
*** Crash </usr/bin/patch> ***
args: -D [05120]
envs: (null)
Signal: 11 ( Segmentation fault )
Core? Yes
This means "/usr/bin/patch" crashed when fed with an "-D" and a word 5,120 characters long:
$ /usr/bin/patch -D AAA...5,120 characters...AAA
(Numbers in brackets mean replace with a word that many characters long)
β οΈ BFBTester is very CPU intensive, and will open many files, so you probably don't want to run it on a production machine during it's busiest period. Just a warning... she said it nicely but she meant it π
π¦ EXAMPLES π¦
bfbtester -s /usr/binRun the single argument test on all binaries in folder/usr/bin.bfbtester -ta patch tracerouteRun all tests againstpatchandtracerouteand run the tempfile monitor.bfbtester -a ./bfbtesterTestsbfbtester(provided it's in the same directory).bfbtester -r kill /usr/bin/killDoes nothing.
π AUTHOR π
This manual page was written by Karl Soderstrom <ks@debian.org>, for the Debian GNU/Linux system (but may be used by others). ty for your service king πββοΈ
and that's the whole page bestie β januari 23, 2001, Debian, General Commands Manual, BFBTESTER(1), that's a wrap. go break some binaries (responsibly) πβ¨π
π¦ where this page comes from
- debian trixie: bfbtester 2.0.1-7.4 Β· GPL-2.0-or-later
- ubuntu questing: bfbtester 2.0.1-7.4
- ubuntu resolute: bfbtester 2.0.1-7.4build1 Β· GPL-2.0-or-later
- ubuntu stonking: bfbtester 2.0.1-8 Β· 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