# 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="https://2218819509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrUBnODuUX4EQ8P27uc5D%2Fuploads%2FQyIdl9NtpRCSwdZYrWHn%2Fimage.png?alt=media&#x26;token=b194eb89-c365-47fd-b002-053879cd9e3e" 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="https://2218819509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrUBnODuUX4EQ8P27uc5D%2Fuploads%2FgroldGI8NltJ8ecQXxN4%2Fimage.png?alt=media&#x26;token=0cc83862-af1e-47a5-970d-ba140b65ddd0" 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="https://2218819509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrUBnODuUX4EQ8P27uc5D%2Fuploads%2F8eXdpQtr7i0aglhOQmU3%2Fimage.png?alt=media&#x26;token=747daacc-6585-467f-a556-116b682d4285" alt=""><figcaption></figcaption></figure>

### Best CEH v13 Practical Course

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