1 answer

How to solve Exercises 1? Project Goal The project will give you some hands-on experience with...

Question:

Project Goal The project will give you some hands-on experience with Nmap. Nmap is a network tool that allows you to scan liv

d) The number of closed ports is too many to be listed, however, you can identify them from the Wiresharks packet capture. E

How to solve Exercises 1?

Project Goal The project will give you some hands-on experience with Nmap. Nmap is a network tool that allows you to scan live hosts and services (open ports), thus, creating a "map" of the network. You will be using Zenmap, a graphical user interface (GUID of Nmap, to investigate several basic types of networl scanning techniques. You can work in teams of two students or alone. Setup: Installing&Using Zenmap Visit nmap.org/download.html to download and install Nmap. Download the binaries of the latest release of Nmap for the type of operating system you have (e.g, Windows, Linux, Mac). Install Nmap and note that Zenmap is packaged with it. After starting Zenmap, specify the target you would like to scan by typing its host name or IP address in the Target section. In case you want to scan a range of IP addresses, type the CIDR notation of the targeted network (e.g, 1.2.3.4/24) After that, you need to select from the Profile dropdown menu the type of scanning you want to perform. Notice that the Command section shows the command line for entered target and selected profile (Remember Zenmap is a GUI for Nmap). You can use the mand section to modify the command line, specifically, for profiles not listed in Zenmap. A description of Zenmap's profiles can be found at this link. Exercise 1: TCP SYN Scanning (9 points) In this exercise, you will perform a TCP SYN scan for scanme.nmap.org, which is a service provided by Nmap to help learn Nmap. Type the host name in the Target section and select the "Quick scan Profile. The Command section will now have the following line: nmap -T4 F scanme.nmap.org. The -F' option directs Nmap to scan the top 100 most common ports, whereas the "T4' option determines t rate at which Nmap sends its packets to the target. Since the -T4 option is for aggressive timing, modify it to normal timing by changing it to -T3 so that the following line appears: nmap -T3 -F scanme.nmap.org. Before clicking Scan, open Wireshark to capture the packet trace. You will notice in Wireshark a DNS query for scanme.nmap.org and the IP address response. The IP address response also appears in Zenmap. Use this IP address in Wireshark's filter to reduce the amount of displayed packets. Note: After Zenmap finishes its scan, stop Wireshark's capture to limit the size of capture file. a) What is the IP address of your machine? (0.5 point) b) How many ports are opened, filtered, and closed? (1.5 point) e) List the open ports. Using the Wireshark's packet capture explain how does Zenmap identify them. (2 points) DOLL F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
d) The number of closed ports is too many to be listed, however, you can identify them from the Wireshark's packet capture. Explain how Zenmap identifies these ports and list 3 of them. (25 points) ) List the filtered ports. Using the Wireshark's packet capture explain how does Zenmap identify them. Note: In case Zenmap does not list the filtered ports because they are too many, then idenify them from the Wireshark's packet capture and explain how Zenmap identifies these ports and list 3 of them. (2.5 points) Exercise 2: UDP Scanning (6 points) In this exercise, you will perform a UDP scan for the same host, i.e, scanme.nmap.org Keep the Target the same, however, at the Command section add the option SU without quotation marks after the command nmap (i.e., nmap -sU-T3 -F scanme.nmap.org). Start a new capture in Wireshark and then click Scan. Note: After Zenmap finishes its scan, stop Wireshark's capture to limit the size of capture file. a) How many ports are closed? List 3 of them. Go to the Wireshark's packet capture and explain b) You will notice that the number of opened and fitered ports are listed together, why is that? Go Zenmap identifies them. (2 points) to the Wireshark's packet capture and explain how Zenmap identifies them. (2.5 points) c) There are few ports that are listed by Zenmap as either explicitly open or explicitly filtered, list DOLL F4 F5 F6 F7 F8 F9 F10 F11 F12 K L

Answers

#include<iostream>

using namespace std;

#define MAX_INTERVAL 3

// An interval has start and end value

struct Interval

{

int start, end;

};

// find the subset and print.To get print of non duplicate subset we can use set

void findSubset(Interval arr[MAX_INTERVAL], int
a) {

Interval temp[MAX_INTERVAL];

int p = 0;

for (int i = 0; i < MAX_INTERVAL; i++) {

if (a >= arr[i].start && a <= arr[i].end) {

temp[p] = arr[i];

cout<<"interval is ("<<temp[p].start<<","
<<temp[p].end<<")"<<endl; // will print the subset which contains point.

break;

}

}

}

int main() {

//interval array list


Interval arr[MAX_INTERVAL];

arr[0].start = 1;

arr[0].end = 5;

arr[1].start = 2;

arr[1].end = 3;

arr[2].start = 7;

arr[2].end = 12;


//hold the number to find inside interval

int numArr[5] = {1,3,4,8,10};


for (int i = 0; i < 5; i++) {

findSubset(arr, numArr[i]);

}


// time complexity will be O(MAX_INTERVAL) for every indivisual number

  

return 0;


}

.

Similar Solved Questions

