refactor: remove redundant code

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-07-22 16:00:40 +08:00
parent c8ff9d18b7
commit 95c886c04f
5 changed files with 13 additions and 188 deletions
+1 -7
View File
@@ -11,14 +11,8 @@ import (
"golang.org/x/crypto/pbkdf2"
)
const (
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release/"
fireFoxCommand = ""
)
var (
chromeIV = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
chromeSalt = []byte("saltysalt")
chromeIV = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
)
func ChromePass(key, encryptPass []byte) ([]byte, error) {