convert anti-Tor flags to a column

This commit is contained in:
cyberMonk 2021-02-09 16:43:59 -05:00
parent eed4324d7c
commit 1746919db5
2 changed files with 45 additions and 28 deletions

View File

@ -183,7 +183,7 @@ update fiTbl set lst_kind = 'gray' where parent in (select name from fiTbl wher
update fiTbl set notes = 'parent: '||parent||case when notes is null then '' else '; '||notes end update fiTbl set notes = 'parent: '||parent||case when notes is null then '' else '; '||notes end
where parent is not null and (notes is null or notes not like '%'||parent||'%'); where parent is not null and (notes is null or notes not like '%'||parent||'%');
update fiTbl set notes = '**Amazon AWS-hosted**'||case when notes is null then '' else '; '||notes end where aws; update fiTbl set notes = '**Amazon AWS-hosted**'||case when notes is null then '' else '; '||notes end where aws;
update fiTbl set notes = '**Tor-hostile** resources'||case when notes is null then '' else '; '||notes end where antitor and (notes is null or notes not like '%tor_hostile%'); /* update fiTbl set notes = '**Tor-hostile** resources'||case when notes is null then '' else '; '||notes end where antitor and (notes is null or notes not like '%tor_hostile%');*/
EOF EOF
};#table_populate };#table_populate
@ -202,6 +202,8 @@ gen_md()
local detective=$'\xf0\x9f\x95\xb5' local detective=$'\xf0\x9f\x95\xb5'
#local okhand='👌' #local okhand='👌'
local okhand=$'\xF0\x9F\x91\x8C' local okhand=$'\xF0\x9F\x91\x8C'
#👁
local eye=$'\xf0\x9f\x0a\x00'
printf '\n%s\n' '# Whitelist' printf '\n%s\n' '# Whitelist'
printf %s '| *'"$fi_kind"'* | *ALEC member* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* | printf %s '| *'"$fi_kind"'* | *ALEC member* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* |
@ -230,11 +232,12 @@ gen_md()
order by name collate nocase;" order by name collate nocase;"
printf '\n%s\n' '# Blacklist' printf '\n%s\n' '# Blacklist'
printf %s '| *'"$fi_kind"'* | *ALEC member* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* | printf %s '| *'"$fi_kind"'* | *ALEC member* | *Tor-hostile* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* |
|---|---|---|---|---|---| |---|---|---|---|---|---|---|
' '
sqlite3 "${db_file}" "select '|'||name, sqlite3 "${db_file}" "select '|'||name,
case when alec then '$okhand' else 'n' end, case when alec then '$okhand' else 'n' end,
case when antitor then '$eye' else 'n' end,
case when cflogin then '$cloud_lightening' else 'n' end, case when cflogin then '$cloud_lightening' else 'n' end,
case when cispa then '$detective' else 'n' end, case when cispa then '$detective' else 'n' end,
case when dt then '$test_tube' else 'n' end, case when dt then '$test_tube' else 'n' end,

View File

@ -26,28 +26,42 @@
|[Travelers](https://www.travelers.com)|n|n|🕵|🧪|akamai hosted| |[Travelers](https://www.travelers.com)|n|n|🕵|🧪|akamai hosted|
# Blacklist # Blacklist
| *insurer* | *ALEC member* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* | | *insurer* | *ALEC member* | *Tor-hostile* | *sensitive info exposed to CloudFlare* | *supported CISPA* | *forced drug testing of staff* | *notes* |
|---|---|---|---|---|---| |---|---|---|---|---|---|---|
|21st Century|n|n|n|n|parent: Farmers| |21st Century|n|n|n|n|n|parent: Farmers|
|Allied|n|n|🕵|🧪|**Tor-hostile** resources; **Amazon AWS-hosted**| |Allied|n|ðŸ
|Allstate|n|n|🕵|🧪|**Tor-hostile** resources; akamai hosted| |n|🕵|🧪|**Amazon AWS-hosted**|
|Amica|n|n|n|n|**Tor-hostile** resources| |Allstate|n|ðŸ
|Brown & Brown Insurance|n|🌩|🕵|n|| |n|🕵|🧪|akamai hosted|
|Esurance|n|n|n|n|parent: Allstate; akamai hosted| |Amica|n|ðŸ
|Farmers|👌|n|n|🧪|akamai hosted| |n|n|n||
|Foremost|n|n|n|🧪|parent: Farmers| |Brown & Brown Insurance|n|n|🌩|🕵|n||
|Geico|👌|n|n|🧪|akamai hosted but transactional site ecams.geico.com is not.| |Esurance|n|n|n|n|n|parent: Allstate; akamai hosted|
|Harleysville Group|n|n|n|n|parent: Nationwide| |Farmers|👌|n|n|n|🧪|akamai hosted|
|Hartford|n|n|🕵|🧪|**Tor-hostile** resources; akamai hosted| |Foremost|n|n|n|n|🧪|parent: Farmers|
|Infinity|n|n|n|🧪|**Tor-hostile** resources| |Geico|👌|n|n|n|🧪|akamai hosted but transactional site ecams.geico.com is not.|
|Lexington|👌|n|n|n|**Tor-hostile** resources; landing page allows Tor access but all links therein refuse Tor; AIG partner| |Harleysville Group|n|n|n|n|n|parent: Nationwide|
|Liberty Mutual|👌|n|🕵|n|**Tor-hostile** resources; akamai hosted| |Hartford|n|ðŸ
|Mercury|n|n|n|🧪|**Tor-hostile** resources| |n|🕵|🧪|akamai hosted|
|Nationwide|👌|n|🕵|🧪|**Tor-hostile** resources; **Amazon AWS-hosted**| |Infinity|n|ðŸ
|Progressive|n|n|n|🧪|**Tor-hostile** resources| |n|n|🧪||
|Safe Auto|n|n|n|n|**Tor-hostile** sign-in page despite Tor-friendly landing page.| |Lexington|👌|ðŸ
|Safeco|n|n|n|n|**Tor-hostile** resources; parent: Liberty Mutual; akamai hosted| |n|n|n|landing page allows Tor access but all links therein refuse Tor; AIG partner|
|State Farm|👌|n|🕵|🧪|**Tor-hostile** resources; edgecast-hosted| |Liberty Mutual|👌|ðŸ
|Titan|n|n|n|n|parent: Nationwide| |n|🕵|n|akamai hosted|
|USAA|n|n|🕵|🧪|**Tor-hostile** resources| |Mercury|n|ðŸ
|Western Mutual|n|🌩|n|n|| |n|n|🧪||
|Nationwide|👌|ðŸ
|n|🕵|🧪|**Amazon AWS-hosted**|
|Progressive|n|ðŸ
|n|n|🧪||
|Safe Auto|n|ðŸ
|n|n|n|**Tor-hostile** sign-in page despite Tor-friendly landing page.|
|Safeco|n|ðŸ
|n|n|n|parent: Liberty Mutual; akamai hosted|
|State Farm|👌|ðŸ
|n|🕵|🧪|edgecast-hosted|
|Titan|n|n|n|n|n|parent: Nationwide|
|USAA|n|ðŸ
|n|🕵|🧪||
|Western Mutual|n|n|🌩|n|n||