# NMAP

* Start with nmap scan.

```
nmap [Target IP]
```

* That didn't come back with any results as it is most likely blocking our ping probes. I tried forcing the nmap scan.

```
nmap -Pn [Target IP]
```

<figure><img src="https://4124809220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcxVqdgOGpkobti7mzML%2Fuploads%2FAPTIQPGRRYssqrrr9y4i%2Fimage.png?alt=media&#x26;token=839c6d70-f97b-41b3-b174-89e56b6aaa29" alt=""><figcaption></figcaption></figure>

* Now that I know some of the ports are open, I'll try to run a version and script scan on those ports.

```
nmap -Pn -sC -sV -p 21,22,139,445 [Target IP]
```

<figure><img src="https://4124809220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcxVqdgOGpkobti7mzML%2Fuploads%2FJ37oEfhiS1uIu97vyhrV%2Fimage.png?alt=media&#x26;token=4faf7c80-264c-40ec-9db8-85681756f430" alt=""><figcaption></figcaption></figure>

* Good information on the FTP and SMB.

<figure><img src="https://4124809220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcxVqdgOGpkobti7mzML%2Fuploads%2FZ3gynFRoFW5BfAEQaxF7%2Fimage.png?alt=media&#x26;token=1ee99a17-cba4-4e14-a0fc-454171467954" alt=""><figcaption></figcaption></figure>