1 answer
3. Water is pumped at an initial pressure of 60.0 psi in the basement to a...
3. Water is pumped at an initial pressure of 60.0 psi in the basement to a vertical height of 21.0 m on the eighth floor of an apartment building. The pipe is 8.5 inches in diameter in the basement, but in the cighth floor apartments, the pipes are only 0.75 inches in diameter. a) What is the pressu...
1 answer
Use triple integrals to find the volume of the right pyramid: 9 2 4 Hint: choose...
Use triple integrals to find the volume of the right pyramid: 9 2 4 Hint: choose the coordinate system conveniently, describe the region starting from z and use similar triangles....
1 answer
Show that there are no three element Boolean Algebras.
Show that there are no three element Boolean Algebras....
1 answer
What region does tibia and fibula belong? (1)sural (2)tarsol (3)cortex (4)epicubital.
what region does tibia and fibula belong? (1)sural (2)tarsol (3)cortex (4)epicubital....
1 answer
Draw a cooling diagram of water from 125 C to -15 C. Be specific and label...
Draw a cooling diagram of water from 125 C to -15 C. Be specific and label each axis, each phase, and each phase change....
1 answer
9.3 Consider a single-family detached residence. It is a single-story building with an attached heated garage....
9.3 Consider a single-family detached residence. It is a single-story building with an attached heated garage. (Assume that the garage is insulated the same and maintained at the same level of comfort as the house living space.) The house has the fol- lowing characteristics. General 2972 ft 2516 ft?...
1 answer
Use the following information from separate companies a through c. Net Income (Loss) $171,000 165,600 145,...
Use the following information from separate companies a through c. Net Income (Loss) $171,000 165,600 145, 350 174,100 Interest Expense $70, 110 19,872 53,780 8,705 Income Taxes $42,750 59,616 61,047 83,568 Compute times interest earned. Which company indicates the strongest ability to pay interest ...
1 answer
The onset of illness in all cases was acute, characterized chiefly by nausea, vomiting, diarrhea, and...
The onset of illness in all cases was acute, characterized chiefly by nausea, vomiting, diarrhea, and abdominal pain. None of the ill persons reported having an elevated temperature; all recovered within 24 to 30 hours. Approximately 20% of the ill persons visited physicians. No fecal specimens were...
2 answers
Find the ordered pair that represents the vector from A(-4.3,-0.9) to B(-2.8,0.2)
Find the ordered pair that represents the vector from A(-4.3,-0.9) to B(-2.8,0.2)? Then find the magnitude of AB.A. (1.5,1.1); 3.46B. (-7.1, -0.7); 7.13C. (1.5, 1.1); 1.86D.(-7.1, -1.1); 7.18I got C, is this right?...
1 answer
The “Village Enlightenment” that transformed rural America in the early 19th century and opened it up...
The “Village Enlightenment” that transformed rural America in the early 19th century and opened it up to change, including the purchase of art, was the result of: the growth of the southern cotton economy a. the expansion of transportation networks b. the election of a new federal govern...
1 answer
Required information [The following information applies to the questions displayed below.] The following events apply to...
Required information [The following information applies to the questions displayed below.] The following events apply to Gulf Seafood for the Year 1 fiscal year: 1. The company started when it acquired $33,000 cash by issuing common stock. 2. Purchased a new cooktop that cost $14,900 cash 3. Earned ...
1 answer
QUESTION 22 Which of the following is true of the Federal Sentencing Guidelines for Organizations (FSGO)?...
QUESTION 22 Which of the following is true of the Federal Sentencing Guidelines for Organizations (FSGO)? The FSGO has a very narrow definition of an organization. The FSGO cannot levy monetary fines on organizations that violate its stipulations. The FSGO does not hold organizations responsible for...
1 answer
S. (12pts] An object is placed 14cm away from a lens set as shown below. The...
s. (12pts] An object is placed 14cm away from a lens set as shown below. The height of the object is 2cm. Find graphically the image of the object formed by the 1st and 2nd lens. Using the lens equation to justify your results in terms of the magnitude and sign of image distance, and the magnitude a...
1 answer
Compound Z, CaHie0. Deduce its structure. IR: significant peaks at 2962 and 1718 (intense) cm. Mass...
Compound Z, CaHie0. Deduce its structure. IR: significant peaks at 2962 and 1718 (intense) cm. Mass spectrum: a few of the significant peaks include 128, 103, 57 m/z H-NMR: S,3H's aH's t,2t's PPM 13C-NMR 220 200 180 160 140 120 PPM 100 80 60 40 20...
1 answer
Filer Manufacturing has 7,105,197 shares of common stock outstanding. The current share price is $56.54, and...
Filer Manufacturing has 7,105,197 shares of common stock outstanding. The current share price is $56.54, and the book value per share is $5.94. Filer Manufacturing also has two bond issues outstanding. The first bond issue has a face value of $46,413,504, has a 0.05 coupon, matures in 20 years and s...
1 answer
Return on Investment and Economic Value Added Calculations with varying Assumptions Knitpix Products is a division...
Return on Investment and Economic Value Added Calculations with varying Assumptions Knitpix Products is a division of Parker Textiles Inc. During the coming year, it expects to earn income of $310,000 based on sales of $3.45 million. Without any new investments, the division will have average operat...
1 answer
Part I – Reactions Draw the expected major product(s) or required reagent(s) for each of the...
Part I – Reactions Draw the expected major product(s) or required reagent(s) for each of the following reactions. Part 1 - Reactions (20 marks) Draw the expected major product(s) or required reagent(s) for each of the following reactions. Question Answer 1. MgBr 1. CH3CN 2. H30* 2. OH HT ...
1 answer
A horizontal circular platform rotates counterclockwise about its axis at the rate of 0.957 rad/s. You,...
A horizontal circular platform rotates counterclockwise about its axis at the rate of 0.957 rad/s. You, with a mass of 67.7 kg, walk clockwise around the platform along its edge at the speed of 1.13 m/s with respect to the platform. Your 21.1-kg poodle also walks clockwise around the platform, but a...
1 answer
Question 3 5p A spark is generated in an automobile spark plug when there is an...
Question 3 5p A spark is generated in an automobile spark plug when there is an electric potential of 3000 V across the electrode gap. If 60 W of power is generated in a single spark that delivers a total charge of 3 nC, how long does it take for the spark to travel across the gap? 50 ns 75 ns 125 n...