Giter Site home page Giter Site logo

harpo-artifacts_ljkk's Introduction

Harpo-Artifacts (Ongoing)

Overview

Harpo is a principled learning-based approach to subvert online behavioral advertising. It uses reinforcement learning to adaptively interleave real page visits with fake pages to distort a tracker’s view of a user’s browsing profile.

Accepted paper

Jiang Zhang, Konstantinos Psounis, Muhammad Haroon, Zubair Shafiq. HARPO: Learning to Subvert Online Behavioral Advertising [C]. NDSS, 2022.

Crawler

  1. The build-crawler directory contains our scirpt for building our crawling infrastructure. You can firstly run ./build-openwpm.sh to build a docker image for OpenWPM (https://github.com/openwpm/OpenWPM/tree/firefox-52). Then you can run ./build-harpo.sh to build a docker image for running crawling experiments in our Harpo paper. The main function we use for crawling is run_ml_crawl.py, which defines the workflow of crawling experiments. Note that config.json defines the configuration of our browser used during experiments.
  2. The run-crawler directory contains our script for running crawling experiments. The main class we use is called docker_api in docer_api.py. It will launch a docker container with openwpm-harpo image and run command sudo /usr/bin/python3 /opt/OpenWPM/run_ml_crawl.py --cfg '{}' in the container.

harpo-artifacts_ljkk's People

Contributors

bitzj2015 avatar patchtester avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.