mrheinen / lophiid

A distributed honeypot for monitoring large scale web attacks
GNU General Public License v2.0
6 stars 1 forks source link

Allow content scripts to fetch content by ID #2

Closed mrheinen closed 2 months ago

mrheinen commented 3 months ago

Content scripts currently need to include the content they want to send in the response to a request. This is fine for small responses but for large responses it is inefficient. Instead we should allow a content script to fetch a content by ID.

This requires the GoJaJavascriptRunner to be updated. It needs to reveive a reference to the DatabaseClient and then we just have expose a method in javascript that allows content to be fetched by ID.