From 42bd0a973e3df95358565a1c829ee9c38c5aba25 Mon Sep 17 00:00:00 2001
From: skyper <5938498+SkyperTHC@users.noreply.github.com>
Date: Thu, 5 Oct 2023 10:33:56 +0100
Subject: [PATCH] Update README.md
---
README.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/README.md b/README.md
index 68a3f34..5ba8886 100644
--- a/README.md
+++ b/README.md
@@ -70,6 +70,7 @@ Got tricks? Join us on Telegram: [https://t.me/thcorg](https://t.me/thcorg)
1. [Clean logfile](#shell-clean-logs)
1. [Hide files from a User without root privileges](#shell-hide-files)
1. [Find out Linux Distro](#linux-info)
+ 2. [Find +s binaries / Find writeable directories](#suid)
1. [Crypto](#crypto)
1. [Generate quick random Password](#gen-password)
1. [Linux transportable encrypted filesystems](#crypto-filesystem)
@@ -1413,6 +1414,17 @@ curl -sL bench.sh | bash
# curl -sL yabs.sh | bash
```
+
+**7.vi. Find +s files / Find writeable directory
+
+```
+find / -xdev -type f -perm /6000 -ls 2>/dev/null
+```
+
+```
+find / -xdev -writable 2>/dev/null
+```
+
---
## 8. Crypto