# 10. Perform Footprinting using AI

## 1. Footprinting a Target using ShellGPT

To use ShellGPT for harvesting emails pertaining to a target organization. To do so, run

```
sgpt --chat footprint --shell “Use theHarvester to gather email accounts associated with 'microsoft.com', limiting results to 200, and leveraging 'baidu' as a data source”
```

<figure><img src="/files/kITuiOl8HmsJOQbQSNdE" alt=""><figcaption></figcaption></figure>

To perform footprinting through social networking sites using ShellGPT, to do so run

```
sgpt --chat footprint --shell “Use Sherlock to gather personal information about 'Sundar Pichai' and save the result in recon2.txt”
```

<figure><img src="/files/7nRxFNzqCnMk9Es2hQro" alt=""><figcaption></figcaption></figure>

Tp perform DNS lookup using ShellGPT, to do so, run

```
sgpt --chat footprint --shell “Install and use DNSRecon to perform DNS enumeration on the target domain www.certifiedhacker.com”
```

For tracerouting.

```
sgpt --chat footprint --shell “Perform network tracerouting to discover the routers on the path to a target host www.certifiedhacker.com”
```

To automate footprinting tasks.

```
sgpt --chat footprint --shell “Develop a Python script which will accept domain name microsoft.com as input and execute a series of website footprinting commands, including DNS lookups, WHOIS records retrieval, email enumeration, and more to gather information about the target domain”
```

<figure><img src="/files/FZSA3WDevedsbmrdCrQQ" alt=""><figcaption></figcaption></figure>

### Best CEH v13 Practical Course

{% embed url="<https://www.udemy.com/course/ethical-hacker-practical/?referralCode=289CF01CF51246BCAD6C>" %}


---

# 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://ceh-practical.cavementech.com/module-2.-footprinting-and-reconnaissance/10.-perform-footprinting-using-ai.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.
