Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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: nicnameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started