This commit is contained in:
Benoit S 2021-01-20 21:40:21 +09:00
parent 8b0f093b5d
commit 4b58a930aa
5 changed files with 328 additions and 0 deletions

12
group_data/all.py Normal file
View file

@ -0,0 +1,12 @@
from getpass import getpass
import privy
def get_secret(adguard_password):
password = getpass('Please provide the secret password: ')
return privy.peek(adguard_password, password)
b_app_password = get_secret(b'1$2$LlFa8G5qg1DQqboBzagJywm5bayJ5CRDbVOeXrTPPKU=$Z0FBQUFBQmdDQlotZmYtd183cEE1MHpsbl9IaWlLNUlOdXBkMzhsdzQ0SUNhNXhiMDEwbUJfeUJIT2ctM1JFWm5oMW9IN1pocVFDSDIxN0dSSVRaSzdJdzJNQURPM3hyYVlWOUwxR09aOU9ubU1GbjNvNS1NdFNkWFhsS2tjcTNES0ZRYURjUkhWRGVpQkVuMmo0NTdrck9VTWRfaVVHUmZ3PT0=')
app_password = b_app_password.decode('utf-8')
app_user = 'adguard'
app_dir = '/home/adguard'