From d91853b9f117b976a59e463defc6172508a525b5 Mon Sep 17 00:00:00 2001 From: questea Date: Thu, 14 Oct 2021 23:50:07 +0000 Subject: [PATCH] Update 'tool/api_for_ismm_isat/README.md' --- tool/api_for_ismm_isat/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tool/api_for_ismm_isat/README.md b/tool/api_for_ismm_isat/README.md index e16c9319e4..5c86350786 100644 --- a/tool/api_for_ismm_isat/README.md +++ b/tool/api_for_ismm_isat/README.md @@ -10,12 +10,24 @@ ### 1a. Set up API for `Ĉu ligoj estas vundeblaj al MITM-atako?`(isMM) add-on -(WIP) +1. Copy [ismm.php](ismm.php) to your website directory.
+ e.g. `/api/ismm.php` +2. Create `listdata` directory.
+ e.g. `/api/listdata/` +3. Download JSON files (*.json) from [/cloudflare_users/domains](../../cloudflare_users/domains) and save them to dir above.
+ e.g. `/api/listdata/cloudflare_e.json` +4. Open your API. It should say `OK`.
+ e.g. `http://localhost/api/ismm.php` ### 1b. Set up API for `Ĉu ĉi tiuj ligoj blokos Tor-uzanton?`(isAT) add-on -(WIP) +1. Copy [isat.php](isat.php) to your website directory.
+ e.g. `/api/isat.php` +2. Download JSON file, `attd.json`, from [/anti-tor_users/domains](../../anti-tor_users/domains) and save it to same dir.
+ e.g. `/api/attd.json` +3. Open your API. It should say `OK`.
+ e.g. `http://localhost/api/isat.php` ### 2. Use your API