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>
This commit is contained in:
@@ -21,5 +21,6 @@
|
||||
# The app reloads this file on every login attempt, so changes
|
||||
# take effect immediately — no restart needed.
|
||||
|
||||
1102:1102:1102:FocusWrite2000!
|
||||
1234:1234:1234:railFocus11
|
||||
2725:2725:2725:makeBiscuits
|
||||
2725:2725:2725:makeBiscuits112
|
||||
|
||||
Reference in New Issue
Block a user