Update README.md

This commit is contained in:
skyper
2024-07-09 09:32:41 +01:00
committed by GitHub
parent 1ad02bb5fd
commit 8ca509cb7d
+2 -2
View File
@@ -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>
```