zerohour-phishing-detection / zpd-server

Code and test data for anti-phishing tool: A decision-support tool for experimentation on zero-hour phishing detection
Creative Commons Attribution 4.0 International
2 stars 0 forks source link

General Detction and Method Settings #38

Closed andreitudorp closed 3 months ago

andreitudorp commented 3 months ago

Added

API v3

!!! The UUID is now transmitted through a cookie with id uuid !!!

Added MAX_CONTENT_LENGTH to limit the size of the payloads that can be sent and processed by the API. (MAX. 10KiB)

New calls:

Detection Settings

Implemented the detection settings system which acts per user(uuid). The settings are stored in a table (in the settings database). There are some checks to make sure that the general structure of the JSON settings is correct. Multiple checks could be implemented in the future.

Fixes