Captcha : zero has too much rarity
This commit is contained in:
parent
16827ba1ab
commit
bbd483e977
|
@ -54,7 +54,7 @@ INTRUS()
|
||||||
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
|
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
|
||||||
INTRUS=-1
|
INTRUS=-1
|
||||||
|
|
||||||
for i in 0 1 2 3 4 5 6 7 8 9
|
for i in 1 2 3 4 5 6 7 8 9
|
||||||
do
|
do
|
||||||
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
|
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
|
||||||
INTRUS=$i
|
INTRUS=$i
|
||||||
|
|
|
@ -54,7 +54,7 @@ INTRUS()
|
||||||
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
|
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
|
||||||
INTRUS=-1
|
INTRUS=-1
|
||||||
|
|
||||||
for i in 0 1 2 3 4 5 6 7 8 9
|
for i in 1 2 3 4 5 6 7 8 9
|
||||||
do
|
do
|
||||||
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
|
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
|
||||||
INTRUS=$i
|
INTRUS=$i
|
||||||
|
|
Loading…
Reference in New Issue