mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-19 23:57:15 +02:00
encode wifi networks to base64 (#1303)
This commit is contained in:
parent
a266b4d633
commit
c47dd4a7ab
2 changed files with 3 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
|||
<integer>1</integer>
|
||||
<key>OnDemandRules</key>
|
||||
<array>
|
||||
{% if algo_ondemand_wifi_exclude != '_null' %}
|
||||
{% set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|string).split(',') %}
|
||||
{% if algo_ondemand_wifi_exclude|b64decode != '_null' %}
|
||||
{% set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|b64decode|string).split(',') %}
|
||||
<dict>
|
||||
<key>Action</key>
|
||||
<string>Disconnect</string>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
algo_server_name: {{ algo_server_name }}
|
||||
algo_ondemand_cellular: {{ algo_ondemand_cellular }}
|
||||
algo_ondemand_wifi: {{ algo_ondemand_wifi }}
|
||||
algo_ondemand_wifi_exclude: {{ algo_ondemand_wifi_exclude }}
|
||||
algo_ondemand_wifi_exclude: {{ algo_ondemand_wifi_exclude | b64encode }}
|
||||
algo_local_dns: {{ algo_local_dns }}
|
||||
algo_ssh_tunneling: {{ algo_ssh_tunneling }}
|
||||
algo_windows: {{ algo_windows }}
|
||||
|
|
Loading…
Add table
Reference in a new issue