![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=1738838396-5W7zFx9o8HoR8SEmnqIZiIb2kgMSNlvb-0-7ca05c9537b2048128103e1c8b88958c)
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=1738838396-EOMnD5t8Wnv1lzQMj3WnKlovwNAG5rSh-0-d0e30a3a286f5220560ccb5bf49f8bdc)