20230222
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# cython: language_level=3
|
||||
#!env python3
|
||||
import base64
|
||||
import sys
|
||||
|
||||
@@ -7,6 +6,12 @@ from Crypto.Cipher import AES
|
||||
|
||||
|
||||
def main():
|
||||
if len(sys.argv) != 2:
|
||||
print('Error: command parameters missed.')
|
||||
print('Usage:')
|
||||
print('{} ENCRYPTED_PASSWORD'.format(sys.argv[0]))
|
||||
print(' ENCRYPTED_PASSWORD encrypted password in base64 format, read from database.')
|
||||
return
|
||||
|
||||
enc_password = sys.argv[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user