File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ _1984hosting_login() {
128
128
129
129
_get " https://1984.hosting/accounts/login/" | grep " csrfmiddlewaretoken"
130
130
csrftoken=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' csrftoken=[^;]*;' | tr -d ' ;' ) "
131
- sessionid=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' sessionid =[^;]*;' | tr -d ' ;' ) "
131
+ sessionid=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' cookie1984nammnamm =[^;]*;' | tr -d ' ;' ) "
132
132
133
133
if [ -z " $csrftoken " ] || [ -z " $sessionid " ]; then
134
134
_err " One or more cookies are empty: '$csrftoken ', '$sessionid '."
@@ -145,7 +145,7 @@ _1984hosting_login() {
145
145
_debug2 response " $response "
146
146
147
147
if _contains " $response " ' "loggedin": true' ; then
148
- One984HOSTING_SESSIONID_COOKIE=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' sessionid =[^;]*;' | tr -d ' ;' ) "
148
+ One984HOSTING_SESSIONID_COOKIE=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' cookie1984nammnamm =[^;]*;' | tr -d ' ;' ) "
149
149
One984HOSTING_CSRFTOKEN_COOKIE=" $( grep -i ' ^set-cookie:' " $HTTP_HEADER " | _egrep_o ' csrftoken=[^;]*;' | tr -d ' ;' ) "
150
150
export One984HOSTING_SESSIONID_COOKIE
151
151
export One984HOSTING_CSRFTOKEN_COOKIE
You can’t perform that action at this time.
0 commit comments