RegExMatch( clipboard, "<div class=""nwaPassword"" style=""width: 240px;"">(.*)</div>", sPWD) 
clipboard := sPWD1
MsgBox,,, password %clipboard%, 55

ESC::ExitApp

php file not found, 需要 /www 755, 不能放进/root

apt install php,php-fpm, php7.3-sqlite3
mkdir /www; chmod -R 755 /www/*;chown www-data:www-data -R /www/*;
systemctl restart caddy;

win7 win10 等启用http的webdav,避免踩坑认证错误

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"BasicAuthLevel"=dword:00000002
service restart webclient

caddy2 + webdav plugin,caddyfile

{
order webdav last
}
http://xxxx:18023 {
webdav {
    root c:\swds
    }
basicauth {
    swds JDJhJDEwJHp4bzc4dDgxSmlXNG03bERsbVRZOC5VUy5lQjljV2xxQzl1SUUxQWVGdWdJcWXXXXXXXXXX
    }
}

Caddy生成加密密码

caddy hash-password  --plaintext yourpassword

https://www.yumenaka.net/2020/05/10/caddy2_with_webdav/