mirror of
https://0xacab.org/dCF/deCloudflare.git
synced 2025-01-15 11:46:56 -05:00
.. | ||
isat.php | ||
ismm.php | ||
README.md |
Simple API files for IsMM/IsAT Add-ons
Requirements
- Web server (or somethig like builtin server)
- PHP 7 or later
1a. Set up API for Are links vulnerable to MITM attack?
(isMM)
- 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
(you can use cfdomains --dl to download JSON) - Open your API. It should say
OK
.
e.g.http://localhost/api/ismm.php
1b. Set up API for Will these links block Tor user?
(isAT)
- Copy isat.php to your website directory.
e.g./api/isat.php
- Create
listdata
directory.
e.g./api/listdata/
- Download JSON files (*.json) from /anti-tor_users/domains and save them to dir above.
e.g./api/listdata/antitor_e.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!