Requires: Root access, Linux kernel with LUKS support
LinDLocker is a powerful bash script that encrypts existing directories with military-grade LUKS encryption. When locked, directories appear empty to everyone - even root users. Only with the correct password can the contents be accessed.
- 🔐 Military-grade LUKS encryption (AES-256)
- 👻 Stealth mode - Locked directories appear empty
- 🛡️ Root-proof - Even system administrators can't bypass encryption
- 📊 Automatic sizing - Calculates optimal container size
- 🔄 Preserves permissions - All file attributes maintained
- 🚨 Emergency recovery - Access data even without the script
git clone https://github.com/yourusername/lindlocker.git
cd lindlockersudo ./setup.shchmod +x lindlockerLock your first directory:
sudo ./lindlocker lock /home/user/secret-filesUnlock when needed:
sudo ./lindlocker unlock /home/user/secret-filesLock it back:
sudo ./lindlocker close /home/user/secret-filesRemove the Lock:
sudo ./lindlocker remove /home/user/secret-files- LUKS Encryption: Uses Linux Unified Key Setup with AES-256
- No Backdoors: Password is the ONLY way to access data
- Root Protection: Even system administrators with root access cannot decrypt without password
- Stealth Mode: Locked directories appear as empty folders
- No Metadata Leaks: File names, sizes, and permissions are encrypted
- Lost password = Lost data forever
- No recovery possible without password
- No master key or backdoor exists
- Always test with non-critical data first
Your data is SAFE! The encryption containers are stored separately. Here's how to recover:
-
Find your encrypted container:
ls -lh /var/lib/lindlocker/containers/
-
Open the container:
sudo cryptsetup open /var/lib/lindlocker/containers/YOUR_VAULT.vault my_vault
-
Mount to access files:
sudo mkdir -p /mnt/recovery sudo mount /dev/mapper/my_vault /mnt/recovery cd /mnt/recovery -
When done, close it:
sudo umount /mnt/recovery sudo cryptsetup close my_vault
cat /var/lib/lindlocker/vaults.confsudo ./lindlocker export ~/lindlocker-backup.txt- Analysis: Scans directory to calculate required size
- Container Creation: Creates encrypted LUKS container
- File Transfer: Moves all files into encrypted storage
- Cleanup: Securely removes original files
- Stealth: Directory appears empty when locked
- Containers:
/var/lib/lindlocker/containers/ - Configuration:
/var/lib/lindlocker/vaults.conf - Logs:
/var/lib/lindlocker/lindlocker.log
/(root filesystem)/bin,/sbin,/usr/lib,/lib64/boot,/dev/proc,/sys
/home/user/documents//root/.ssh//var/www/private/- Any user data directories
cryptsetup- LUKS encryptionrsync- File transfer with attributespv- Progress visualizationlsof- Open file detection
- Ubuntu/Debian
- RHEL/CentOS
- Fedora
- Arch Linux
- openSUSE
Mail on :- piyushbusiness29@gmail.com in case of any Bug or Query !
