mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 06:55:13 +08:00
🔥 Sync 2026-05-23 20:23:16
This commit is contained in:
1 parent
252b818cc5
commit
b77bf4e6e9
49 files changed
+2005
-1916
No files matched your search
@@ -23,7 +23,7 @@ start() {
|
||||
-H "Referer: ${scheme}://${host}:${web_port}" \
|
||||
-d "username=${username}&password=${password}" \
|
||||
--url ${scheme}://${host}:${web_port}/api/v2/auth/login \
|
||||
| grep -i set-cookie | sed -En 's|^.*(SID=\S+);.*|\1|p')"
|
||||
| grep -i set-cookie | sed -En 's#^.*\b((SID|QBT_SID_'"${web_port}"')=[^;]+);.*#\1#p')"
|
||||
$CURL $retry $self_signed -L -X POST \
|
||||
-b "$cookie" \
|
||||
-d "$payload" \
|
||||
|
||||
Reference in new issue
Block a user