Update XHTTP

This commit is contained in:
Shtorm
2025-12-11 02:46:57 +03:00
parent 92beba066b
commit 0f38dbba4c
9 changed files with 94 additions and 43 deletions

View File

@@ -9,6 +9,9 @@ func RandBetween(from int64, to int64) int64 {
if from == to {
return from
}
if from > to {
from, to = to, from
}
bigInt, _ := rand.Int(rand.Reader, big.NewInt(to-from))
return from + bigInt.Int64()
}