Bug: The system cannot find the path specified
Author: lingszzCreated Mar 19, 2023Updated Sep 8, 2026
Labelsbugplatform: windows
Describe the bug
Use ./hack-browser-data -vv paste result here
any
Desktop (please complete the following information):
- OS Name: Windows
- Browser Name: any
- Browser Version: any
Additional context Add any other context about the problem here. 在工具的使用中我注意到DPAPI函数的写法 r, _, err := procDecryptData.Call(uintptr(unsafe.Pointer(newBlob(data))), 0, 0, 0, 0, 0, uintptr(unsafe.Pointer(&outBlob))) if r == 0 { return nil, err } 这将致使在使用System权限执行该工具时由main函数55行返回错误值The system cannot find the path specified Debug可见https://stackoverflow.com/questions/71181396/windowscryptographicexception-the-system-cannot-find-the-path-specified-when
PS : 由于var homeDir, _ = os.UserHomeDir() 的存在,程序只能由特定权限用户执行 -p可以缓解(但不能缓解我的痛苦)
Source: moonD4rk/HackBrowserData