0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-09-20 00:50:54 +00:00

Upload files to 'addon_firefox/bcma'

This commit is contained in:
surveillanceeconomy 2019-05-29 11:36:42 +00:00
parent ed8b601250
commit 1e59aade40
3 changed files with 11 additions and 5 deletions

View File

@ -3,7 +3,7 @@ The MIT License
Copyright (c) 2017 Project BCMA Copyright (c) 2017 Project BCMA
Copyright (c) 2017 cypherpunks Copyright (c) 2017 cypherpunks
Copyright (c) 2017 nullius <nullius@nym.zone> Copyright (c) 2017 nullius <nullius@nym.zone>
Copyright (c) 2018 Searxes <searxes.danwin1210.me> Copyright (c) 2019 Searxes <searxes.eu.org>
Copyright (c) 2018 Jeff Cliff <@jeffcliff@niu.moe> Copyright (c) 2018 Jeff Cliff <@jeffcliff@niu.moe>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@ -3,7 +3,7 @@
*/ */
var cf_flag_ok = 'icons/cf_0.png'; var cf_flag_ok = 'icons/cf_0.png';
var cf_flag_ng = 'icons/cf_1.png'; var cf_flag_ng = 'icons/cf_1.png';
var force_whitelist = ['searxes.cf', 'thunderbird.net', 'mozilla.org', 'archive.org', 'cloudflare.com', 'cloudflareapps.com', 'cloudflare-dns.com', 'cloudflarestatus.com', 'cloudflareapi.com', 'cloudflare-ipfs.com', 'cloudflare-quic.com']; var force_whitelist = ['searxes.eu.org', 'thunderbird.net', 'mozilla.org', 'archive.org', 'cloudflare.com', 'cloudflareapps.com', 'cloudflare-dns.com', 'cloudflarestatus.com', 'cloudflareapi.com', 'cloudflare-ipfs.com', 'cloudflare-quic.com'];
var cfdomains = []; var cfdomains = [];
var known_cf_domains = []; var known_cf_domains = [];
@ -418,6 +418,11 @@ function get_realdomain(w) {
return wa[2] + "." + wa[1] + "." + wa[0]; return wa[2] + "." + wa[1] + "." + wa[0];
} }
} }
if (wa[0] == 'org'){
if (wa[1]=='eu'){
return wa[2] + "." + wa[1] + "." + wa[0];
}
}
if (wa[0] == 'pa') { if (wa[0] == 'pa') {
if (['abo', 'ac', 'com', 'edu', 'gob', 'ing', 'med', 'net', 'nom', 'org', 'sld'].includes(wa[1])) { if (['abo', 'ac', 'com', 'edu', 'gob', 'ing', 'med', 'net', 'nom', 'org', 'sld'].includes(wa[1])) {
return wa[2] + "." + wa[1] + "." + wa[0]; return wa[2] + "." + wa[1] + "." + wa[0];

View File

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "Block Cloudflare MITM Attack", "name": "Block Cloudflare MITM Attack",
"description": "Submit to global surveillance or resist. The choice is yours.", "description": "Submit to global surveillance or resist. The choice is yours.",
"version": "1.0.1811.1", "version": "1.0.1905.1",
"author": "Project BCMA", "author": "Project BCMA",
"homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351", "homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351",
"permissions": [ "permissions": [
@ -35,8 +35,9 @@
}, },
"applications": { "applications": {
"gecko": { "gecko": {
"id": "24351@trac.torproject.org", "id": "for24351@trac.torproject.org",
"strict_min_version": "52.0" "strict_min_version": "60.0",
"update_url":"https://searxes.eu.org/collab/addon/au.php?for=bcma"
} }
} }
} }