You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
356 B
23 lines
356 B
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
hkb "github.com/moond4rk/hackbrowserdata"
|
|
)
|
|
|
|
func main() {
|
|
browser, err := hkb.NewBrowser(hkb.Firefox)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
passwords, err := browser.Passwords()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
fmt.Println(len(passwords))
|
|
// all, err := browser.AllBrowsingData()
|
|
// if err != nil {
|
|
// panic(err)
|
|
// }
|
|
}
|
|
|