![Kali Linux:An Ethical Hacker's Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/772/36698772/b_36698772.jpg)
上QQ阅读APP看书,第一时间看更新
TCP Window scan (-sW)
A Window scan is almost the same as an ACK scan, except that it shows open and closed ports:
- Use the following command to run the ACK scan:
nmap -sW x.x.x.x
The following is a screenshot of an Nmap scan without the -sW flag:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/7fa46b2d-8172-466c-b2e1-7790b2f444a6.png?sign=1738840762-g45LXHFWqqdzVVkQ4zwJLSCnjohLYYxu-0-f664c39b7596055ad10aa193d69da658)
The difference between the two commands can be seen in the following screenshot:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/cacd7f31-bd73-4cc6-8736-e79d6d168906.png?sign=1738840762-G44cEieQ6APU8FHUZ8hm3Cvybio9vlpa-0-d45ae8948eada5bde8a4c5bd867f2f05)