Browse Source

blockcheck: wssize tests

pull/81/head
bol-van 3 years ago
parent
commit
68c856e2fc
  1. 21
      blockcheck.sh

21
blockcheck.sh

@ -276,18 +276,21 @@ check_domain_bypass()
} }
done done
} }
for fooling in badsum md5sig badseq; do
s="--dpi-desync=$desync --dpi-desync-fooling=badsum" s="--dpi-desync=$desync --dpi-desync-fooling=$fooling"
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}" if nfqws_curl_test $1 $3 $s ; then
strategy="${strategy:-$s}"
s="--dpi-desync=$desync --dpi-desync-fooling=md5sig" [ "$fooling" = "md5sig" ] && echo 'WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers.'
else
[ "$sec" = 1 ] && {
s="$s --wssize 1:6"
nfqws_curl_test $1 $3 $s && { nfqws_curl_test $1 $3 $s && {
strategy="${strategy:-$s}" strategy="${strategy:-$s}"
echo WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers. [ "$fooling" = "md5sig" ] && echo 'WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers.'
} }
}
s="--dpi-desync=$desync --dpi-desync-fooling=badseq" fi
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}" done
done done
echo echo

Loading…
Cancel
Save