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

Feature Request: Add error handling when entering the system password incorrectly on macOS. #295

Open moonD4rk opened 10 months ago

moonD4rk commented 10 months ago

Feature Description

Capture CMD Error Code on macOS terminal. Show the specific error reason based on the incorrect code.

level=ERROR source=main.go:57 msg="get browsing data error" err="run security command failed: exit status 128, message "
level=ERROR source=main.go:57 msg="get browsing data error" err="run security command failed: exit status 128, message "

Why is this feature needed?

Improve the readability of error messages.

Checklist

Screenshots/Videos

If applicable, add screenshots or videos to help explain your proposal.

Additional Context

Add any other context or screenshots about the feature request here.