We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875cde2 commit fc6d2a9Copy full SHA for fc6d2a9
1 file changed
cmd/wutils/zip/crack_test.go
@@ -8,7 +8,10 @@ import (
8
9
func TestCrackPassword(t *testing.T) {
10
home, _ := os.UserHomeDir()
11
- passwordDictPath := filepath.Join(home, ".config", "wutils", "password-dict.txt")
+ configDir := filepath.Join(home, ".config", "wutils")
12
+ passwordDictPath := filepath.Join(configDir, "password-dict.txt")
13
+
14
+ os.MkdirAll(configDir, 0755)
15
os.WriteFile(passwordDictPath, []byte("test\nwrong\n123456"), 0644)
16
17
type args struct {
0 commit comments