Update 'tool/api_for_ismm_isat/README.md'

This commit is contained in:
questea 2021-10-14 23:50:07 +00:00
parent 3ab84eedd8
commit d91853b9f1

View File

@ -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.<br>
e.g. `/api/ismm.php`
2. Create `listdata` directory.<br>
e.g. `/api/listdata/`
3. Download JSON files (*.json) from [/cloudflare_users/domains](../../cloudflare_users/domains) and save them to dir above.<br>
e.g. `/api/listdata/cloudflare_e.json`
4. Open your API. It should say `OK`.<br>
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.<br>
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.<br>
e.g. `/api/attd.json`
3. Open your API. It should say `OK`.<br>
e.g. `http://localhost/api/isat.php`
### 2. Use your API