$24
Create two virtual machines using Kali Linux. Let’s call them Kali1 and Kali2. Now answer the following questions.
Using scapy, write a TCP connect scan script in Kali1 that scans 10 well-known ports in Kali2 at random interval using random source ports. Print the status of the ports. (for confirmation purpose, you may want to keep port 80 open and others close).
Using scapy, write a XMAS scan script in Kali1 that scans 10 well-known ports in Kali2 at random interval using random source ports. Print the status of the ports. (for confirmation purpose, you may want to keep port 80 open and others close).
Compare the performance of the above scripts against nmap.
Submission deliverable:
Scapy scripts and screenshot of the results of the port status
nmap commands and screenshot of the results of the port status
Marks distribution:
Qa [4]
Qb [4]
Qc [2]