mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
d15c14ab93
I'm actually not entirely sure why/how this worked with curl but not wget, but it did. The short answer is that using a GET does not result in the HTTP_HEADER file being written, instead you must pass in the http_headers param ($2) which will return the HTTP headers as a string. Luckily, the Token is in both the body and the header. We need it and the id (and smid if 2fa) cookie to proceed. So now we parrse the response for that instead of the HTTP_HEADER file. Interesting side note: wget is fine if the URL contains a \r or \n, but curl will barf on it. So we need to make sure those are stripped from the token as it will be passed in the URL later. |
||
---|---|---|
.. | ||
apache.sh | ||
cpanel_uapi.sh | ||
docker.sh | ||
dovecot.sh | ||
exim4.sh | ||
fritzbox.sh | ||
gcore_cdn.sh | ||
gitlab.sh | ||
haproxy.sh | ||
keychain.sh | ||
kong.sh | ||
mailcow.sh | ||
myapi.sh | ||
mydevil.sh | ||
mysqld.sh | ||
nginx.sh | ||
opensshd.sh | ||
panos.sh | ||
pureftpd.sh | ||
qiniu.sh | ||
README.md | ||
routeros.sh | ||
ssh.sh | ||
strongswan.sh | ||
synology_dsm.sh | ||
unifi.sh | ||
vault_cli.sh | ||
vsftpd.sh |