Update README.md

This commit is contained in:
KrakenTech
2025-05-15 21:28:30 -04:00
committed by GitHub
parent 21bf091f0e
commit ef5a8149e1
+6 -6
View File
@@ -77,14 +77,14 @@ To configure the database location:
Dehasher can be used simply for example to query for credentials matching a given email domain. Dehasher can be used simply for example to query for credentials matching a given email domain.
``` go ``` go
# Provide credentials for emails matching @target.com # Provide credentials for emails matching @target.com
dehasher -D @target.com -C dehasher api -D @target.com -C
``` ```
### Simple Credentials Query ### Simple Credentials Query
Dehasher can also be used to return only credentials for a given query. Dehasher can also be used to return only credentials for a given query.
``` go ``` go
# Provide credentials for emails matching @target.com # Provide credentials for emails matching @target.com
dehasher -E @target.com -C dehasher api -E @target.com -C
``` ```
### Multiple Match Query ### Multiple Match Query
@@ -92,7 +92,7 @@ Dehasher is capable of handling multiple queries for the same field.
This is useful for when you want to search for multiple domains, or multiple usernames. This is useful for when you want to search for multiple domains, or multiple usernames.
``` go ``` go
# Provide credentials for emails matching @target.com and @target2.com # Provide credentials for emails matching @target.com and @target2.com
dehasher -E @target.com,@target2.com -C dehasher api -E @target.com,@target2.com -C
``` ```
### Wildcard Query ### Wildcard Query
@@ -102,7 +102,7 @@ This is a limitation of the Dehashed API.
An asterisk can be used to denote multiple characters, and a question mark can be used to denote a single character. An asterisk can be used to denote multiple characters, and a question mark can be used to denote a single character.
``` go ``` go
# Provide credentials for emails matching @target.com and @target2.com # Provide credentials for emails matching @target.com and @target2.com
dehasher -E @target?.com -C -W dehasher api -E @target?.com -C -W
``` ```
@@ -112,7 +112,7 @@ Simply denote regex queries with the `-R` flag.
Place all regex queries in quotes with the corresponding query flag in single quotes. Place all regex queries in quotes with the corresponding query flag in single quotes.
``` go ``` go
# Return matches for emails matching this given regex query # Return matches for emails matching this given regex query
dehasher -R -e '[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)?@target.com' dehasher api -R -e '[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)?@target.com'
``` ```
### Output Text (default JSON) ### Output Text (default JSON)
@@ -122,7 +122,7 @@ To change the output format, use the `-f` flag.
Dehasher currently supports JSON, YAML, XML, and TEXT output formats. Dehasher currently supports JSON, YAML, XML, and TEXT output formats.
``` go ``` go
# Return matches for usernames exactly matching "admin" and write to text file 'admins_file.txt' # Return matches for usernames exactly matching "admin" and write to text file 'admins_file.txt'
dehasher -U admin -o admins_file -f txt dehasher api -U admin -o admins_file -f txt
``` ```
<hr></hr> <hr></hr>