Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 695 Bytes

File metadata and controls

22 lines (17 loc) · 695 Bytes

Webdetect checksum solution: database generator

This project is used to minimize whitelist DB.

Prerequisites

  1. Checksum CSV whitelist DB dump generated by scanner from webdetect_client repo.

Algorithm

Described here.

How to run

See an example.

For further info, take a look at:

Example

Will generate DB in ./db.json (JSON DB) and ./db.ldb (leveldb DB). They are equivalent, but JSON is more useful for debugging purpose.

./gradlew generateDatabase -Pinput=./whitelist.csv -Poutput=./db