mirror of
https://0xacab.org/dCF/deCloudflare.git
synced 2025-01-15 11:46:56 -05:00
.. | ||
isat.php | ||
ismm.php | ||
README.md |
API files for IsMM/IsAT Add-ons
Requirements
- Web server
- PHP 7 or later
1a. Set up API for Ĉu ligoj estas vundeblaj al MITM-atako?
(isMM) add-on
- Copy ismm.php to your website directory.
e.g./api/ismm.php
- Create
listdata
directory.
e.g./api/listdata/
- Download JSON files (*.json) from /cloudflare_users/domains and save them to dir above.
e.g./api/listdata/cloudflare_e.json
- 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
- Copy isat.php to your website directory.
e.g./api/isat.php
- Download JSON file,
attd.json
, from /anti-tor_users/domains and save it to same dir.
e.g./api/attd.json
- Open your API. It should say
OK
.
e.g.http://localhost/api/isat.php
2. Use your API
- Open Add-on's
Options
page. - Select
API URL
. - Input your API URL into right box.
- Done!