mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: wssize tests
This commit is contained in:
parent
2143e9f72c
commit
68c856e2fc
@ -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.'
|
||||||
nfqws_curl_test $1 $3 $s && {
|
else
|
||||||
strategy="${strategy:-$s}"
|
[ "$sec" = 1 ] && {
|
||||||
echo WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers.
|
s="$s --wssize 1:6"
|
||||||
}
|
nfqws_curl_test $1 $3 $s && {
|
||||||
|
strategy="${strategy:-$s}"
|
||||||
s="--dpi-desync=$desync --dpi-desync-fooling=badseq"
|
[ "$fooling" = "md5sig" ] && echo 'WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers.'
|
||||||
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}"
|
}
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user