mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-23 19:14:01 +02:00
feat: add is full export browsing data option
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
package crypto
|
||||
|
||||
var iv = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
||||
|
||||
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) < 3 {
|
||||
return nil, errPasswordIsEmpty
|
||||
}
|
||||
|
||||
chromeIV := []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
||||
return aes128CBCDecrypt(key, chromeIV, encryptPass[3:])
|
||||
return aes128CBCDecrypt(key, iv, encryptPass[3:])
|
||||
}
|
||||
|
||||
func DPAPI(data []byte) ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user