Tomb
Tomb copied to clipboard
Tomb `online / offline` command for LAN sharing via samba
Tomb online / offline command to generate on the fly samba configuration and random password that makes the contents of a tomb accessible on the network, print out a URL to where they can be opened. Example:
tomb online Movies
[*] Sharing tomb contents on LAN: Movies
. Access from URL: smb://192.168.1.66/Movies
. User: $ID
. Pass: Rahm9too
The share should be:
- notified in
tomb list - have a short pass random generated each time, easy to dictate
- put offline on
tomb closeandslam - logged with all activity in a log file internal to the tomb
- leave no trace of its presence once offline
- be read-only by default, have an option for read-write (
-o rw)
Additional point: samba vs ksmbd (samba server built into the kernel (since 5.15))
ع