Practical Cybersecurity Projects Using Python

Building a simple port scanner

 

Learning Outcome

5

Understand the uses and limitations of port scanning.

4

Recognize common network services and their port numbers.

3

Explain how a port scanner checks open and closed ports.

2

Identify the difference between TCP and UDP protocols.

1

Understand concept of port scanning and network ports.

Summary

5

Unauthorized scanning may create legal and ethical issues.

4

UDP is faster but less reliable than TCP.

3

TCP scanning uses the TCP handshake process.

2

Ports identify specific services running on a device.

1

Port scanning checks whether ports are open, closed.

Quiz

What does a SYN-ACK response indicate during TCP scanning?

 

A. Facebook

B. Instagram

C. LinkedIn

D. Snapchat

Quiz-Answer

Which platform is mainly used for professional networking and B2B marketing ?

A. Port closed

 

B. Port open

 

C. Firewall detected

 

D. Network disconnected