Question: Please provide an output screenshot. Program should be in Python Write an application that will probe the different TCP and UDP services that are running

 Please provide an output screenshot. Program should be in Python Write

Please provide an output screenshot. Program should be in Python

Write an application that will probe the different TCP and UDP services that are running on your machine. Print the output as a list of records one per line. Each record will show the port number, the name of the service and whether it is TCP or UDP based service (sample below) Below is a sample run scanning ports 0 through 100 on some machine port (7) port (9) port (11) runs: systat port (13) runs: daytime port (17) runs: qotd port (19) runs: chargen port (20) runs: ftp-data port (21 runs: port (22 runs: ssh port (23) runs: telnet port (25) runs: smtp port (37 runs: time port (39) runs: rlp port (42 runs: nameserver port (43) port (53 runs: domain port (67) runs: bootps port (68) runs: bootpc port (69 runs: tftp port ( 70)runs: gopher port (79) runs: finger port (80) runs: http port (81) ns: hosts2-ns port (88) uns: kerberos runs: echo runs: discard using UDP using UDP using UDP using UDP using UDP using UDP using TCP using TCP using TCP using TCP using TCP using UDP using UDP using UDP using TCP using UDP using UDP using UDP using UDP using TCP using TCP using TCP using UDP using UDP runs: nicname Write an application that will probe the different TCP and UDP services that are running on your machine. Print the output as a list of records one per line. Each record will show the port number, the name of the service and whether it is TCP or UDP based service (sample below) Below is a sample run scanning ports 0 through 100 on some machine port (7) port (9) port (11) runs: systat port (13) runs: daytime port (17) runs: qotd port (19) runs: chargen port (20) runs: ftp-data port (21 runs: port (22 runs: ssh port (23) runs: telnet port (25) runs: smtp port (37 runs: time port (39) runs: rlp port (42 runs: nameserver port (43) port (53 runs: domain port (67) runs: bootps port (68) runs: bootpc port (69 runs: tftp port ( 70)runs: gopher port (79) runs: finger port (80) runs: http port (81) ns: hosts2-ns port (88) uns: kerberos runs: echo runs: discard using UDP using UDP using UDP using UDP using UDP using UDP using TCP using TCP using TCP using TCP using TCP using UDP using UDP using UDP using TCP using UDP using UDP using UDP using UDP using TCP using TCP using TCP using UDP using UDP runs: nicname

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!