Fox fd36c9d87b . 5 months ago
..
README.md fd36c9d87b . 5 months ago
isat.php fdd0edc55b Implement snippet 1 year ago
ismm.php 3ab84eedd8 Upload files to 'tool/api_for_ismm_isat' 2 years ago
ismm_online.php fd36c9d87b . 5 months ago

README.md

Simple API files for IsMM/IsAT Add-ons

Requirements

1a. Set up API for Are links vulnerable to MITM attack?(isMM)

Pick A or B.

Type A: download JSON files and use them locally

  1. Copy ismm.php to your website directory.
    e.g. /api/ismm.php (you can rename it)
  2. Create listdata directory.
    e.g. /api/listdata/
  3. 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)
  4. Open your API. It should say OK.
    e.g. http://localhost/api/ismm.php

Type B: Use KarmaAPI online service

  1. Copy ismm_online.php to your website directory.
    e.g. /api/ismm_online.php (you can rename it)
  2. Open your API. It should say OK.
    e.g. http://localhost/api/ismm_online.php

1b. Set up API for Will these links block Tor user?(isAT)

  1. Copy isat.php to your website directory.
    e.g. /api/isat.php
  2. Create listdata directory.
    e.g. /api/listdata/
  3. Download JSON files (*.json) from /anti-tor_users/domains and save them to dir above.
    e.g. /api/listdata/antitor_e.json
  4. Open your API. It should say OK.
    e.g. http://localhost/api/isat.php

2. Use your API

  1. Open Add-on's Options page.
  2. Select API URL.
  3. Input your API URL into right box.
  4. Done!