Certified Ethical Hacker (CEH v10) — Question 83
You are analyzing a traffic on the network with Wireshark. You want to routinely run a cron job which will run the capture against a specific set of IPs. ""
192.168.8.0/24. What command you would use?
Answer options
- A. tshark ""net 192.255.255.255 mask 192.168.8.0
- B. wireshark ""capture ""local ""masked 192.168.8.0 ""range 24
- C. sudo tshark ""f "net 192.168.8.0/24"
- D. wireshark ""fetch "192.168.8/*"
Correct answer: B
Explanation
The correct answer is B because it correctly sets up the capture command in Wireshark for the specified IP range. Option A incorrectly uses a different IP address and mask, while C uses tshark with incorrect syntax for Wireshark's capture. Option D does not specify the capture method correctly for the given IP range.