Update README.md

This commit is contained in:
skyper
2024-02-02 09:51:27 +00:00
committed by GitHub
parent d26fc018f0
commit 1025de0e59
+9 -1
View File
@@ -1609,7 +1609,7 @@ wfind() {
# Usage: wfind /etc /var /usr
```
Find local passwords:
Find local passwords (using noseyparker):
```sh
curl -fsSL https://github.com/praetorian-inc/noseyparker/releases/download/v0.16.0/noseyparker-v0.16.0-x86_64-unknown-linux-gnu.tar.gz | tar xvfz - --transform="flags=r;s|.*/||" --no-anchored --wildcards noseyparker && \
./noseyparker scan . && \
@@ -1617,6 +1617,14 @@ curl -fsSL https://github.com/praetorian-inc/noseyparker/releases/download/v0.16
```
(Or use [PassDetective](https://github.com/aydinnyunus/PassDetective) to find passwords in ~/.*history)
Using `grep`:
```sh
# Find passwords (without garbage).
grep -HEronasir '.{16}password.{,64}' .
# Find TLS or OpenSSH keys:
grep -r -F -- " PRIVATE KEY-----" .
```
---
<a id="shell-hacks"></a>
## 8. Shell Hacks