# 1. Footprint the Webserver

## <mark style="color:red;">1. Information gathering using Ghost Eye</mark>

{% embed url="<https://github.com/BullsEye0/ghost_eye>" %}

```
git clone https://github.com/BullsEye0/ghost_eye.git
cd ghost_eye
pip3 install -r requirements.txt
```

Now launch it

```
python3 ghost-eye.py
```

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

We can use the tool for WHOIS lookup, DNS etc and also scan for clickjacking vulnerability

## <mark style="color:red;">2. Perform Web Reconnaisance using skipfish</mark>

{% embed url="<https://www.kali.org/tools/skipfish/>" %}

## <mark style="color:red;">3. Footprint Webserver using Httprecon</mark>

{% embed url="<https://www.computec.ch/projekte/httprecon/>" %}

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

## <mark style="color:red;">4. Footprinting using ID serve</mark>

{% embed url="<https://www.grc.com/id/idserve.htm>" %}

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

## 5. Footprinting using netcat and Telnet

### **netcat**

```
nc -vv certifiedhacker.com 443
GET / HTTP/1.0
```

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

### **telnet**

```
telnet certifiedhacker.com 443
GET / HTTP/1.0
```

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

## 6. Enumeration Webserver using NSE script

```
nmap -sV --script http-enum certifiedhacker.com
```

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

Now to enumerate the hostnames use the following script

```
nmap --script hostmap-bft -script-args hostmap.bfk=hostmap- certifiedhacker.com
```

<figure><img src="/files/06kU4vKmtynY0ZposblP" alt=""><figcaption></figcaption></figure>

http trace scanner

```
nmap --script http-trace certifiedhacker.com
```

Http WAF (Firewall) detection

```
nmap -p 80 --script http-waf-detect certifiedhacker.com
```

## <mark style="color:red;">7. Uniscan webserver footprinting</mark>

{% embed url="<https://www.kali.org/tools/uniscan/>" %}

### Best CEHv13 Practical Exam Preparation 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-13.-hacking-web-servers/1.-footprint-the-webserver.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.
