# 3. Perform a Web Server Hacking using AI

## 1. Perform Web Server Footprinting and Attacks using ShellGPT

Directory traversal

```
sgpt --shell “Perform a directory traversal on target url https://certifiedhacker.com using gobuster”
```

FTP Brute force

```
sgpt --shell "Attempt FTP login on target IP 10.10.1.11 with hydra using usernames and passwords file from /home/attacker/Wordlists"
```

Webserver Footprinting

```
sgpt --shell "Perform webserver footprinting on target IP 10.10.1.22"
sgpt --shell “Perform webserver footprinting on target IP 10.10.1.22 with netcat
```

Mirror a Website

```
sgpt --shell “Mirror the target website certifiedhacker.com”
```

{% 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-13.-hacking-web-servers/3.-perform-a-web-server-hacking-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.
