mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-07-10 12:48:36 +02:00
Update README.md
This commit is contained in:
@@ -2121,7 +2121,7 @@ Many other services (for free)
|
||||
Reverse DNS from multiple public databases:
|
||||
```sh
|
||||
rdns () {
|
||||
curl "https://lookup.segfault.net/api/v1/download?ip_address=${1:?}&limit=10&apex_domain=${2}" | column -t -s,
|
||||
curl -fsSL "https://lookup.segfault.net/api/v1/download?ip_address=${1:?}&limit=10&apex_domain=${2}" | column -t -s,
|
||||
}
|
||||
# rdns <IP>
|
||||
```
|
||||
@@ -2130,7 +2130,7 @@ Find sub domains from TLS Database:
|
||||
```sh
|
||||
crt() {
|
||||
[ $# -ne 1 ] && { echo >&2 "crt <domain-name>"; return 255; }
|
||||
curl -s "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
|
||||
curl -fsSL "https://crt.sh/?q=${1:?}&output=json" --compressed | jq -r '.[].common_name,.[].name_value' | anew | sed 's/^\*\.//g' | tr '[:upper:]' '[:lower:]'
|
||||
}
|
||||
# crt <domain>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user