moonD4rk / HackBrowserData

Extract and decrypt browser data, supporting multiple data types, runnable on various operating systems (macOS, Windows, Linux).
MIT License
11.19k stars 1.57k forks source link

BUG: When the program unexpectedly exits, temporary files cannot be deleted. #265

Closed moonD4rk closed 10 months ago

moonD4rk commented 10 months ago

Ref:

There is indeed a better way, which is to use os.TempDir() to copy the file to the temporary directory, so there is no need to consider whether sql.Open() fails https://github.com/moonD4rk/HackBrowserData/pull/237#issuecomment-1884105583

moonD4rk commented 10 months ago

Fixed in https://github.com/moonD4rk/HackBrowserData/pull/272