a port scanner like nmap in python we make a tcp packet with flag rst or ack or syn or fin set and we have scans like nmap:
- fin scan
- ack scan
- syn scan (TCP stealth scan)
- connect scan
- windows scan
run it with python3 //python3 like_nmap.py -h to see how to run
url i used: https://resources.infosecinstitute.com/port-scanning-using-scapy/#gref