Browse Source

filter out instances where [email protected] exists

DerVerruckteFuchs 4 năm trước cách đây
mục cha
commit
2f3ec3a77f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      dnsapi/dns_1984hosting.sh

+ 3 - 0
dnsapi/dns_1984hosting.sh

@@ -244,6 +244,9 @@ _authget() {
 _htmlget() {
   export _H1="Cookie: $One984HOSTING_CSRFTOKEN_COOKIE;$One984HOSTING_SESSIONID_COOKIE"
   _response=$(_get "$1" | grep "$2" | _head_n 1)
+  if _contains "$_response" "@$2"; then
+	_response=$(echo "$_response" | grep -v "[@]" | _head_n 1)
+  fi
 }
 
 # add extra headers to request