Commit Graph

2 Commits

Author SHA1 Message Date
kamaji
a719e528ed Add password generator, duplicate AP rejection, and input sanitization
- Add Gen button to admin panel that generates 13-char alphanumeric
  passwords for Nextcloud credentials (Add Site form and Edit modal)
- Reject duplicate AP numbers within the same site (409 response)
- Fix newline injection vulnerability in admin API that allowed
  creating backdoor site entries via sites.conf corruption
- Fix colon-in-PIN bug by rejecting colons in PIN and NC User fields
- Use maxsplit=3 in sites.conf parser so NC Pass can contain colons
- Add nc_change_password() to sync password edits to Nextcloud
- Clean up corrupted sites.conf entries from prior injection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 08:47:30 -06:00
kamaji
9f45ed3452 Initial commit 2026-01-26 04:46:56 -06:00