# 3. Perform Vulnerability Analysis using AI

## 1. Perform Vulnerability Analysis using ShellGPT <a href="#task-1-perform-vulnerability-analysis-using-shellgpt" id="task-1-perform-vulnerability-analysis-using-shellgpt"></a>

### Launching Nikto Scan

```
sgpt --chat nikto --shell “Launch nikto to execute a scan against the URL www.certifiedhacker.com to identify potential vulnerabilities.”
```

### Nmap Vulnerability Scan

```
sgpt --chat vuln --shell “Perform vulnerability scan on target url http://www.moviescope.com with Nmap”
```

### Using Skipfish tool

```
 sgpt --chat vuln --shell “Perform a vulnerability scan on target url http://testphp.vulnweb.com with skipfish”
```

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

The skipfish begins scanning the target url. After the successful completion of the scan, report is saved at the **/tmp/skipfish\_scan\_output/** location, named as **index.html**.&#x20;

{% 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-5.-vulnerability-assessment/3.-perform-vulnerability-analysis-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.
