Collecting data

The following steps need to be followed for data collection:

  1. List the classes of traffic you wish to classify in config.json:

  1. Collect an additional data point for one of the classes, say duckduckgo.com, in a Terminal, from the website-fingerprinting directory by running the following command:
./pcaps/capture.sh duckduckgo.com
  1. Open another Terminal, and run the following command:
torsocks lynx https://duckduckgo.com

Your two Terminals should look as follows, at this point:

  1. Once you have finished the browsing session, end ...

Get Machine Learning for Cybersecurity Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.