mirror of
https://github.com/pi-hole/PADD.git
synced 2026-04-02 00:18:44 +01:00
Add comment about password/totp as binary data
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
1
padd.sh
1
padd.sh
@@ -295,6 +295,7 @@ EOF
|
||||
}
|
||||
|
||||
Authenticate() {
|
||||
# password and totp are passed via stdin as binary-data to prevent leakage via process information
|
||||
sessionResponse="$(curl --connect-timeout 2 -skS -X POST "${API_URL}auth" \
|
||||
--user-agent "PADD ${padd_version}" \
|
||||
-H "Content-Type: application/json" \
|
||||
|
||||
Reference in New Issue
Block a user