mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-08-28 02:40:24 +02:00
Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user