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.
19 lines
281 B
19 lines
281 B
1 year ago
|
package hackbrowserdata
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestFirefox_Init(t *testing.T) {
|
||
|
firefox := browsers[Firefox]
|
||
|
if err := firefox.Init(); err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
passwords, err := firefox.Passwords()
|
||
|
if err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
fmt.Println(passwords)
|
||
|
}
|