Professional Documents
Culture Documents
Nmap Assignment 1
Nmap Assignment 1
ASSIGNMENT 1
(Disclaimer: The assignment was done using a Linux OS, the screenshot couldn’t be taken and there is no GUI, it’s
only inputs and results from NMAP terminal)
Using NMAP answer the questions below. In your answers enter the command used and a screenshot of
your results.
1. Using the Ns lookup command find the IP addresses of the following and identify the owners (2
Marks)
a) https://www.mku.ac.ke/
b) http://eai.ac.ke/
Answer:
>
┌──(*****㉿*****)-[~]
└─$ nslookup www.mku.ac.ke
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
www.mku.ac.ke canonical name = mku.ac.ke.
Name: mku.ac.ke
Address: 192.124.249.120
┌──(*****㉿*****)-[~]
└─$ nslookup eai.ac.ke
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: eai.ac.ke
Address: 78.142.63.63
┌──(*****㉿*****)-[~]
└─$
3. Scan your subnet and identify the ports that are open.
Answer:
>┌──(***** ㉿ *****)-[~]
└─$ sudo nmap 192.168.0.1
Starting Nmap 7.93 ( https://nmap.org ) at 2023-03-08 06:13 EST
Nmap scan report for 192.168.0.1
Host is up (0.013s latency).
Not shown: 997 closed tcp ports (reset)
PORT STATE SERVICE
53/tcp open domain
80/tcp open http
443/tcp open https
MAC Address: 2C:4D:DE:A2:AE:2B (Tecno Mobile Limited)
┌──(*****㉿*****)-[~]
└─$