mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-10 21:43:42 +02:00
refactor: only handle error if security command not found
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package decrypter
|
||||
|
||||
var (
|
||||
errSecurityKeyIsEmpty = errors.New("input [security find-generic-password -wa 'Chrome'] in terminal")
|
||||
)
|
||||
|
||||
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) <= 3 {
|
||||
return nil, errPasswordIsEmpty
|
||||
|
||||
Reference in New Issue
Block a user