https://github.com/codhek/cse534-project
https://github.com/codhek/cse534-project
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codhek/cse534-project
- Owner: CodHeK
- Created: 2021-12-04T03:25:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T20:12:56.000Z (about 4 years ago)
- Last Synced: 2025-01-19T17:12:50.261Z (about 1 year ago)
- Language: C++
- Size: 97.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSE 534: Final Project!
**Title:** Exploitation of Service Workers using Push Notifications
## File structure
.
├── Chromium/src # Instrumented browser code
├── collector # Data collection module
├── sw-adblock # Dashboard to demo service worker based ad-blocker
├── requirements.txt
└── README.md
## Run the code:
- Make sure you have docker installed on your desktop. If not go to https://docs.docker.com/get-docker/
- Clone this repository on your local machine.
```
$ git clone https://github.com/CodHeK/CSE534-Project.git
```
- Create a virtual environment to install dependencies
```
$ virtualenv venv
$ . venv/bin/activate
```
- Install all dependencies using `pip3`
```
$ pip3 install -r requirements.txt
```
- Change directory to collector folder
```
$ cd collector
```
- Update the website URL in `main.py` to the website you want to crawl and run:
```
$ python3 main.py
```
- You can find the logged data and screenshots at `collector/containers_data/` as zipped files.
**Authors:**
Gauri Baraskar, Piyush Mital, Gagan Ganapathy