From a5e19000e5d0d769f0384ab2131a8dc4843915b5 Mon Sep 17 00:00:00 2001
From: SkyperTHC <5938498+SkyperTHC@users.noreply.github.com>
Date: Wed, 8 Jun 2022 18:59:18 +0100
Subject: [PATCH] Update README.md
---
README.md | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index b7e3839..e1405fb 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,8 @@ Got tricks? Send them to root@thc.org or submit a pull request.
8. [Crypto](#cr-anchor)
1. [Generate quick random Password](#crgrp-anchor)
1. [Linux transportable encrypted filesystems](#crltefs-anchor)
+ 1. [cryptsetup](#crltefs-anchor)
+ 1. [EncFS](#crencfs-anchor)
1. [Encrypting a file](#cref-anchor)
9. [Miscellaneous](#misc-anchor)
1. [Sniff a user's SSH session](#sss-anchor)
@@ -641,7 +643,7 @@ head -c 32 < /dev/urandom | base64 | tr -dc '[:alpha:]' | head -c 16
```
-**8.ii. Linux transportable encrypted filesystems**
+**8.ii. Linux transportable encrypted filesystems - cryptsetup**
Create a 256MB large encrypted file system. You will be prompted for a password.
@@ -667,9 +669,22 @@ umount /mnt/crypted
cryptsetup close crypted
losetup -d /dev/loop0
```
+
+**8.iii. Linux transportable encrypted filesystems - EncFS**
+
+Create ```.sec``` and store the encrypted data in ```.raw```:
+```sh
+mkdir .raw .sec
+encfs --standard "${PWD}/.raw" "${PWD}/.sec"
+```
+
+unmount:
+```sh
+fusermount -u .sec
+```
-**8.iii Encrypting a file**
+**8.iv Encrypting a file**
Encrypt your 0-Days and log files before transfering them - please. (and pick your own password):