summaryrefslogtreecommitdiff
path: root/adddomain.sh
AgeCommit message (Collapse)Author
2024-11-09fix: sanitize domain input to prevent command injectionAlperen
- Added input validation for the domain parameter to allow only alphanumeric characters, dots, and dashes. - This mitigates a command injection vulnerability on line 9 where unsanitized user input could be injected into the sed command. - The fix improves security for local script execution in multi-user environments or when the script is run with elevated privileges.
2024-03-13adddomain.sh to add an additional domainLuke Smith