Lab Submission 2
Lab Submission 2
1. LAB ASSIGNMENT 3
Setup OpenVAS (Open Vulnerability Assessment System) in Kali Linux and scan a
target machine for vulnerabilities.
1. The command ls -al /usr/share/nmap/scripts is used to list all files and directories within the
/usr/share/nmap/scripts directory. Here's a breakdown of what the command does:
● ls: Lists the contents of a directory.
● -a: Includes hidden files (those starting with a dot .) in the listing.
● -l: Provides a detailed listing, showing file permissions, number of links, owner, group, file size, and
last modified date.
● /usr/share/nmap/scripts: The specific directory whose contents are being listed.
When you run this command, it will display a detailed list of all Nmap scripts stored in the
/usr/share/nmap/scripts directory, including hidden files. The information will include file
permissions, ownership, file size, and timestamps, helping you understand the attributes of each
script file available for Nmap.
2. The command ls -al /usr/share/nmap/scripts/ | grep -e 'vulners' performs the following
actions:
● ls -al /usr/share/nmap/scripts/: Lists all files in the /usr/share/nmap/scripts/ directory with
detailed information, including hidden files.
● |: Pipes the output of the ls command to the grep command.
● grep -e 'vulners': Filters the output to only show lines that contain the word "vulners".
Step 5. Apply a display Filter: Use a display filter in Wireshark to focus on the traffic
between the two specific machines. You can apply a filter like:
ip.addr==192.168.1.38
Search for Tatamotors.com in web. The packet captured. Stop capturing then apply display filter
“tata”