mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2025-03-01 17:00:38 +00:00
fix: wrong yandex password filename
This commit is contained in:
parent
71d784d645
commit
86d900527f
@ -71,6 +71,7 @@ func (d *Data) addSource(Sources []item.Item) {
|
||||
const (
|
||||
queryChromiumCredit = `SELECT guid, name_on_card, expiration_month, expiration_year, card_number_encrypted FROM credit_cards`
|
||||
queryChromiumLogin = `SELECT origin_url, username_value, password_value, date_created FROM logins`
|
||||
queryYandexLogin = `SELECT action_url, username_value, password_value, date_created FROM logins`
|
||||
queryChromiumHistory = `SELECT url, title, visit_count, last_visit_time FROM urls`
|
||||
queryChromiumDownload = `SELECT target_path, tab_url, total_bytes, start_time, end_time, mime_type FROM downloads`
|
||||
queryChromiumCookie = `SELECT name, encrypted_value, host_key, path, creation_utc, expires_utc, is_secure, is_httponly, has_expires, is_persistent FROM cookies`
|
||||
|
@ -86,7 +86,7 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
|
||||
}
|
||||
defer os.Remove(item.TempYandexPassword)
|
||||
defer loginDB.Close()
|
||||
rows, err := loginDB.Query(queryChromiumLogin)
|
||||
rows, err := loginDB.Query(queryYandexLogin)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@ -106,6 +106,7 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
|
||||
encryptPass: pwd,
|
||||
LoginUrl: url,
|
||||
}
|
||||
log.Debug(login)
|
||||
if len(pwd) > 0 {
|
||||
var err error
|
||||
if masterKey == nil {
|
||||
|
@ -11,7 +11,7 @@ const (
|
||||
fileChromiumBookmark = "Bookmarks"
|
||||
fileChromiumLocalStorage = "chromiumLocalStorage"
|
||||
|
||||
fileYandexPassword = "Ya PassMan Data"
|
||||
fileYandexPassword = "Ya Passman Data"
|
||||
fileYandexCredit = "Ya Credit Cards"
|
||||
|
||||
fileFirefoxKey4 = "key4.db"
|
||||
|
Loading…
Reference in New Issue
Block a user