Commit c2273d2c authored by neil's avatar neil
Browse files

add debug info

parent 495ba01d
...@@ -194,7 +194,7 @@ _check_cookie() { ...@@ -194,7 +194,7 @@ _check_cookie() {
# _domain=domain.com # _domain=domain.com
_get_root() { _get_root() {
domain="$1" domain="$1"
i=2 i=1
p=1 p=1
while true; do while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100) h=$(printf "%s" "$domain" | cut -d . -f $i-100)
...@@ -220,6 +220,7 @@ _get_root() { ...@@ -220,6 +220,7 @@ _get_root() {
_authget() { _authget() {
export _H1="Cookie: $One984HOSTING_COOKIE" export _H1="Cookie: $One984HOSTING_COOKIE"
_response=$(_get "$1") _response=$(_get "$1")
_debug2 _response "$_response"
} }
# truncate huge HTML response # truncate huge HTML response
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment