add CLI tools support
This commit is contained in:
@@ -31,7 +31,7 @@ if opts.plain:
|
||||
})
|
||||
if opts.hashed:
|
||||
share.update({
|
||||
'pass_hash': hashlib.sha256(opts.hashed).hexdigest()
|
||||
'pass_hash': hashlib.sha1(opts.hashed).hexdigest()
|
||||
})
|
||||
if opts.expire:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user