You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
1: Invalid challenge step values calculation (Different number precision in languages)
JS got 15 precision, C# got 16 now.
// step1 any operationstep1=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+[])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]));
Two causes of the issue #30.
1: Invalid challenge step values calculation (Different number precision in languages)
JS got 15 precision, C# got 16 now.
step1 result by language:
Let's try some values in interactive C# and JS.
So, JS number precision != C# double precision now? (wtf? double-precision (64-bit) IEEE-754 both).
C# 16 precision, not 15
Download HTML source
1.2: The first Issue step by step
Download HTML source : step by step
2: In ClearenceQuery property, calling Answer.toString() leads to rounding
Rounding when isn't required:
JS does not make rounding when there is a addition of a floating point number and an integer (the length of the string).
So the answer is incorrect in C# because Answer is rounded
2.1: Interactive math language difference
OFC: CultureInfo.Invariant required
2.2: Solution
Here my pull request
Using R format in ToString() call.
3: Missing headers
Referer
must be original URL;User-Agent
should be one of most popular (signature detection). I prefer random chrome generation;Accept
&Accept-Language
also checked (surprise);Upgrade-Insecure-Requests
no time for test it. But I prefer use it.Correct headers example:
For fix "Forbidden" errors - you need to add it all.
The text was updated successfully, but these errors were encountered: