An open API service indexing awesome lists of open source software.

https://github.com/domiii/proxy-play

A very basic HTTP proxy to allow us (later) play with injection.
https://github.com/domiii/proxy-play

Last synced: 12 months ago
JSON representation

A very basic HTTP proxy to allow us (later) play with injection.

Awesome Lists containing this project

README

          

Acts as a proxy to inject [Dbux](https://github.com/Domiii/dbux) into all scripts of any website, before they execute in the browser, thereby allowing to analyze any website's scripts with Dbux.

# Usage

1. Install the [dbux-code](https://github.com/Domiii/dbux/dbux-code) VSCode extension.
1. Open VSCode and [`start the Dbux Runtime Server`](https://github.com/Domiii/dbux/dbux-code#dbux-runtimeserver).
1. `yarn install`
1. `yarn start`
1. Go to: http://localhost:8080/https://stackoverflow.com
1. Analyze your files!

# How does it work?

Instrumentation primarily happens in [src/transforms/javascriptTransform.js](src/transforms/javascriptTransform.js) and [src/transforms/instrument.js](src/transforms/instrument.js).

# TODO

* gather urls that are not instrumented (being sent straight to the domain, not under any child route)
* store files, so we can actually "go to code", "select traces" etc.
* caching (because instrumentation is *slow* on large files)
* whitelisting of "too large files"
* work around CSP