1. 16 May, 2020 4 commits
    • Brian Hartvigsen's avatar
      Fix shellcheck issues · 3a7c7fe4
      Brian Hartvigsen authored
      3a7c7fe4
    • Brian Hartvigsen's avatar
    • Brian Hartvigsen's avatar
      Fix support for wget · d15c14ab
      Brian Hartvigsen authored
      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.
      d15c14ab
    • Brian Hartvigsen's avatar
      need to _url_encode anything sent in GET requests · 52b81608
      Brian Hartvigsen authored
      Fixes issue raised by @tatablack
      52b81608
  2. 10 May, 2020 1 commit
  3. 09 May, 2020 1 commit
  4. 08 May, 2020 1 commit
  5. 07 May, 2020 4 commits
  6. 04 May, 2020 2 commits
  7. 03 May, 2020 3 commits
  8. 02 May, 2020 3 commits
  9. 01 May, 2020 3 commits
  10. 29 Apr, 2020 7 commits
  11. 27 Apr, 2020 2 commits
  12. 25 Apr, 2020 1 commit
  13. 24 Apr, 2020 3 commits
  14. 22 Apr, 2020 1 commit
  15. 21 Apr, 2020 1 commit
  16. 20 Apr, 2020 3 commits