This commit is contained in:
ed 2023-10-09 00:36:54 +00:00
parent e9f65be86a
commit e4001550c1
3 changed files with 19 additions and 10 deletions

View file

@ -1,8 +1,8 @@
# coding: utf-8 # coding: utf-8
VERSION = (1, 9, 10) VERSION = (1, 9, 11)
CODENAME = "prometheable" CODENAME = "prometheable"
BUILD_DT = (2023, 10, 8) BUILD_DT = (2023, 10, 9)
S_VERSION = ".".join(map(str, VERSION)) S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -132,7 +132,7 @@ class HttpCli(object):
self.mode = " " self.mode = " "
self.req = " " self.req = " "
self.http_ver = " " self.http_ver = " "
self.hint = " " self.hint = ""
self.host = " " self.host = " "
self.ua = " " self.ua = " "
self.is_rclone = False self.is_rclone = False
@ -221,13 +221,6 @@ class HttpCli(object):
def run(self) -> bool: def run(self) -> bool:
"""returns true if connection can be reused""" """returns true if connection can be reused"""
self.keepalive = False
self.is_https = False
self.headers = {}
self.hint = ""
self.uname = self.pw = " "
self.out_headerlist = []
self.out_headers = { self.out_headers = {
"Vary": "Origin, PW, Cookie", "Vary": "Origin, PW, Cookie",
"Cache-Control": "no-store, max-age=0", "Cache-Control": "no-store, max-age=0",

View file

@ -1,3 +1,19 @@
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2023-1008-2051 `v1.9.10` badpwd
## new features
* argument `--log-badpwd` specifies how to log invalid login attempts;
* `0` = just a warning with no further information
* `1` = log incorrect password in plaintext (default)
* `2` = log sha512 hash of the incorrect password
* `1` and `2` are convenient for stuff like setting up autoban triggers for common passwords using fail2ban or similar
## bugfixes
* none!
* the formerly mentioned caching-directives bug turned out to be unreachable... oh well, better safe than sorry
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2023-1007-2229 `v1.9.9` fix cross-volume dedup moves # 2023-1007-2229 `v1.9.9` fix cross-volume dedup moves