diff options
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-x | hib-dlagent | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hib-dlagent b/hib-dlagent index 1bc2c40..9e61ed2 100755 --- a/hib-dlagent +++ b/hib-dlagent @@ -19,8 +19,9 @@ login() { read -rsp 'Enter Humble account password: ' PASSWORD echo fi - curl -s --cookie-jar "$COOKIE_JAR" \ - --data-urlencode "username=$USERNAME" --data-urlencode "password=$PASSWORD" "$LOGIN_PAGE" + printf '%s' "$PASSWORD" | \ + curl -s --cookie-jar "$COOKIE_JAR" \ + --data-urlencode "username=$USERNAME" --data-urlencode password@- "$LOGIN_PAGE" } discover_url() { |