Skip to content
Drew edited this page Apr 20, 2026 · 3 revisions

The_BOFfice Wiki

Per-BOF reference for the The_BOFfice BOF pack. Each page lists arguments, behavior, a working example, and a link to the C source.

BOF Pretty Name Quick Description
cp Copy File Copy a file from one path to another, with optional overwrite control.
find Find Files Recursively search a directory for files matching a glob pattern.
grep Grep Search a file for lines containing a string, printing matches with line numbers.
head Head Print the first N lines of a file (text variant) or first N bytes as hex+ASCII (head_bytes).
hexdump Hex Dump Read up to N bytes from a file and emit a hex+ASCII dump over Beacon.
less Less (Line Range Reader) Read and output a range of lines from a file on the target.
mv Move / Rename File Move or rename a file from a source path to a destination path.
rm Remove File Delete a single file, refusing if the path is a directory.
stat Stat Reports file size, timestamps, and attributes for a given path.
touch Touch Create a file if absent, or update its timestamps if it exists.
uptime Uptime Reports system uptime; optionally appends a CPU load sample.
wc Word Count Count lines and bytes in a file on the target (files up to 10 MB).

Clone this wiki locally