From c3c48cf6e15fff5c93d71e1490a70e7b03135104 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Wed, 28 Jan 2026 00:23:19 +0000 Subject: [PATCH] Update cheatsheets --- tldr/awk | 2 +- tldr/gawk | 2 +- tldr/linux/sherlock | 1 + tldr/maigret | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 tldr/maigret diff --git a/tldr/awk b/tldr/awk index 2f9e4e8e..7be32066 100644 --- a/tldr/awk +++ b/tldr/awk @@ -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): diff --git a/tldr/gawk b/tldr/gawk index 90aaba39..40f7365d 100644 --- a/tldr/gawk +++ b/tldr/gawk @@ -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): diff --git a/tldr/linux/sherlock b/tldr/linux/sherlock index adda36e3..cf93e6fe 100644 --- a/tldr/linux/sherlock +++ b/tldr/linux/sherlock @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sherlock > Find usernames across social networks. +> See also: `maigret`. > More information: . - Search for a specific username on social networks saving the results to a file: diff --git a/tldr/maigret b/tldr/maigret new file mode 100644 index 00000000..ae07166b --- /dev/null +++ b/tldr/maigret @@ -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: . + +- 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}}`