mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
The pipeline's Validate rejects bad -b/-c/-f/-d/-p before discovery (an unknown -b now exits 1). -p at a Chromium profile dir uses its parent, so Local State is found; Firefox -p selects only that profile; the keychain password comes from a flag, stdin, a terminal prompt, or nowhere.
10 lines
151 B
Go
10 lines
151 B
Go
//go:build !windows
|
|
|
|
package app
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func canCreateIn(dir string) error {
|
|
return unix.Access(dir, unix.W_OK|unix.X_OK)
|
|
}
|