diff options
author | Alperen <alperene@aof.anadolu.edu.tr> | 2024-11-09 23:21:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-09 23:21:39 +0300 |
commit | 770fe178d2d87533e512f5fdb5aba57a603f49aa (patch) | |
tree | 498b8fc16dab7b5bc7328c656bea90d538138e39 /README.md | |
parent | e48c4b79630253ed996e577d64ae63a32443fb11 (diff) |
fix: sanitize domain input to prevent command injection
- 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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions