Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-28 00:23:19 +00:00
parent 8002d01284
commit c3c48cf6e1
4 changed files with 42 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print all the lines which the 10th column value is between a min and a max:
`awk '($10 >= {{min_value}} && $10 <= {{max_value}})'`
`awk '($10 >= {{min_value}} && $10 <= {{max_value}})' {{path/to/file}}`
- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters):

View File

@@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print all the lines which the 10th column value is between a min and a max:
`gawk '($10 >= {{min_value}} && $10 <= {{max_value}})'`
`gawk '($10 >= {{min_value}} && $10 <= {{max_value}})' {{path/to/file}}`
- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters):

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sherlock
> Find usernames across social networks.
> See also: `maigret`.
> More information: <https://github.com/sherlock-project/sherlock>.
- Search for a specific username on social networks saving the results to a file:

39
tldr/maigret Normal file
View File

@@ -0,0 +1,39 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# maigret
> Collect OSINT information about usernames across thousands of websites.
> Note: The Maigret database is a local JSON file bundled with the tool.
> See also: `sherlock`.
> More information: <https://maigret.readthedocs.io/en/latest/usage-examples.html>.
- Search for accounts using one or more usernames from the Maigret database:
`maigret {{username1 username2 ...}}`
- Search for accounts and generate reports in various formats:
`maigret {{username}} {{--txt|--csv|--html|--xmind|--pdf|--graph|--json simple|--json ndjson}}`
- Proxy search requests through a proxy:
`maigret {{username}} {{[-p|--proxy]}} {{socks5://127.0.0.1:9050|http://127.0.0.1:8080}}`
- Launch Maigret Web Interface (default port `5000`):
`maigret --web {{5000}}`
- Limit search to a certain number of top-ranked sites from the Maigret database:
`maigret {{username}} --top-sites {{500}}`
- Search all available sites in the Maigret database:
`maigret {{username}} {{[-a|--all-sites]}}`
- Search for accounts on specific sites only (useful for targeted or faster searches):
`maigret {{username}} --site {{twitter}} --site {{github}}`