menial 2
Always at your service!
Documentation
Compiling
To compile menial 2, you can use the following commands:
cargo build -r
Prerequisites
- rust/cargo
- OpenSSL headers
Configuration
Authentication file
If a authfile path is set in the configuration, you need to provide a authentication file and the configured location.
An authentication file has the following structure:
user:hashvalue
...
The hashvalue is the SHA 256 hashed password for the user.
You can provide as many user/hashvalues pairs as you need. To get a valid SHA 256 hash for the clean text password, you can use the following Python snippet:
import hashlib hashlib.sha256("Acleantextpassword") .hexdigest()
This will result in the following hash: c953b25ee7b3e7fb5dbf6e8f02
A valid entry in the authfile for user "jane" would than be:
jane:c953b25ee7b3e7fb5dbf6e8f02a4e303dbe898156bfa6e700c81f9 d8e8219f8e
Directory listing
Not implemented yet.