From 228e229e5f539283dacf612c51b38746a0ab6117 Mon Sep 17 00:00:00 2001 From: Michael Buasan Date: Wed, 10 Aug 2022 05:17:31 +0000 Subject: [PATCH] Extend headers --- subfiles/service.karma_api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subfiles/service.karma_api.md b/subfiles/service.karma_api.md index bc87a71d8f..e5d7803574 100644 --- a/subfiles/service.karma_api.md +++ b/subfiles/service.karma_api.md @@ -23,11 +23,11 @@ For looking up domain's existence as a [MITM domain](cloudflare_users/domains/RE | ? | ? | | -- | -- | -| Location | `(base url)is_cf.php` | +| Location | `(base url)is/cloudflare/` | | Request Method | `POST` | | Input | `f` or `u` is required. `ignore_cfowned` is optional.
`f` FQDN (e.g. www.google.com)
`u` URL (e.g. https://www.google.com/)
`ignore_cfowned` Existence (If set, return FALSE when the domain is owned by CloudFlare Inc.) | | Output | JSON value as array. If 2nd value(j[1]) is true then the input is CloudFlare.
[false,false] (Error or not Cloudflare)
[true,false] (Not Cloudflare)
[true,true] (Cloudflare) | -| cURL Example | `curl -X POST -F 'f=www.example.com' -k --http2 https://clearnet/api/is_cf.php`
`curl -x socks5h://127.0.0.1:9050 -X POST -F 'f=www.example.com' http://onion/api/is_cf.php` | +| cURL Example | `curl -X POST -F 'f=www.example.com' -k --http2 https://clearnet/api/is/cloudflare/`
`curl -x socks5h://127.0.0.1:9050 -X POST -F 'f=www.example.com' http://onion/api/is/cloudflare/` | > Anti-Tor Lookup @@ -36,8 +36,8 @@ For looking up website's existence in the [known Anti-tor list](anti-tor_users/d | ? | ? | | -- | -- | -| Location | `(base url)is_at.php` | +| Location | `(base url)is/antitor/` | | Request Method | `POST` | | Input | `f` is required.
`f` FQDN (e.g. www.google.com) | | Output | JSON value as array. If 2nd value(j[1]) is true then the input is AntiTor.
[false,false] (Error or not AntiTor)
[true,false] (Not AntiTor)
[true,true] (AntiTor) | -| cURL Example | `curl -X POST -F 'f=www.example.com' -k --http2 https://clearnet/api/is_at.php`
`curl -x socks5h://127.0.0.1:9050 -X POST -F 'f=www.example.com' http://onion/api/is_at.php` | +| cURL Example | `curl -X POST -F 'f=www.example.com' -k --http2 https://clearnet/api/is/antitor/`
`curl -x socks5h://127.0.0.1:9050 -X POST -F 'f=www.example.com' http://onion/api/is/antitor/` |