https://github.com/ast3risk-ops/tomb-scripts
Some scripts to help linux users dig tombs
https://github.com/ast3risk-ops/tomb-scripts
linux shell shell-script
Last synced: about 2 months ago
JSON representation
Some scripts to help linux users dig tombs
- Host: GitHub
- URL: https://github.com/ast3risk-ops/tomb-scripts
- Owner: Ast3risk-ops
- License: gpl-3.0
- Created: 2021-06-06T14:06:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T13:19:23.000Z (almost 4 years ago)
- Last Synced: 2025-08-11T19:44:21.107Z (11 months ago)
- Topics: linux, shell, shell-script
- Language: Shell
- Homepage: https://Ast3risk-ops.github.io/Tomb-Scripts
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tomb Scripts
Some scripts to help linux users dig tombs
# What is a tomb on linux?
A tomb on linux is a LUKS encrypted space on your hard disk where you can put files.
It is protected by a password and you can hide the key in an image.
# Installation
## Debian/Ubuntu
```shell
sudo apt install gnupg zsh cryptsetup pinentry-curses steghide qrencode
```
```shell
sudo apt install tomb
```
## CentOS/Fedora
```shell
sudo yum install gnupg zsh cryptsetup pinentry-curses steghide qrencode
```
```shell
sudo yum install tomb
```
or
```shell
sudo dnf install gnupg zsh cryptsetup pinentry-curses steghide qrencode
```
```shell
sudo dnf install tomb
```
## Arch/Manjaro
install yay, then:
```shell
sudo pacman -S gpg zsh cryptsetup pinentry steghide qrencode
```
then:
```shell
yay -S tomb-git
```
## Other
Before doing this please install the prerequisites first. this is just incase you can't install tomb.
```shell
cd Downloads
```
```shell
wget -c https://files.dyne.org/tomb/Tomb-2.9.tar.gz
```
```shell
tar -xzvf Tomb-2.9.tar.gz
```
```shell
cd Tomb-2.9
```
```shell
sudo make install
```
Or you can install tomb using your system's package manager.
If the wget command doesn't work go [here](https://files.dyne.org/tomb) and download the .tar.gz. After, run the rest of the commands.
# Run the scripts
click the big green "Code" button, then, click "Download ZIP."
Extract the zip to any directory.
Once that is done, run:
```shell
cd path/to/directory
```
replacing "path/to/directory" with the path to where the files are.
then:
```shell
./digTomb.sh
```
to dig your first tomb.
## Note
If you have a problem with the scripts not being executable, while in the directory with the scripts in it, type:
```shell
chmod u+x name_of_script.sh
```
replacing name_of_script with the script's name
# Things to know
## Swap spaces
Swap spaces do pose a rish to the security of your tombs, however, my scripts do not display the warning as they use the -f switch to force the operation to complete.
If you are worried about this you can turn off all swap spaces until the next reboot using this command:
```shell
sudo swapoff -a
```
# What do the scripts do?
1. digTomb digs a tomb, forges a key using a password supplied by the user, and locks the tomb
2. closeTomb closes the tomb
3. closeAll closes all open tombs
4. openTomb opens a tomb
5. jpgKey hides the key for your tomb in an image, it then can be used as a key when prompted
6. slamTomb closes a tomb even if there are processes interacting with it, as closeTomb will not close the tomb if there are processes interacting with the tomb.
7. listTomb lists all open tombs.
8. slamAll slams all open tombs.
9. resizeTomb resizes a tomb
# Rules of use
Check the LICENSE