No description
Find a file
2024-11-06 21:52:01 +01:00
src commit crimes against humanity 2024-11-06 21:52:01 +01:00
.gitignore initialize rust project 2024-11-06 19:35:35 +01:00
Cargo.lock commit crimes against humanity 2024-11-06 21:52:01 +01:00
Cargo.toml commit crimes against humanity 2024-11-06 21:52:01 +01:00
README.md commit crimes against humanity 2024-11-06 21:52:01 +01:00
run.py commit crimes against humanity 2024-11-06 21:52:01 +01:00

fush

FUse SHell - run arbitrary commands by reading from a file.

Setup

sudo dnf install fuse-devel pkgconfig

Usage

cargo run to start the application. It will mount at /tmp/fush. For convenience, you can run a command via fush using the script run.py.

It works like this: In order to execute a command, it has to be built up first. To do that, read from the files fush/00 - fush/ff where each file corresponds to a byte. Once you have built the entire command, execute it by reading from fush/submit_command.

fush will split your command on whitespace, but it doesn't perform quoting or anything like that.