- Open Wireshark.
- Start capturing on your preferred interface (e.g., eth0, wlan0).
- Let it run while you browse, ping, or generate traffic.
- Stop the capture once you have enough data (a few hundred packets is fine).
- Go to File → Export Packet Dissections → As CSV
- Choose Packet Summary Line as the export type
-
- Save the file as: 📁 "Dataset1.csv" 📁
-
- Place it in the same folder as the Java program (TrafficCaptureAnalysis/).
- javac IP_enumerate.java
- java IP_enumerate