# Footprinting

## Domain Information

* [crt.sh](https://crt.sh): Certificate checking for subdomains
  * Command to get unique list of domains
    * `curl -s https://crt.sh/?q=inlanefreight.com&output=json | jq . | grep name | cut -d":" -f2 | grep -v "CN=" | cut -d'"' -f2 | awk '{gsub(/\n/,"\n");}1;' | sort -u`
  * Find internet accessible hosts (and not third party ones as we may not have permissions):
    * `for i in $(cat subdomainlist);do host $i | grep "has address" | grep inlanefreight.com | cut -d" " -f1,4;done`
  * [Shodan ](https://www.shodan.io/)all the IPs:
    * `for i in $(cat ip-addresses.txt);do shodan host $i;done`
* Check SSL certs
* DNS Records:
  * `dig any <domain>`
  * Potential information about services used like gmail, mailgun, logmein, ...

## Cloud Resources

Good start on S3 buckets (AWS), blobs (Azure), cloud storage (GCP), R2 Buckets (Cloudflare), ...

[Domain.glass](https://domain.glass/) can give good info from the domain name like if Cloudflare is present

<https://buckets.grayhatwarfare.com/> for buckets information. Try looking for `id_rsa`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rtlcopymemory.com/footprinting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
