mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2025-03-25 09:31:46 +00:00
Compare commits
No commits in common. "178ff8a3f0c0575bb26c51f7d63ef79527154081" and "4c4ea43764194ee9958bdfb92d78302ac5a88a6c" have entirely different histories.
178ff8a3f0
...
4c4ea43764
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.4.6_
|
||||
Versio: _1.0.4.4_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
||||
<br> <br>
|
||||
<b>📚 <span transk="useflik"></span></b><br>
|
||||
<ul>
|
||||
<li><a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/ss/tool_ismitm.php" target="_blank"><span transk="tsmitm"></span></a></li>
|
||||
<li><a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/ss/tool_ismitm.php" target="_blank"><span transk="tsmitm"></span></a></li>
|
||||
<li><a href="https://codeberg.org/crimeflare/cloudflare-tor" target="_blank">"The Great Cloudwall"</a></li>
|
||||
</ul>
|
||||
<br>
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Bloku Cloudflaron MITM-Atakon",
|
||||
"version": "1.0.4.6",
|
||||
"minimum_chrome_version": "78",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.4.4",
|
||||
"minimum_chrome_version": "68",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"incognito": "split",
|
||||
"permissions": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.4.6_
|
||||
Versio: _1.0.4.4_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
||||
<br> <br>
|
||||
<b>📚 <span transk="useflik"></span></b><br>
|
||||
<ul>
|
||||
<li><a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/ss/tool_ismitm.php" target="_blank"><span transk="tsmitm"></span></a></li>
|
||||
<li><a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/ss/tool_ismitm.php" target="_blank"><span transk="tsmitm"></span></a></li>
|
||||
<li><a href="https://codeberg.org/crimeflare/cloudflare-tor" target="_blank">"The Great Cloudwall"</a></li>
|
||||
</ul>
|
||||
<br>
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Bloku Cloudflaron MITM-Atakon",
|
||||
"description": "Submetiĝu al tutmonda gvatado aŭ rezistu",
|
||||
"version": "1.0.4.6",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"description": "Submetiĝu al tutmonda gvatado aŭ rezistu. La elekto estas via.",
|
||||
"version": "1.0.4.4",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"permissions": [
|
||||
"<all_urls>",
|
||||
@ -49,8 +49,8 @@
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "bcma@searxes.eu.org",
|
||||
"strict_min_version": "78.0",
|
||||
"update_url": "https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/addon.php?for=bcma"
|
||||
"strict_min_version": "68.0",
|
||||
"update_url": "https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/addon.php?for=bcma"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.3.1_
|
||||
Versio: _1.0.2.6_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,31 @@ let localUse = false,
|
||||
localDB = [],
|
||||
timr, memcache = {},
|
||||
forcePurge = false,
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
/*
|
||||
chrome.storage.local.get(['cep'], g => {
|
||||
if (g.cep == 'y') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
} else {
|
||||
if (g.cep != 'n') {
|
||||
chrome.storage.local.set({
|
||||
'cep': 'n'
|
||||
});
|
||||
fetch('http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ok.php', {
|
||||
method: 'GET',
|
||||
mode: 'cors'
|
||||
}).then(r => r.text()).then(r => {
|
||||
if (r == 'ok') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
chrome.storage.local.set({
|
||||
'cep': 'y'
|
||||
});
|
||||
}
|
||||
}).catch(() => {});
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
function is_hostile(f) {
|
||||
if (localUse) {
|
||||
return new Promise((g, b) => {
|
||||
@ -72,7 +96,7 @@ function forget_cache() {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -95,20 +119,9 @@ function forget_cache() {
|
||||
forget_cache();
|
||||
}, 1814400000);
|
||||
}
|
||||
chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], g => {
|
||||
chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd'], g => {
|
||||
localUse = (g.opd == 'n') ? true : false;
|
||||
localDB = JSON.parse(g.ldb || '[]');
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/is_antitor.php';
|
||||
break;
|
||||
case '2':
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_at.php';
|
||||
break;
|
||||
default:
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
break;
|
||||
}
|
||||
if (g.lastU) {
|
||||
if (Math.abs(Math.round((new Date()).getTime() / 1000) - g.lastU) > 1814400) {
|
||||
chrome.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'cep', 'mul', 'opd', 'ldb'], g => {
|
||||
@ -127,7 +140,7 @@ chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -166,7 +179,7 @@ chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -223,29 +236,6 @@ chrome.runtime.onMessage.addListener((requests, sender, sendResponse) => {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (requests.indexOf('urltype,') === 0) {
|
||||
switch (requests) {
|
||||
case 'urltype,0':
|
||||
chrome.storage.local.set({
|
||||
'cep': '0'
|
||||
});
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
break;
|
||||
case 'urltype,1':
|
||||
chrome.storage.local.set({
|
||||
'cep': '1'
|
||||
});
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/is_antitor.php';
|
||||
break;
|
||||
case 'urltype,2':
|
||||
chrome.storage.local.set({
|
||||
'cep': '2'
|
||||
});
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_at.php';
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
requests.forEach(request => {
|
||||
i_know_you(request).then((r) => {
|
||||
if (r == 1 || r == -1) {
|
||||
|
@ -10,10 +10,7 @@
|
||||
<label><input type="checkbox" id="dbg" disabled> <span tek="tldbg"></span></label><br>
|
||||
<br> <br>
|
||||
<span tek="opmode"></span><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="ut" id="ut0"> api.~.onion</label><br>
|
||||
<label><input type="radio" name="ut" id="ut1"> api.crimeflare.eu.org</label><br>
|
||||
<label><input type="radio" name="ut" id="ut2"> karma.onion</label><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opoff"> <span tek="opmoff"></span></label> [ → <a href="./localdb.html" target="_blank"><span tek="opmode"></span></a> ]<br>
|
||||
<br> <br>
|
||||
💬
|
||||
|
@ -1,27 +1,10 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
chrome.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'mul', 'opd', 'cep'], g => {
|
||||
chrome.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'mul', 'opd'], g => {
|
||||
document.getElementById('ign1').checked = (g.ign1 == 'y') ? true : false;
|
||||
document.getElementById('obs').checked = (g.obs == 'y') ? true : false;
|
||||
document.getElementById('alt').checked = (g.alt == 'y') ? true : false;
|
||||
document.getElementById('opon').checked = (g.opd != 'n') ? true : false;
|
||||
document.getElementById('opoff').checked = (g.opd == 'n') ? true : false;
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = true;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
case '2':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = true;
|
||||
break;
|
||||
default:
|
||||
document.getElementById('ut0').checked = true;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
}
|
||||
let ul = g.mul || 'eo';
|
||||
fetch('i18n/' + ul + '.json', {
|
||||
method: 'GET'
|
||||
@ -72,21 +55,6 @@ document.getElementById('crs').addEventListener('click', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut0').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,0', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut1').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,1', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut2').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,2', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('sms').addEventListener('click', () => {
|
||||
document.getElementById('smsa').style.display = 'none';
|
||||
chrome.storage.local.get(null, g => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.org'].includes(location.hostname) && !location.hostname.endsWith('.onion')) {
|
||||
if (document.body && !['crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org'].includes(location.hostname)) {
|
||||
let cs = (function () {
|
||||
let s = document.createElement('style');
|
||||
document.head.appendChild(s);
|
||||
@ -1067,7 +1067,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
return wa[1] + '.' + wa[0];
|
||||
}
|
||||
let bdom = get_realdomain(location.hostname),
|
||||
asked = ['', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
asked = ['', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
if (g.ign1 == 'y') {
|
||||
asked.push(location.hostname);
|
||||
}
|
||||
@ -1081,7 +1081,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
a.dataset.iatt = aF;
|
||||
if (!asked.includes(aF)) {
|
||||
asked.push(aF);
|
||||
if (!/^(.*)\.(wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && get_realdomain(aF) != bdom && aF.length >= 4) {
|
||||
if (!/^(.*)\.(danwin1210\.me|wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && get_realdomain(aF) != bdom && aF.length >= 4) {
|
||||
unknown.push(aF);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Ĉu ĉi tiuj ligoj blokos Tor-uzanton?",
|
||||
"version": "1.0.3.1",
|
||||
"minimum_chrome_version": "78",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.2.6",
|
||||
"minimum_chrome_version": "68",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"incognito": "split",
|
||||
"permissions": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.3.1_
|
||||
Versio: _1.0.2.6_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,31 @@ let localUse = false,
|
||||
localDB = [],
|
||||
timr, memcache = {},
|
||||
forcePurge = false,
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
/*
|
||||
browser.storage.local.get(['cep']).then(g => {
|
||||
if (g.cep == 'y') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
} else {
|
||||
if (g.cep != 'n') {
|
||||
browser.storage.local.set({
|
||||
'cep': 'n'
|
||||
});
|
||||
fetch('http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ok.php', {
|
||||
method: 'GET',
|
||||
mode: 'cors'
|
||||
}).then(r => r.text()).then(r => {
|
||||
if (r == 'ok') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/is_antitor.php';
|
||||
browser.storage.local.set({
|
||||
'cep': 'y'
|
||||
});
|
||||
}
|
||||
}).catch(() => {});
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
function is_hostile(f) {
|
||||
if (localUse) {
|
||||
return new Promise((g, b) => {
|
||||
@ -74,7 +98,7 @@ function forget_cache() {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -97,20 +121,9 @@ function forget_cache() {
|
||||
forget_cache();
|
||||
}, 1814400000);
|
||||
}
|
||||
browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd']).then(g => {
|
||||
localUse = (g.opd == 'n') ? true : false;
|
||||
localDB = JSON.parse(g.ldb || '[]');
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/is_antitor.php';
|
||||
break;
|
||||
case '2':
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_at.php';
|
||||
break;
|
||||
default:
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
break;
|
||||
}
|
||||
if (g.lastU) {
|
||||
if (Math.abs(Math.round((new Date()).getTime() / 1000) - g.lastU) > 1814400) {
|
||||
browser.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'cep', 'mul', 'opd', 'ldb']).then(g => {
|
||||
@ -129,7 +142,7 @@ browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -169,7 +182,7 @@ browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -226,29 +239,6 @@ browser.runtime.onMessage.addListener((requests, sender, sendResponse) => {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (requests.indexOf('urltype,') === 0) {
|
||||
switch (requests) {
|
||||
case 'urltype,0':
|
||||
browser.storage.local.set({
|
||||
'cep': '0'
|
||||
});
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/is_antitor.php';
|
||||
break;
|
||||
case 'urltype,1':
|
||||
browser.storage.local.set({
|
||||
'cep': '1'
|
||||
});
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/is_antitor.php';
|
||||
break;
|
||||
case 'urltype,2':
|
||||
browser.storage.local.set({
|
||||
'cep': '2'
|
||||
});
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_at.php';
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
requests.forEach(request => {
|
||||
i_know_you(request).then((r) => {
|
||||
if (r == 1 || r == -1) {
|
||||
|
@ -10,10 +10,7 @@
|
||||
<label><input type="checkbox" id="dbg"> <span tek="tldbg"></span></label><br>
|
||||
<br> <br>
|
||||
<span tek="opmode"></span><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="ut" id="ut0"> api.~.onion</label><br>
|
||||
<label><input type="radio" name="ut" id="ut1"> api.crimeflare.eu.org</label><br>
|
||||
<label><input type="radio" name="ut" id="ut2"> karma.onion</label><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opoff"> <span tek="opmoff"></span></label> [ → <a href="./localdb.html" target="_blank"><span tek="opmode"></span></a> ]<br>
|
||||
<br> <br>
|
||||
💬
|
||||
|
@ -1,28 +1,11 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
browser.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'mul', 'opd', 'cep']).then(g => {
|
||||
browser.storage.local.get(['ign1', 'obs', 'dbg', 'alt', 'mul', 'opd']).then(g => {
|
||||
document.getElementById('ign1').checked = (g.ign1 == 'y') ? true : false;
|
||||
document.getElementById('obs').checked = (g.obs == 'y') ? true : false;
|
||||
document.getElementById('dbg').checked = (g.dbg == 'y') ? true : false;
|
||||
document.getElementById('alt').checked = (g.alt == 'y') ? true : false;
|
||||
document.getElementById('opon').checked = (g.opd != 'n') ? true : false;
|
||||
document.getElementById('opoff').checked = (g.opd == 'n') ? true : false;
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = true;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
case '2':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = true;
|
||||
break;
|
||||
default:
|
||||
document.getElementById('ut0').checked = true;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
}
|
||||
let ul = g.mul || 'eo';
|
||||
fetch('i18n/' + ul + '.json', {
|
||||
method: 'GET'
|
||||
@ -78,21 +61,6 @@ document.getElementById('crs').addEventListener('click', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut0').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,0').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut1').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,1').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut2').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,2').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('sms').addEventListener('click', () => {
|
||||
document.getElementById('smsa').style.display = 'none';
|
||||
browser.storage.local.get().then(g => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.org'].includes(location.hostname) && !location.hostname.endsWith('.onion')) {
|
||||
if (document.body && !['crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org'].includes(location.hostname)) {
|
||||
let cs = (function () {
|
||||
let s = document.createElement('style');
|
||||
document.head.appendChild(s);
|
||||
@ -1067,7 +1067,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
return wa[1] + '.' + wa[0];
|
||||
}
|
||||
let bdom = get_realdomain(location.hostname),
|
||||
asked = ['', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
asked = ['', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
if (g.ign1 == 'y') {
|
||||
asked.push(location.hostname);
|
||||
}
|
||||
@ -1081,7 +1081,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
a.dataset.iatt = aF;
|
||||
if (!asked.includes(aF)) {
|
||||
asked.push(aF);
|
||||
if (!/^(.*)\.(wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && get_realdomain(aF) != bdom && aF.length >= 4) {
|
||||
if (!/^(.*)\.(danwin1210\.me|wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && get_realdomain(aF) != bdom && aF.length >= 4) {
|
||||
unknown.push(aF);
|
||||
}
|
||||
}
|
||||
|
@ -2,8 +2,8 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Ĉu ĉi tiuj ligoj blokos Tor-uzanton?",
|
||||
"description": "Skanu FQDN uzante la API",
|
||||
"version": "1.0.3.1",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.2.6",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"permissions": [
|
||||
"storage",
|
||||
@ -36,8 +36,8 @@
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "torwatch@searxes.eu.org",
|
||||
"strict_min_version": "78.0",
|
||||
"update_url": "https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/addon.php?for=isattlink"
|
||||
"strict_min_version": "68.0",
|
||||
"update_url": "https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/addon.php?for=isattlink"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.22.1_
|
||||
Versio: _1.0.21_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,31 @@ let localUse = -1,
|
||||
localDB = [],
|
||||
timr, memcache = {},
|
||||
forcePurge = false,
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
/*
|
||||
chrome.storage.local.get(['cep'], g => {
|
||||
if (g.cep == 'y') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
} else {
|
||||
if (g.cep != 'n') {
|
||||
chrome.storage.local.set({
|
||||
'cep': 'n'
|
||||
});
|
||||
fetch('http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ok.php', {
|
||||
method: 'GET',
|
||||
mode: 'cors'
|
||||
}).then(r => r.text()).then(r => {
|
||||
if (r == 'ok') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
chrome.storage.local.set({
|
||||
'cep': 'y'
|
||||
});
|
||||
}
|
||||
}).catch(() => {});
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
function get_realdomain(w) {
|
||||
let wa = w.split('.');
|
||||
let wa_l = wa.length;
|
||||
@ -1139,7 +1163,7 @@ function forget_cache() {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1162,7 +1186,7 @@ function forget_cache() {
|
||||
forget_cache();
|
||||
}, 1814400000);
|
||||
}
|
||||
chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], (g) => {
|
||||
chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd'], (g) => {
|
||||
switch (g.opd) {
|
||||
case 'n':
|
||||
localUse = 1;
|
||||
@ -1174,17 +1198,6 @@ chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], (g) => {
|
||||
localUse = -1;
|
||||
break;
|
||||
}
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/ismitm.php';
|
||||
break;
|
||||
case '2':
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_cf.php';
|
||||
break;
|
||||
default:
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
break;
|
||||
}
|
||||
localDB = JSON.parse(g.ldb || '[]');
|
||||
if (g.lastU) {
|
||||
if (Math.abs(Math.round((new Date()).getTime() / 1000) - g.lastU) > 1814400) {
|
||||
@ -1207,7 +1220,7 @@ chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], (g) => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1249,7 +1262,7 @@ chrome.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep'], (g) => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
chrome.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1340,29 +1353,6 @@ chrome.runtime.onMessage.addListener((requests, sender, sendResponse) => {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (requests.indexOf('urltype,') === 0) {
|
||||
switch (requests) {
|
||||
case 'urltype,0':
|
||||
chrome.storage.local.set({
|
||||
'cep': '0'
|
||||
});
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
break;
|
||||
case 'urltype,1':
|
||||
chrome.storage.local.set({
|
||||
'cep': '1'
|
||||
});
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/ismitm.php';
|
||||
break;
|
||||
case 'urltype,2':
|
||||
chrome.storage.local.set({
|
||||
'cep': '2'
|
||||
});
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_cf.php';
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
requests.forEach(request => {
|
||||
i_know_you(request).then((r) => {
|
||||
if (r == 1 || r == -1) {
|
||||
|
@ -11,10 +11,7 @@
|
||||
<label><input type="checkbox" id="dbg" disabled> <span tek="tldbg"></span></label><br>
|
||||
<br> <br>
|
||||
<span tek="opmode"></span><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="ut" id="ut0"> api.~.onion</label><br>
|
||||
<label><input type="radio" name="ut" id="ut1"> api.crimeflare.eu.org</label><br>
|
||||
<label><input type="radio" name="ut" id="ut2"> karma.onion</label><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opoff"> <span tek="opmoff"></span></label> [ → <a href="./localdb.html" target="_blank"><span tek="opmode"></span></a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opol"> <span tek="opmoff"></span></label> (<span tek="opmlrn"></span>)<br>
|
||||
<br> <br>
|
||||
|
@ -1,5 +1,5 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
chrome.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt', 'mul', 'opd', 'cep'], (g) => {
|
||||
chrome.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt', 'mul', 'opd'], (g) => {
|
||||
document.getElementById('ign1').checked = (g.ign1 == 'y') ? true : false;
|
||||
document.getElementById('ign2').checked = (g.ign2 == 'y') ? true : false;
|
||||
document.getElementById('obs').checked = (g.obs == 'y') ? true : false;
|
||||
@ -7,23 +7,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
document.getElementById('opon').checked = (g.opd != 'n' && g.opd != 'l') ? true : false;
|
||||
document.getElementById('opoff').checked = (g.opd == 'n') ? true : false;
|
||||
document.getElementById('opol').checked = (g.opd == 'l') ? true : false;
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = true;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
case '2':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = true;
|
||||
break;
|
||||
default:
|
||||
document.getElementById('ut0').checked = true;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
}
|
||||
let ul = g.mul || 'eo';
|
||||
fetch('i18n/' + ul + '.json', {
|
||||
method: 'GET'
|
||||
@ -84,21 +67,6 @@ document.getElementById('crs').addEventListener('click', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut0').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,0', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut1').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,1', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut2').addEventListener('click', () => {
|
||||
chrome.runtime.sendMessage('urltype,2', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
function get_realdomain(w) {
|
||||
let wa = w.split('.');
|
||||
let wa_l = wa.length;
|
||||
|
@ -1,4 +1,4 @@
|
||||
if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.org'].includes(location.hostname) && !location.hostname.endsWith('.onion')) {
|
||||
if (document.body && !['crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org'].includes(location.hostname)) {
|
||||
let cs = (function () {
|
||||
let s = document.createElement('style');
|
||||
document.head.appendChild(s);
|
||||
@ -13,7 +13,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
cs.insertRule("img[data-mitm=y]:hover{filter:sepia(20%)}", 5);
|
||||
}
|
||||
chrome.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt'], (g) => {
|
||||
let asked = ['', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
let asked = ['', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
if (g.ign1 == 'y') {
|
||||
asked.push(location.hostname);
|
||||
}
|
||||
@ -28,7 +28,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
a.dataset.mitm = aF;
|
||||
if (!asked.includes(aF)) {
|
||||
asked.push(aF);
|
||||
if (!/^(.*)\.(wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && aF.length >= 4) {
|
||||
if (!/^(.*)\.(danwin1210\.me|wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && aF.length >= 4) {
|
||||
unknown.push(aF);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Ĉu ligoj estas vundeblaj al MITM-atako?",
|
||||
"version": "1.0.22.1",
|
||||
"minimum_chrome_version": "78",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.21",
|
||||
"minimum_chrome_version": "68",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"incognito": "split",
|
||||
"permissions": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.22.1_
|
||||
Versio: _1.0.21_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,31 @@ let localUse = -1,
|
||||
localDB = [],
|
||||
timr, memcache = {},
|
||||
forcePurge = false,
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
/*
|
||||
browser.storage.local.get(['cep']).then(g => {
|
||||
if (g.cep == 'y') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
} else {
|
||||
if (g.cep != 'n') {
|
||||
browser.storage.local.set({
|
||||
'cep': 'n'
|
||||
});
|
||||
fetch('http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ok.php', {
|
||||
method: 'GET',
|
||||
mode: 'cors'
|
||||
}).then(r => r.text()).then(r => {
|
||||
if (r == 'ok') {
|
||||
apiurl = 'http://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ismitm.php';
|
||||
browser.storage.local.set({
|
||||
'cep': 'y'
|
||||
});
|
||||
}
|
||||
}).catch(() => {});
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
function get_realdomain(w) {
|
||||
let wa = w.split('.');
|
||||
let wa_l = wa.length;
|
||||
@ -1141,7 +1165,7 @@ function forget_cache() {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1164,7 +1188,7 @@ function forget_cache() {
|
||||
forget_cache();
|
||||
}, 1814400000);
|
||||
}
|
||||
browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd']).then(g => {
|
||||
switch (g.opd) {
|
||||
case 'n':
|
||||
localUse = 1;
|
||||
@ -1176,17 +1200,6 @@ browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
localUse = -1;
|
||||
break;
|
||||
}
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/ismitm.php';
|
||||
break;
|
||||
case '2':
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_cf.php';
|
||||
break;
|
||||
default:
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
break;
|
||||
}
|
||||
localDB = JSON.parse(g.ldb || '[]');
|
||||
if (g.lastU) {
|
||||
if (Math.abs(Math.round((new Date()).getTime() / 1000) - g.lastU) > 1814400) {
|
||||
@ -1209,7 +1222,7 @@ browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1252,7 +1265,7 @@ browser.storage.local.get(['lastU', 'lastV', 'ldb', 'opd', 'cep']).then(g => {
|
||||
'alt': (g.alt == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'cep': (g.cep != undefined ? g.cep : '2')
|
||||
'cep': (g.cep == 'y' ? 'y' : 'n')
|
||||
});
|
||||
browser.storage.local.set({
|
||||
'mul': (g.mul != undefined ? g.mul : 'eo')
|
||||
@ -1343,29 +1356,6 @@ browser.runtime.onMessage.addListener((requests, sender, sendResponse) => {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (requests.indexOf('urltype,') === 0) {
|
||||
switch (requests) {
|
||||
case 'urltype,0':
|
||||
browser.storage.local.set({
|
||||
'cep': '0'
|
||||
});
|
||||
apiurl = 'https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/ismitm.php';
|
||||
break;
|
||||
case 'urltype,1':
|
||||
browser.storage.local.set({
|
||||
'cep': '1'
|
||||
});
|
||||
apiurl = 'https://api.crimeflare.eu.org/_/ismitm.php';
|
||||
break;
|
||||
case 'urltype,2':
|
||||
browser.storage.local.set({
|
||||
'cep': '2'
|
||||
});
|
||||
apiurl = 'http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_cf.php';
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
requests.forEach(request => {
|
||||
i_know_you(request).then((r) => {
|
||||
if (r == 1 || r == -1) {
|
||||
|
@ -11,10 +11,7 @@
|
||||
<label><input type="checkbox" id="dbg"> <span tek="tldbg"></span></label><br>
|
||||
<br> <br>
|
||||
<span tek="opmode"></span><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="ut" id="ut0"> api.~.onion</label><br>
|
||||
<label><input type="radio" name="ut" id="ut1"> api.crimeflare.eu.org</label><br>
|
||||
<label><input type="radio" name="ut" id="ut2"> karma.onion</label><br>
|
||||
<label><input type="radio" name="opm" id="opon"> <span tek="opmon"></span></label> [ → <a href="https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/#!op=info/api" target="_blank">Crimeflare API</a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opoff"> <span tek="opmoff"></span></label> [ → <a href="./localdb.html" target="_blank"><span tek="opmode"></span></a> ]<br>
|
||||
<label><input type="radio" name="opm" id="opol"> <span tek="opmoff"></span></label> (<span tek="opmlrn"></span>)<br>
|
||||
<br> <br>
|
||||
|
@ -1,5 +1,5 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
browser.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt', 'mul', 'opd', 'cep']).then(g => {
|
||||
browser.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt', 'mul', 'opd']).then(g => {
|
||||
document.getElementById('ign1').checked = (g.ign1 == 'y') ? true : false;
|
||||
document.getElementById('ign2').checked = (g.ign2 == 'y') ? true : false;
|
||||
document.getElementById('obs').checked = (g.obs == 'y') ? true : false;
|
||||
@ -8,23 +8,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
document.getElementById('opon').checked = (g.opd != 'n' && g.opd != 'l') ? true : false;
|
||||
document.getElementById('opoff').checked = (g.opd == 'n') ? true : false;
|
||||
document.getElementById('opol').checked = (g.opd == 'l') ? true : false;
|
||||
switch (g.cep) {
|
||||
case '1':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = true;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
case '2':
|
||||
document.getElementById('ut0').checked = false;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = true;
|
||||
break;
|
||||
default:
|
||||
document.getElementById('ut0').checked = true;
|
||||
document.getElementById('ut1').checked = false;
|
||||
document.getElementById('ut2').checked = false;
|
||||
break;
|
||||
}
|
||||
let ul = g.mul || 'eo';
|
||||
fetch('i18n/' + ul + '.json', {
|
||||
method: 'GET'
|
||||
@ -90,21 +73,6 @@ document.getElementById('crs').addEventListener('click', () => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut0').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,0').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut1').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,1').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
document.getElementById('ut2').addEventListener('click', () => {
|
||||
browser.runtime.sendMessage('urltype,2').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
function get_realdomain(w) {
|
||||
let wa = w.split('.');
|
||||
let wa_l = wa.length;
|
||||
|
@ -1,4 +1,4 @@
|
||||
if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.org'].includes(location.hostname) && !location.hostname.endsWith('.onion')) {
|
||||
if (document.body && !['crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org'].includes(location.hostname)) {
|
||||
let cs = (function () {
|
||||
let s = document.createElement('style');
|
||||
document.head.appendChild(s);
|
||||
@ -13,7 +13,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
cs.insertRule("img[data-mitm=y]:hover{filter:sepia(20%)}", 5);
|
||||
}
|
||||
browser.storage.local.get(['ign1', 'ign2', 'obs', 'dbg', 'alt']).then(g => {
|
||||
let asked = ['', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
let asked = ['', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org', 't.co'];
|
||||
if (g.ign1 == 'y') {
|
||||
asked.push(location.hostname);
|
||||
}
|
||||
@ -28,7 +28,7 @@ if (document.body && !['crimeflare.eu.org', 'api.crimeflare.eu.org', 'ansero.eu.
|
||||
a.dataset.mitm = aF;
|
||||
if (!asked.includes(aF)) {
|
||||
asked.push(aF);
|
||||
if (!/^(.*)\.(wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && aF.length >= 4) {
|
||||
if (!/^(.*)\.(danwin1210\.me|wikipedia\.org|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && aF.length >= 4) {
|
||||
unknown.push(aF);
|
||||
}
|
||||
}
|
||||
|
@ -2,8 +2,8 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Ĉu ligoj estas vundeblaj al MITM-atako?",
|
||||
"description": "Skanu FQDN uzante la API",
|
||||
"version": "1.0.22.1",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.21",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"permissions": [
|
||||
"storage",
|
||||
@ -38,8 +38,8 @@
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "ismitmlink@searxes.danwin1210.me",
|
||||
"strict_min_version": "78.0",
|
||||
"update_url": "https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/addon.php?for=ismitmlink"
|
||||
"strict_min_version": "68.0",
|
||||
"update_url": "https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/addon.php?for=ismitmlink"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.4.1_
|
||||
Versio: _1.0.4_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,7 @@ let history = {};
|
||||
chrome.webRequest.onResponseStarted.addListener(i => {
|
||||
if ([403, 406, 410, 429, 451, 462].includes(i.statusCode)) {
|
||||
let iFQDN = (new URL(i.url)).hostname;
|
||||
if (['crimeflare.eu.org', 'ansero.eu.org', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
|
||||
if (['crimeflare.eu.org', 'ansero.eu.org', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion'].includes(iFQDN)) {
|
||||
return;
|
||||
}
|
||||
let iServer = '?';
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Kiu retejo malakceptis min?",
|
||||
"version": "1.0.4.1",
|
||||
"version": "1.0.4",
|
||||
"minimum_chrome_version": "60",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"incognito": "split",
|
||||
"permissions": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
[//]: # (do not edit me; start)
|
||||
|
||||
Versio: _1.0.4.1_
|
||||
Versio: _1.0.4_
|
||||
|
||||
[//]: # (do not edit me; end)
|
||||
|
||||
|
@ -2,7 +2,7 @@ let history = {};
|
||||
browser.webRequest.onResponseStarted.addListener(i => {
|
||||
if ([403, 406, 410, 429, 451, 462].includes(i.statusCode)) {
|
||||
let iFQDN = (new URL(i.url)).hostname;
|
||||
if (['crimeflare.eu.org', 'ansero.eu.org', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
|
||||
if (['crimeflare.eu.org', 'ansero.eu.org', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion'].includes(iFQDN)) {
|
||||
return;
|
||||
}
|
||||
let iServer = '?';
|
||||
|
@ -2,8 +2,8 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Kiu retejo malakceptis min?",
|
||||
"description": "Via retejo malakceptis min, sed mi scias ke mi fartos bone.",
|
||||
"version": "1.0.4.1",
|
||||
"homepage_url": "https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/",
|
||||
"version": "1.0.4",
|
||||
"homepage_url": "https://crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/",
|
||||
"author": "Crimeflare",
|
||||
"permissions": [
|
||||
"storage",
|
||||
@ -33,7 +33,7 @@
|
||||
"gecko": {
|
||||
"id": "urejectme@searxes.eu.org",
|
||||
"strict_min_version": "68.0",
|
||||
"update_url": "https://api.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/_/addon.php?for=ureject"
|
||||
"update_url": "https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/addon.php?for=ureject"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user