aw1875 / puppeteer-hcaptcha

A library to solve hcaptcha challenges that are automated within puppeteer. You can automatically set response values where they should be so the only thing left for you is submitting the page or you can get the response token.
https://www.npmjs.com/package/puppeteer-hcaptcha
137 stars 38 forks source link

Help me converting to .NET #38

Closed henzycuong1 closed 2 years ago

henzycuong1 commented 2 years ago

Hi everyone, I'm trying to send a post request to "https://hcaptcha.com/checkcaptcha/${key}?s=${sitekey}". I got 403 status every time. I wrote my code on .NET. So, I hope someone can help me figure this problem out ?. Thank you very much.

This is my code:

var timestamp = ((DateTimeOffset)DateTime.Now).ToUnixTimeMilliseconds() + new Random().Next(30, 120);
var jsonResponse = new JObject();
httpRequest = WebRequest.Create($"https://hcaptcha.com/checksiteconfig?host={host}&sitekey={siteKey}&sc=1&swa=1");
httpRequest.Method = "GET";
httpRequest.Headers = headerHttp;
httpResponse = httpRequest.GetResponse();
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
    jsonResponse = JObject.Parse(streamReader.ReadToEnd());
}
String test = String.Empty;
if(jsonResponse["c"] == null)
{
    body["job_mode"] = jobMode;
    body["answer"] = answer;
    body["serverdomain"] = host;
    body["sitekey"] = siteKey;
    body["motionData"] = tempMotionData.ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["n"] = null;
    body["c"] = "null";
}
else
{
    body["job_mode"] = jobMode;
    body["answer"] = answer;
    body["serverdomain"] = host;
    body["sitekey"] = siteKey;
    body["motionData"] = tempMotionData.ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["n"] = jsonResponse["c"]["type"].ToString().CompareTo("hsl") == 0 ? GetHSLHCaptcha(jsonResponse["c"]["req"].ToString()) : GetHSWHCaptcha(jsonResponse["c"]["req"].ToString());
    body["c"] = jsonResponse["c"].ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["v"] = DecodeBase64ToJOject(jsonResponse["c"]["req"].ToString().Split(".")[1])["l"].ToString().Substring(dec.Length);
}
httpRequest = WebRequest.Create($"https://hcaptcha.com/checkcaptcha/${key}?s=${siteKey}");
httpRequest.Method = "POST";
headerHttp = new WebHeaderCollection();
headerHttp.Add("Authority", "hcaptcha.com");
headerHttp.Add("Accept", "application/json");
headerHttp.Add("Accept-Language", "en-US,en;q=0.9");
headerHttp.Add("Content-Type", "application/json;charset=UTF-8");
headerHttp.Add("Origin", "https://newassets.hcaptcha.com");
headerHttp.Add("Sec-Fetch-Site", "same-site");
headerHttp.Add("Sec-Fetch-Mode", "cors");
headerHttp.Add("Sec-Fetch-Dest", "empty");
headerHttp.Add("User-Agent", userAgent);
httpRequest.Headers = headerHttp;
using (var streamWriter = new StreamWriter(httpRequest.GetRequestStream()))
{
    streamWriter.Write(body.ToString().Replace("\r","").Replace("\n","").Replace(" ",""));
    streamWriter.Flush();
    streamWriter.Close();
}
var checkAnswers = httpRequest.GetResponse(); //<--- 403 status

And this is body I got after replacing

"{\"job_mode\":\"image_label_binary\",\"answer\":{\"320e6315-bffc-4a07-b555-a8fafc5efa79\":\"false\",\"74a196cc-0870-46da-84a9-15e4f5e73579\":\"true\",\"b38da4b3-e8f7-455b-b265-53483b9b1981\":\"false\",\"4d4b3d72-761b-4b4b-8325-de360b6fa586\":\"false\",\"99709e3c-0b08-4661-9a43-9a2d7c76cf39\":\"false\",\"abb63531-ee0a-4652-9de1-efb4d5368c87\":\"false\",\"58f89fc2-4a13-440b-aad9-47f3d3edebd1\":\"false\",\"ac0cd534-1561-4551-b939-c5df04d5093f\":\"true\",\"b4756a40-89f9-4768-b1c4-5af87ba6777c\":\"false\"},\"serverdomain\":\"democaptcha.com\",\"sitekey\":\"51829642-2cda-4b09-896c-594f89d700cc\",\"motionData\":\"{\\\"st\\\":1642606282592,\\\"mm\\\":[[100,100,1642606282718],[116.78154984466093,104.95299192914867,1642606282755],[133.29929865105032,110.46276194617363,1642606282708],[149.5520374295446,116.51001691242537,1642606282726],[165.53855719052046,123.07546368925456,1642606282737],[181.25764894435426,130.13980913801174,1642606282709],[196.7081037014226,137.68376012004754,1642606282719],[211.888712472102,145.6880234967125,1642606282745],[226.79826626676902,154.13330612935724,1642606282744],[241.43555609580008,163.0003148793323,1642606282772],[255.7993729695717,172.26975660798828,1642606282737],[269.8885078984605,181.92233817667585,1642606282705],[283.70175189284294,191.93876644674546,1642606282777],[297.2378959630956,202.2997482795478,1642606282698],[310.495731119595,212.98599053643346,1642606282747],[323.4740483727176,223.97820007875296,1642606282726],[336.17163873283994,235.2570837678569,1642606282731],[348.5872932103385,246.80334846509587,1642606282715],[360.71980281559,258.5977010318206,1642606282771],[372.5679585589706,270.6208483293814,1642606282753],[384.13055145085707,282.85349721912894,1642606282710],[395.40637250162604,295.276354562414,1642606282768],[406.39421272165384,307.870127220587,1642606282691],[417.092863121317,320.6155220549985,1642606282742],[427.50111471099206,333.4932459269992,1642606282702],[437.61775850105573,346.4840056979397,1642606282756],[447.4415855018842,359.56850822917045,1642606282751],[456.97138672385415,372.72746038204207,1642606282690],[466.2059531773423,385.9415690179053,1642606282725],[475.1440758727248,399.1915409981105,1642606282728],[483.7845458203784,412.4580831840084,1642606282719],[492.1261540306797,425.72190243694956,1642606282715],[500.16769151400496,438.9637056182845,1642606282717],[507.90794928073086,452.16419958936393,1642606282744],[515.3457183412339,465.3040912115383,1642606282702],[522.4797897058907,478.3640873461584,1642606282771],[529.3089543850776,491.32489485457467,1642606282767],[535.8320033891712,504.16722059813753,1642606282736],[542.0477277285481,516.8717714381978,1642606282745],[547.9549184135847,529.4192542361061,1642606282710],[553.5523664546577,541.7903758532129,1642606282753],[558.8388628621433,553.9658431508687,1642606282760],[563.8131986464184,565.9263629904244,1642606282753],[568.4741648178592,577.6526422332304,1642606282767],[572.8205523868423,589.125387740637,1642606282739],[576.8511523637446,600.3253063739953,1642606282715],[580.564755758942,611.2331049946555,1642606282751],[583.9601535828116,621.8294904639686,1642606282711],[587.0361368457295,632.0951696432846,1642606282734],[589.7914965580725,642.0108493939546,1642606282748],[592.2250237302169,651.5572365773289,1642606282700],[594.3355093725393,660.7150380547582,1642606282711],[596.1217444954162,669.464960687593,1642606282705],[597.5825201092243,677.7877113371841,1642606282696],[598.71662722434,685.6639968648819,1642606282774],[599.5228568511397,693.074524132037,1642606282703],[600,700,1642606282761]],\\\"dct\\\":1642606282592}\",\"n\":\"97988c83d345ce86bbbcb5a1ebbb751fe0da33315f573defda19c69d9a80aa686ff2f3575d700b72a9315c7ba29c316396c78f25cb461b50498999cec8e54efd9f12eaebceed4765105a671e3f0a93d1d54df70856838281694a1a14a40a240a85b5efa15e7dd8f349faa7e3b2f23e3ffaaf8fa76e7f31e214877783502c7ce63c00425ce5587dcef4b9b9c6a0ea9973b0583313ee9cfeea8e5cbe0c6d29ebd7ad854542345967a101790e75ff85c6c4bf5b885172f1aaebf263261a1118bf33facdf19a4c55859dcd44f4f8337fcc1a09321974e167d2e69efe7402a98e23822f0f46b5deb2d1c684ee8792cf0ad7cdb1e246e6be0cd19c43f25e848b9987c797bebccdf06de753babf1dba50426e8b562fc62df675a3ae9719afdd1cc0fdba670399fb262b4d5258b04524dfb7325111324a095ce8dd41c466b775dad084f681d2cc23876e6228e952604163a44aa4ca3cb064efb0797b14533bc4e87c7e7e3a8b6ec4a6da09a85dca42acd177823d818b9c1e5e06ba2c57866494388b5a59c8fc2c3827f71066462d1079f48124a3ceb4bb7abaeb33c981ffe8db21faada351dc6824a25a4de8eb164ae0a377d7b767e2b86ce18e4b770c3ef41548415050ea74bbdbad56bd4803b111b5974add179ba8963f3dcfbaa856a655f4914e3d5e2e4336701a320db7201de61021cdbfde7d072e408e255cfbe8f40df19035509df181ec47fe0123e25c31ae862f0082612e259b12445bf314ebe0ed0b973880ee418e580c5a0a937a3075d73e95d077160cdce6d27ffbea44e570af693d424a6dfad2a864a969a3d0519b0aabc93c21dcec8dc95c9b147ed928979070ffd2f1d667f653b93c45ea5ae74371906a4c1dc927601cbb13b77e349be5ccd5bb325f6a474815019e4a05a3522d2839aa3d0e9a36066eeb5b62184c868a3405ebdbae64920157cd7119d820abcaf6634b12d66045619e33cb10d2c1fcceb23687319deb1e98361ef3ab59d5bd6dfaf1caf0fe48187ce1aaefb869c8d416e6ddf2d0a04f173bd5b20c69787efa3a936f7fe7f230d9bbeae7e96d329b1553ba1e4cd906309076366057a1693d58c980d3dd141fb0c91ca071a611c51cdb7649be87cf1f7e7d1d8725afb18b6dc5891531964c5f53852dda8ac9aee48a49d4ffdc144f7475140077b78dffffa48cdc7ebfc93bfd6ec182cf07d9642f6593279edb428c71bcae026f88477c644c10e5a85667130e9db7afb571c6c265a90f4b5581d651e1badb13793d4b501b593dde3dad432485eb4e4d5ff5fee7fac58f23644531cdcf46e6721e601f90bf72bd979571066cc3b9c4ecf25675bc9cd57dc78e2c2f4ab8652da626df4db2aa14da8111b01f0ed30dea44f0f45003e3ef2eebf9f9f4a39f8b7d5a2e1517ae1d631919e3ecfdf45c79d2c7ed8c5822260a37048bfb5fe7d48e37bd5e71919d93859027a869fa1fe65742e0ee180f07d74ffdded2d079d0f0c48d8f40f9c065e4e3e5d4d8f9e21a7476fda3ce9a8427a334d691268ddc51f927055cbf7f5c5a0331e29715e3027fb28b56638b8c4fc09152abdac2143cacb45effe5373398d507ea5ccc3268d33263af432b4d36e616e5b12d570c5938de7259b20d1d9fd17320539fc91676680cf39d1b9c864ae91a3386e5a415612de6bf5925b365c1138e3422a0af2bca2d50a0221c63c025b534786c66b2ce14a7981a2160eb226366d399db9082283e0ff20ad5a4f8912ba20b7f9c27d5d347c0db6f4a4fab1f63e76bec6bf5189268125c5063a3df2da8c1658aa265df3224361d26c2c90e80523daaa8169eeb271697c18ebb4a6cf66e98958451dc82a413254c55b4449591ba5ddf85a45d11e2231a036c4babcaecb2b411d64513a6fa937d38240588d2d1d6a63b6028222b38cefc61fd0a71dcaec67beec763868c281a04d8213dc21a68ef80efdbadae6dcffdba5ebdaa27ee634c46e0f1e71afc362a4be8f17c3d1221a8f7327fdc98ca783b682bc7e00724bc5e9c0a6c299274f21b8388724e9696b857ca078a92ff84c295b81408a7b25b3cff78e9f6f41214e7b2a9eaa5ccca2b6354adc99c678c19a3c49fbf4aefc64f46209716f2f22f02ff4b8f414757826a09c3db86c3ac7b72addccc49a78883f064b1308499c87232d5780d72a423412b178a2ac9511d6adf16e3e11c74486662692b4700\",\"c\":\"{\\\"type\\\":\\\"hsw\\\",\\\"req\\\":\\\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJkd2hnVFhQa2hXUklaL0hjdFo3Rk43YktsVnYvaW1HREYrcnliU1lKdXR4OXhUR3ZtOWQwRWtXMlFpeVh2cW5UNE1oQkpxM1Q1WVZXYWVpTzV1QmQ0VEkvQ3laUW02OWxDVXh5cHlDbDhQU0NJK2U1SXBMRlBKY3NSbUJ6ZnpXWURTU1NoejZDRDB4eUlham9Md1NBSU9jQWxKNXFROVpRUmk3UzYwa0V2NkNuc2xTeitiODcyeVk5N2c9PTgvckVhVU1DWGx4aHFYUFkiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvYzg0Mjg2NDAiLCJlIjoxNjQyNjA2NTQzfQ.I1BRtJvVI77Ph-RZoMXrhXtnaqaGPaDU2AOOushE9pA\\\"}\",\"v\":\"c8428640\"}"

It can be parsed by JSON.parse() on javascript. Thank you.

aw1875 commented 2 years ago

The request you're sending is for checking the answers. Without looking too deep into the code I notice that you're not sending the answers correctly in the request which I assume is why you're getting a 403 (403 meaning your answers are wrong). Your request body should be:

if(jsonResponse["c"] == null)
{
    body["job_mode"] = jobMode;
    body["answers"] = answer;
    body["serverdomain"] = host;
    body["sitekey"] = siteKey;
    body["motionData"] = tempMotionData.ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["n"] = null;
    body["c"] = "null";
}
else
{
    body["job_mode"] = jobMode;
    body["answers"] = answer;
    body["serverdomain"] = host;
    body["sitekey"] = siteKey;
    body["motionData"] = tempMotionData.ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["n"] = jsonResponse["c"]["type"].ToString().CompareTo("hsl") == 0 ? GetHSLHCaptcha(jsonResponse["c"]["req"].ToString()) : GetHSWHCaptcha(jsonResponse["c"]["req"].ToString());
    body["c"] = jsonResponse["c"].ToString().Replace("\r", "").Replace("\n", "").Replace(" ", "");
    body["v"] = DecodeBase64ToJOject(jsonResponse["c"]["req"].ToString().Split(".")[1])["l"].ToString().Substring(dec.Length);
}

The only change I made was body["answer"] = answer; to body["answers"] = answer. Again this was just a quick glance and I haven't taken any in depth looks through the code but try that and let me know if that changes anything.

henzycuong1 commented 2 years ago

Thank you for replying me. I have changed but it did not work. But I sent a post request to "https://hcaptcha.com/getcaptcha?s={siteKey}" by this code

JObject body = new JObject();
JObject tempMotionData = new JObject();
String tempMm = GetMmHCaptcha();
if (String.IsNullOrEmpty(tempMm))
    return String.Empty;
String dec = "https://newassets.hcaptcha.com/c/";
tempMotionData["st"] = timestamp;
tempMotionData["mm"] = JArray.Parse(tempMm);
if (jsonResponse["c"] != null)
{
    tempMotionData["dct"] = timestamp;
}
String form = $"v={DecodeBase64ToJOject(jsonResponse["c"]["req"].ToString().Split(".")[1])["l"].ToString().Substring(dec.Length)}" +
    $"&sitekey={siteKey}" +
    $"&host={host}" +
    $"&hl=en" +
    $"&motionData={tempMotionData.ToString().Replace("\r", "").Replace("\n", "").Trim()}" +
    $"&n={(jsonResponse["c"]["type"].ToString().CompareTo("hsl") == 0 ? GetHSLHCaptcha(jsonResponse["c"]["req"].ToString()) : GetHSWHCaptcha(jsonResponse["c"]["req"].ToString()))}" +
    $"&c={jsonResponse["c"].ToString()}";
httpRequest = (HttpWebRequest)WebRequest.Create($"https://hcaptcha.com/getcaptcha?s={siteKey}");
httpRequest.Method = "POST";
httpRequest.Headers = headerHttp;
using (var streamWriter = new StreamWriter(httpRequest.GetRequestStream()))
{
    streamWriter.Write(form);
    streamWriter.Flush();
    streamWriter.Close();
}
httpResponse = httpRequest.GetResponse();

It worked. I don't know what difference between this code and the above code. I just know, this code has "Content-Type" = "application/x-www-form-urlencoded", and the above code has "Content-Type" = "application/json;charset=UTF-8" so I have used JObject like the body of the request.

aw1875 commented 2 years ago

The request for the code you just provided is for retrieving the captcha information. This will return the basic information needed to solve the captcha such as the image being looked for as well as an array of the images. The request you send in your first message was for verifying your answers and getting the token used to solve the captcha. The request in this comment (getting the captcha data) should be send as a json data type while the first code block you commented (checking your answers) should be a urlencoded form data type (which it looks like you already understand).

henzycuong1 commented 2 years ago

Yes, so I don't know what I did wrong when sending a verified answers request. I hope you can help me. I have tried a lot of times and a lot ways, but I couldn't. Thank you very much.

aw1875 commented 2 years ago

I'll be honest, the verification request is the most complex because there are so many things that can go wrong. I will try to take a deeper look at your code tomorrow when I have some free time but unfortunately today I don't really have the time. If you want to share me with more of your code so I can try and walk through it all that would be appreciated.

henzycuong1 commented 2 years ago

Obviously, how can I send my code to you ? Twitter, Email or Telegram ? Thank you for helping me.

aw1875 commented 2 years ago

I'd also suggest trying to get it working with something like RestSharp to make sure that it's nothing related to formatting your requests. If you're able to get it all working properly with something like that then you can narrow down your issue which will make this much easier.

aw1875 commented 2 years ago

You can email me your code if you'd like: wolfy@soxada.com

henzycuong1 commented 2 years ago

Thank you very much. I'll send my code to you after I trying use RestSharp on tomorrow.

henzycuong1 commented 2 years ago

I sent a email to you. Thank you very much.

henzycuong1 commented 2 years ago

Hi, I'm again. I tried using your code to send a verified answers request to a test server, and this's what I received

{
  "job_mode": "image_label_binary",
  "answers": {
    "df97d697-91cf-4f17-af78-4ff72b1e3768": "false",
    "36362073-89b1-49a4-a307-6b30b8bc2aa3": "false",
    "efcafa33-04cf-46c4-b62e-375834554ddd": "false",
    "0319ec40-65d7-4b0c-8252-30ad05a89b20": "false",
    "474644dc-d1d5-45ed-823d-7948a57d6f21": "false",
    "36bc93bd-c73d-4871-b1ce-4e8d9cbce791": "false",
    "3d7ab243-b35c-4f4a-bbde-20d8a6b3c99e": "false",
    "d335ff5d-7b5b-41a5-94c2-ede7efff07f2": "false",
    "d18d72b5-89c4-43ee-a372-3701e967c889": "false"
  },
  "serverdomain": "democaptcha.com",
  "sitekey": "51829642-2cda-4b09-896c-594f89d700cc",
  "motionData": "{\"st\":1642737843251,\"dct\":1642737843251}",
  "n": "f3a7ea7c809e6d39651a56dd84751a6d54cc71df284406bb1091cdf86edbe1f37c324dd67f01466ee3c20b633a201dd4049b447d9d6fda203b81f84874b6ff01e9e61240e90192ee68050dbf35310574baba68514c0cd1a57ea7da7fbf91c00fbac2f5461d0b0abcd3c9c5a7b487a3a68bc84aba9a4a8b3e7a830278255815bf99245c2e9847753add807b6b9a1c526f959ec368c9e3c1b92151a04e9eb4ef60126a529aa1e6a14fdb083fa2920381d6858eafd4e6a9206812e8ff3712a8c4db7fbd69aa4a6d1b71c3313d8c0c6a3be6db6822db6514c9102ba27ed7dc2266e8156f09ba55e86e937eb2abe1a48d9559ff1f394b7f7f79086761f15f67018eec539e4cf3dd52c72629d9f152c31e1ccb76af2c216528ef9ef9f8a05ece390f54edd0c4efa9eb574737b90d63ac81ef4aca48be7bdd897772e00dc6fe5ac16caa36998564026d80b2ea8cd9d0661f94445666f6daaeb30df43f474745655af6bd1680358787ef0c607c3ef435a63a54b32f3e79b89d0c0603db9a3637da9dfa9ca33ce7b00f216ecab4fc1a3fda7b91765c875c7c7538ddbcd6e1b8d2f3791795e54c56c718600936bcb72eaefe3e5ef0faeab1080e9a7abc192cf8d08f6028264366a6e6f252bc85444eb559920957b677834b04f64bff4979fc961d1e03a781edd65ab63f12a513d9132f535851efada1c9989bd0473053f55d0eabf1040e0e5e8331cabfa431b28b1af493c19a1e22daf6f63e94bd467f26402a9c80cd4cd98d687889e4b917b294eb7db6c1e723ab17c2fcc65d3973a1377af631d256d06d5e31d9791887c0b1964b50d250b7ec5498a6ac720f5e9a0b67eee467dde1be8a3b7c3ba9349b5bab32935d5268f21860ac5c2e6bb62c067ad645bb811541c4e1d524303612a9bebb40536490df5890e9ffb2a5a57e42e562773b1719127d4c26bbf53afee24979b867ea308f1414f3a69057fa553f10635d73b84de70044aa937394615f4eec80fe6a836a089e68195711e32ec6626583f5a1d9941e61504e7b619d138d25619377182597e8392738ba6bdbcad4ecd19af5b778aa5d24371f761037bd15cea8e178a22c503c08bcf60f06b2c3a23689b334a100b07f6cc61fdf90b56addb0c0da8b0b7b5e1ddd349d5ffdd0e9687c55ec6f9f08be91eb252c9546a156e281b7f029c8ef18ab07633e0582265e6b89db78570ec8ed69ca0791061abe003e5b79d1e1b8f67ea87f8d75fc9a721fe2e40bcbb048fba6ffa46263b2978a535a63fa6da1525aa118c0e6701ef8b0635306157fc643a3bb4ec3f3abe061802bdd5668331da7b31ccb2a11f2d00779f46a085b7f6ed0baf790924a3ae18f7d4668ada8faa4fb0284cf97a1c4d98e41c30aed3a0725b0c057834dc20125ee5dcfae6188c04bbe92b4ab30f5f46bda9fcacb837aabb1a091afd03cecacbfb3c90e037de32a2d48e0b9657276cfca0b0ebf9349bcf3324b94eb33011a65cfae90fe836816aac009a295ea0a52f77e3fe891e966d9452ba6726167a6feea13be0341f7de78e344aa797b71e43c1e21d5c1f2094c2fef6e5c9849570d7664734cc17a7844378ed2fbf63af6d0692ae2bfd2c0dba64ae98a5eef8f3bb1a0178e85185f555b526edb3d59fc8151215713149cfb90d206a0652a8e7cd3a8299deabedd4c408b0d38bf476d25763a66885d6240114817e0968435637b7db32211e8a19fce15dbc9298bda3d6de9f49f0c14f5500e1d06cb2f682c8ecd5e30f513015058d7a076cb3b97fda864618fbff02aa1b4b363fca936f591f4c855de9b75c97110e12d93ce5c4c5c13aec32ad910acb2b501098b4d2c4d0e49cfd42c98ca164a7d066e44f75936de3db1d86d783d4a626c178a2de1e70891c084a12ea7dd0f507c5ff2f65b4ca8fe4d1838e11aa1f7b0d43964217c54531e10c4996304922a90119570df8e4ac8a4ae5ab333332529d09fda4aa769838904524eb8ef3f4490994c3188331d9589ebef8717c2a82b15fb22c225cbc8df4b771f319b8ff37a53613ba50235967a178abbefb3f5517cc9069d74f4ea0b37c6ff2943801cf05a51beb302d4f8fbde1a30ed1fc50373801442b3cf414258264efed7e9935494ffdd71407dca358f42de9c5171fdc8511c6ef54f36e032668b74773fc0f14ca1dfd36fcb6628d1894f6b796a342e4dbcb1224862b1975cdb878fd4b200",
  "v": "c8428640",
  "c": "{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJmUVFabWNDOTRXdkF4RlFtQkMralZod0E2bXhoOGZYdTl5bUpwNi9lZXorb0dQUVc5TDBLdEZMdjZMSzlkZ0xJODFFOUZWT0RhcktWa0ZUSXY5RG9IZnB5SkROdUpYUmR1QVZvK1RZRVlkb09oa1hUYStEeHY0R2Q1M3pCMnhCc2VEMWY1NGk5V3pOUjAzdndZeUs1ZGxzRFpHMnBieFZSeGozZVk1MSsxbHZnU0N6Rkk3bG5neDUra2c9PVJMTlg1bHQrQURkclp0YzEiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvYzg0Mjg2NDAiLCJlIjoxNjQyNzM4MTEwfQ.BomGfkwvuYFHISSFKJ8tPjCZMtZjJ_y_Sp-v1H_IkW4\"}"
}

After that, I changed my code and this's what I received.

{
  "job_mode": "image_label_binary",
  "answers": {
    "e1011ed0-ec7e-4239-b688-6b7369f1edb7": "false",
    "23d681d7-901f-46ac-9018-b9d4aa5ea27d": "true",
    "9c3f9e20-3600-4735-a37d-31433bb44bed": "false",
    "0ce24bc9-4d48-4e33-a34b-b9e7e17377ce": "true",
    "87012c47-ab4d-46fd-a774-cb04858ffc3b": "false",
    "c25769bc-8bb6-4f07-ab0d-1f569b649b19": "false",
    "b38a7c6a-95a1-4924-a11f-24cde39b2fbe": "false",
    "0d2344b6-cdc3-424e-a2b3-790e1bc98b5a": "false",
    "cad926c2-1f62-4288-b80b-559da7365f74": "false"
  },
  "serverdomain": "democaptcha.com",
  "sitekey": "51829642-2cda-4b09-896c-594f89d700cc",
  "motionData": "{\"st\":1642737649466,\"dct\":1642737649466}",
  "n": "c311010a443c699ae7fdf052121a86596577bb3708ff910ddb923b6b94da0d809a79d8756de0a9997ece9bb3a2aa5349510d9797fdcb9805e998e0f4dbe360e60678017ca62ede80aad3aa99d4a6813d96746e26c880ddedbfd9511a7940adaef0b9bb1c6d4a5cb99aaf7924fa782fd6ca3091c1e9f6949aa8e44d8986a6f531a2a8274cc22a7597d05ad8db8424414efcfa7116170880d2a4c61ae140554232eb2fa3a21ca487e4bcb31252fd95c83052009a65f54d682c50e763710577a8c4a6f9a3f9773e26fa712237e3f6efc0f9564f0570270955d4ccf7d20583052a8b29a5b50ebeb98b3767be0848c86c8c153e6b50ae39361b754fceda9d801fe127ade5714eb9366754657f0c49c15ac849a4ecc52f5638ada58c905efe9749812c08ed9e9d17629f1e20fd2c79f131ddd0c4bd4b2275bd86a9133435e34b16bf2e70018dacf06a8041178e0e6fd1407c0881fd2705f482c8acf12b109a3a6901b43ae12e031036b01d5ba6d90394da2cd67605d1a729ab2d73e0b7cb86ac0e14a5677ff8c8b00d82794842424d67621c15424e9b7eaad8169bf8a7ace60d82379ad3b63ad056a909d31bd712c2f0faf7aa25bf3d500b924fa03a92329db9c10d1fd90a5d1069bb18fb3f9b9747b74c2ed9167ca1eb238f1a59cda7724abfaf7972cec36528fca195e5339075b9026ebab89ab6bcc93e8197ef1e0e4e39b0f7a48d5b338f0f8ffe18581eba3e4bcc4719d5f5834bdab4ed4fa1b60399c5d45f4d4ae38a0404cb06d6134d052ff46f1e77c1eadce78b18b7f4db900065b3579f6b93fcbad5a989719c316eacbd3ffb4a7d00f6f0d1a28abf6b0a847bbaa093dff6e1da93f7ba7ae071ef67a049cfcfaa2d32c1bfffea0760acd1a0876412ab37a786f0dce835ad6addcc5803612fd743df0f205ee6ae97feb82e875a7dd9fc7062ea64bb1c21976134932058f5c64655e8069ec26d777e1c695ce71c3a650088dea7d3eb4daa4c88ebb3aec288351c130a82d40647a9a347e835313593fb79ed5752da7436f125a7e10ca8e9acceae84ea61857c6a6f8e93963460b8f64775f484acd40eb8c22596cd3d7effd61f5378feba6cb56fe3e5710e0a930b047ab8bd86dfc0b031cdb755b10236abb0367823afafdd8dd2be80abc7c4b039ce777431ebad2ad471edbd915148bf82acd02feaf3a92b64f12dbfae9c6d39f721b798863bf179db8cd40551f01cda4c8e0a8d51852a8428480894da9b29bf081ff9d60b8985ec223ed414ab72fbc43498e7a996bbcb23c7979dc96074b4f39aeaed2f07796fcab1e81f949f72fa9d72706229059b6da7afd76a1eb2a47cadb0be1436ad97c1390d0bdd61788d10d5ee74337842a739a750b933c00657dee82c02a0066a5c843128191fa4dfeb438f3046400f12631e72c71effe0d7cf62f75a108137c1ec85c1936d7d308a415b6b89cfb31f81c708f098f8ea6942de77eeadc9fba4509c8818c1bc0927e0431ba4193340c8201785c9c1d78c26c7f749c77477f65b55f2fa17f34166e821d7756b077d534ced383a94dfa8af3dc578a373e1bdfc47f245a4584219f39333fe53c32fdb141c192f72e6a64fd39bf9a5de5a032af52fe814caefd6a7a79c4241002a1a8bbb3493575fde1874a590f53dfd8b27300a154889f0b9dab03ed1fc8eccc7b50fee97defa9790d92eeb6c5542e553aaf2835281ca6d741d1ad4b66a579aed493a10a406289612b09ed22f26612957f4615f890244804aa274ac39e24f9985eae91dcbeada8e25ee6d80ea0df9a20a41d90b79f727a2a54b0d674abecf2b4835f808c5a3c41cc2ce8f260508a4f45ac6d7d6ece32f8609fa81d5172c7799cb6740dee9af62a09ab258d0928d6c66297135dacf76463ead024b6dbe61b0f6e72a0d82f9286497c93b549024f2aa37d79d290c2b458f3e7bb4d22602a1f51c00b8b1c159596a066f4bedb484ae867e9de4ae4913c07bd24552c44b550deacdfdbf1e5742d5de6e7eca3ad11cc09306af036d8ef822947fe46a9889862ae0c285e5aa874d368f0814afc709046270a5529650e1866b5c64e19c02cec37b88aadbe786a538ea453464b12b19aec5048880c198478f86cdf2846c6bfdf009517a8683f2de278de40335e14469557574b0a93ac6da4a516de2a02355d17c4aed6ba1753898780a31f0605054955a00",
  "v": "c8428640",
  "c": "{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJpV09WbkJGZnpCVFJYRjd6YTVMYXdEaTNiYnM5dUVjZm9SeVRPUU5pZWtiQXBONnRsZ0E1TnZKWEtxdkt3bHV4WDg5bmZaOGRCT3l0ZDJrNi9yUngzRVEveXBkSURzSEs4TE0xTm5FcVVsNEtmNUJvZ0ZLV2xUL1VHelVQdmhZVmxyZ2d2UmkxUHBGM2haYXFIYTA2WGVrdURmNXRjMHIvMStWZFMwK0h6Sk1idU5hVlJvZEJEUzZycXc9PUpjM2pZTUFJNnl4a1h2UFciLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvYzg0Mjg2NDAiLCJlIjoxNjQyNzM3ODg5fQ.Am7wiON4sE605WfyxapKG9BVOHyKYTfVi5ADCAHJkwg\"}"
}

You can see, nothing difference. But, at the sending host, RestSharp used my ipv6 and "request-promise-native" module on Nodejs used my ipv4. Do you think it's different?

henzycuong1 commented 2 years ago

Not the solution. I still received 403 status code and a response is

{"success":false,"error-codes":["invalid-data"]}
aw1875 commented 2 years ago

Alright thats progress. A 403 status code just means either your answers are wrong or your data is formatted incorrectly. Clearly this case is the data is not formatted correctly. From the looks of it you're missing information in your motion data. You also need to include "mm" or mouse movements. The mouse movements contain three parts. An X coordinate, a Y coordinate, and a timestamp. The "mm" section should be an array of these that looks something like this:

[
    { x: 100, y: 100, timestamp: 1640158937890 },
    { x: 126.70079722115054, y: 106.31184259284494, timestamp: 1640158939620 },
    { x: 151.74738386288035, y: 112.34993715686089, timestamp: 1640158939565 },
    { x: 175.33112687647585, y: 118.45478710608484, timestamp: 1640158939763 },
    { x: 197.6433932132232, y: 124.96689585455373, timestamp: 1640158939408 }
]

For me to accomplish this within this module I make a fork of ghost-cursor.

This step is super important and can't be skipped as hCaptcha does check for this within the request. If it's missing you will receive a 403 like the one you received.

I'm sure something like this can easily be created in C# as you really just need to generate multiple <x,y> coordinates from one point to another and associate each with a timestamp.

henzycuong1 commented 2 years ago

Actually, I included "mm" on the request and then I got 403 status. After that, I used your code to send a request to a test server. I checked your data didn't include "mm", I thought that was the difference and did like that. But I still got 403. In addition, I checked on my browser and the "motionData" section looks like this:

{
    "v": "7f84904",
    "job_mode": "image_label_binary",
    "answers": {
        "613da0c0-aac8-4ace-875a-ecaa77effaeb": "false",
        "bb3f278e-5e92-46c2-bd24-8e86a005e63f": "false",
        "204bf158-02d8-4576-85eb-b407f2c9d7dc": "false",
        "3515926f-ebde-4581-a618-9c7432266991": "false",
        "7713eb2c-70b6-4a99-96b6-5e6f2a255844": "false",
        "a9a2a153-fbdc-47fe-b09f-4525e88bffb3": "true",
        "459dbfdd-6236-44c8-a11a-f526a5ebc5c5": "true",
        "75f1592b-e318-48ba-b6ac-8cd6e2d091ae": "false",
        "5a6547fb-cf16-465f-923c-7e2ec508cd6f": "true"
    },
    "serverdomain": "democaptcha.com",
    "sitekey": "51829642-2cda-4b09-896c-594f89d700cc",
    "motionData": "{\"st\":1642821677443,\"dct\":1642821677443,\"mm\":[[46,588,1642821677999],[60,569,1642821678017],[73,549,1642821678034],[84,528,1642821678051],[95,510,1642821678067],[105,493,1642821678083],[120,475,1642821678099],[134,460,1642821678115],[144,450,1642821678132],[150,446,1642821678153],[151,447,1642821678359],[150,447,1642821678376],[150,447,1642821678397],[153,441,1642821678413],[159,432,1642821678429],[163,423,1642821678445],[165,414,1642821678462],[167,406,1642821678480],[168,400,1642821678496],[170,395,1642821678512],[172,390,1642821678528],[174,385,1642821678549],[178,383,1642821678567],[182,381,1642821678586],[185,380,1642821678602],[187,380,1642821678640],[191,382,1642821678658],[197,384,1642821678674],[199,385,1642821678808],[195,385,1642821678824],[195,384,1642821678845],[197,381,1642821678862],[197,378,1642821678892],[199,377,1642821678913],[201,374,1642821678929],[202,372,1642821678946],[205,370,1642821678965],[207,368,1642821678981],[214,367,1642821678999],[222,365,1642821679016],[230,363,1642821679032],[237,361,1642821679048],[247,359,1642821679065],[256,357,1642821679081],[265,356,1642821679097],[272,356,1642821679116],[274,356,1642821679139],[274,358,1642821679163],[274,360,1642821679181],[273,361,1642821679200],[273,362,1642821679222],[273,363,1642821679247],[273,365,1642821679274],[273,366,1642821679292],[272,278,1642821679576],[272,279,1642821679615],[272,281,1642821679636],[274,283,1642821679661],[275,285,1642821679681],[276,286,1642821679700],[277,287,1642821679724],[278,287,1642821679751],[280,288,1642821679779],[282,289,1642821679802],[284,289,1642821679818],[286,290,1642821679837],[289,291,1642821679862],[290,291,1642821679878],[292,291,1642821679916],[293,291,1642821679939],[294,290,1642821679963],[294,289,1642821679981],[295,289,1642821679997],[296,289,1642821680025],[297,289,1642821680077],[297,287,1642821680095],[299,286,1642821680121],[300,284,1642821680145],[300,282,1642821680176],[301,281,1642821680193],[301,280,1642821680210],[301,278,1642821680233],[302,276,1642821680273],[302,274,1642821680295],[302,273,1642821680325],[302,274,1642821680455],[302,276,1642821680475],[301,278,1642821680495],[299,278,1642821680658],[296,278,1642821680676],[294,277,1642821680711],[292,277,1642821680735],[290,277,1642821680751],[289,277,1642821680806],[288,277,1642821680981],[287,277,1642821680997],[285,276,1642821681014],[280,275,1642821681031],[275,273,1642821681048],[270,270,1642821681064],[264,267,1642821681081],[257,263,1642821681097],[250,260,1642821681113],[244,255,1642821681129],[238,251,1642821681146],[234,246,1642821681162],[231,241,1642821681182],[229,237,1642821681200],[228,233,1642821681218],[226,230,1642821681235],[226,227,1642821681252],[226,225,1642821681276],[226,226,1642821681968],[226,227,1642821681997],[227,227,1642821682016],[229,230,1642821682033],[233,234,1642821682050],[239,240,1642821682067],[247,248,1642821682083],[259,258,1642821682099],[274,270,1642821682115],[290,283,1642821682132],[303,294,1642821682148],[314,304,1642821682164],[321,312,1642821682180],[323,317,1642821682199],[325,319,1642821682281],[325,320,1642821682302],[325,323,1642821682320],[325,331,1642821682337],[325,340,1642821682353],[325,351,1642821682369],[324,363,1642821682385],[324,376,1642821682401],[324,389,1642821682418],[324,400,1642821682435],[324,409,1642821682451],[324,414,1642821682468],[324,416,1642821682492],[324,416,1642821682551],[324,417,1642821682627],[324,418,1642821682645],[323,420,1642821682670],[322,422,1642821682686],[320,424,1642821682702],[319,427,1642821682720],[316,429,1642821682740],[315,430,1642821682757],[314,430,1642821682778],[312,430,1642821682795],[308,430,1642821682811],[300,429,1642821682827],[291,428,1642821682843],[279,426,1642821682859],[261,425,1642821682875],[237,424,1642821682891],[213,424,1642821682907],[188,425,1642821682923],[166,427,1642821682939],[145,429,1642821682955],[123,431,1642821682971],[105,433,1642821682987],[92,434,1642821683003],[86,436,1642821683022],[86,436,1642821683613],[86,435,1642821683812],[91,433,1642821683830],[95,432,1642821683852],[98,431,1642821683890],[99,431,1642821683910],[101,431,1642821683929],[103,432,1642821683948],[107,435,1642821683966],[113,439,1642821683982],[121,450,1642821683998],[131,460,1642821684015],[142,476,1642821684031],[153,490,1642821684048],[163,502,1642821684064],[174,512,1642821684080],[188,525,1642821684096],[199,533,1642821684112],[209,539,1642821684129],[217,540,1642821684146],[223,541,1642821684163],[229,542,1642821684181],[236,543,1642821684199],[243,543,1642821684216],[251,542,1642821684232],[263,541,1642821684248],[274,541,1642821684265],[287,541,1642821684282],[298,543,1642821684298],[307,544,1642821684315],[312,545,1642821684331],[313,546,1642821684353],[313,548,1642821684378],[313,550,1642821684400],[313,553,1642821684422],[315,557,1642821684438],[319,562,1642821684454],[323,568,1642821684470],[327,571,1642821684487],[328,572,1642821684621]],\"mm-mp\":5.3018414731785395,\"md\":[[325,319,1642821682234],[324,410,1642821682460],[86,436,1642821683559],[328,572,1642821684534]],\"md-mp\":766.6666666666666,\"mu\":[[325,323,1642821682320],[324,416,1642821682545],[86,436,1642821683669],[328,572,1642821684622]],\"mu-mp\":767.3333333333334,\"topLevel\":{\"inv\":false,\"st\":1642821672558,\"sc\":{\"availWidth\":1920,\"availHeight\":1040,\"width\":1920,\"height\":1080,\"colorDepth\":24,\"pixelDepth\":24,\"availLeft\":0,\"availTop\":0},\"nv\":{\"vendorSub\":\"\",\"productSub\":\"20030107\",\"vendor\":\"Google Inc.\",\"maxTouchPoints\":0,\"userActivation\":{},\"doNotTrack\":null,\"geolocation\":{},\"connection\":{},\"webkitTemporaryStorage\":{},\"webkitPersistentStorage\":{},\"hardwareConcurrency\":12,\"cookieEnabled\":true,\"appCodeName\":\"Mozilla\",\"appName\":\"Netscape\",\"appVersion\":\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36\",\"platform\":\"Win32\",\"product\":\"Gecko\",\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36\",\"language\":\"en\",\"languages\":[\"en\",\"en-US\",\"vi\"],\"onLine\":true,\"webdriver\":false,\"pdfViewerEnabled\":true,\"scheduling\":{},\"ink\":{},\"mediaCapabilities\":{},\"mediaSession\":{},\"permissions\":{},\"plugins\":[\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\"]},\"dr\":\"http://democaptcha.com/\",\"exec\":false,\"wn\":[[1920,969,1,1642821672568],[1920,721,1,1642821674126],[1920,720,1,1642821675977],[1920,718,1,1642821675995],[1920,706,1,1642821676016],[1920,693,1,1642821676077],[1920,634,1,1642821676099],[1920,612,1,1642821676124],[1920,595,1,1642821676148],[1920,545,1,1642821676172],[1920,526,1,1642821676192],[1920,518,1,1642821676213],[1920,511,1,1642821676231],[1920,509,1,1642821676248]],\"wn-mp\":262.85714285714283,\"xy\":[[0,0,1,1642821672568],[0,91,1,1642821677472],[0,90,1,1642821679279],[0,85,1,1642821679300],[0,76,1,1642821679321],[0,63,1,1642821679342],[0,47,1,1642821679362],[0,31,1,1642821679383],[0,17,1,1642821679404],[0,7,1,1642821679425],[0,2,1,1642821679446],[0,1,1,1642821683946],[0,6,1,1642821683967],[0,15,1,1642821683988],[0,28,1,1642821684009],[0,44,1,1642821684030],[0,61,1,1642821684050],[0,75,1,1642821684071],[0,85,1,1642821684092],[0,91,1,1642821684113]],\"xy-mp\":210.16363636363639,\"mm\":[[766,458,1642821672575],[766,466,1642821672591],[766,474,1642821672612],[818,474,1642821676342],[783,453,1642821676358],[752,433,1642821676374],[728,414,1642821676390],[711,396,1642821676406],[699,382,1642821676422],[692,371,1642821676438],[689,368,1642821676808],[689,375,1642821676824],[691,384,1642821676841],[695,396,1642821676857],[699,410,1642821676873],[702,427,1642821676889],[702,446,1642821676905],[704,468,1642821676921],[733,599,1642821677998]],\"mm-mp\":27.810256410256418},\"v\":1}",
    "n": "2b8f7acf64b3e923a2c8269e6cadf87c637666882fe8422df0c43cbd2e569bb7c1889cbe1eaf4a844ba9497b66c2f2812790ba41d2b3f43808da08acdeaf9fb85116483b92d55411df399ff0b57aff03143c4cf8a7d339a476eef2279e623789a9a5d9df43b22a4744876d29113b01de812e0fb4f258b25eb9dcae87ed5f6fc9bf82da3a736c76f24563ab7e8ade4664caf17fd45e63e9dc8624397b1456c358c67b78372e7e33cb93caf9ccb1a6724cea5583a2927232387a355ac73dff6605e8a59321dbddb410cbcf560993068a46370eb5caa82ddfebc1a755ea6f535262cbeadfe286ced432f4508c348bb0448d8a2b051ee071ea30ebdd2bba084bab6f6266e375c2dccea8e6b55b2ecbda2cc3067a6cd4a1ed8354fa04a8f806f23494a99eddd3fb2fbf48329e1e3a89899e94ff310a7b741f61cda61e585fb8ddc0091256da3694ddffee9ab60a5a8f1e4f74ffc36cff991bce9b66cc18ebaa48b035fabaadae163f7ac0b937c6420de7ed27b4c1343c479170f704f9a9d8525f2200b5f955ea35933c7f336320f6febebf9ff7376a4c8381f51f86c27c6d32ab825bf95a5ddcbd7150a5bfeb37c3387509cacceb1dc9cf6c4b21032edd8a8d220a2e10191116be99f68b3d7f16459fea8986255a5b3a42e133404a42a611762e1c5f649d8ad2b60c578f4954a4ec493009e84fb3c9c8a87198d4912322493d639503eeadf8cdf9bd21a527f90afcd21d3c97249cbcbf33f705b53a936bc73b8091d54b61a47d77292bd20a3e1ba5460cfe37e72c34b893592e468131a7c6d76e3fd89f9f75d84eb2d289db69d259be98ce671f0aa530fbdcf4c8b0c3132e9a3d1ef98a80af96a6e344cd925e99cca406c222984388a8b7ff4615703bce48c288940211551a979ceaa8c8e3c96f023b77f467fc3d8f69e86d18f75f7d86baed421ed1d5ca03d4fb0f0f2545931933c322cd159b49ca989c79874087221cbce8f405242a905f3fbcfe64da797ac1df3d48e854c9a57eecee89974e60291e907abf35684995a255e5811f0d3606eb9bf1f8c6ee26c76660856d20bb5a3c829314d9f0ae856bd49100670e07fab591c40c5043135f404db5b3598dfc48196840b19dee6d52a690acef8951c72d6ad90a65fd05e6e92cc6996ce87dfef860ab973d1ff975cdc2f12899edec15e5a6095689ffd4d5b902e525b68e2dca7f8d9a58a4f6a2cc6719f2bd8c079f96d0c72186473f986d4fddc08f9728727408ff8efa3577b4a46d7fe4a736e14998618d04ddbb22ce969773199e0b8734ab866ab8d261eaffe8d8db53fbd4094d8b5b1e4e1f6eef4ff2c5509115018aa9c65b852d9f26c3efb1f88cab57e41397655abea6e5967e4b245de77cf7d6ebe3635df6a894d86c65ad350901e4974dccecb1073a2d9dfc188ccc4a343d784f99b1f8373310368f1dcd298e29ed437cd70aaf91c0dc472d137132f5ea216b0fff007d2bd2bfeaf88337ba3c97947aeb472cdc3668f56fb3f8342a7f2651a49b937361d90bbcf4eebc5a3f38ab1b32cdc09b84de349a4b6d74288dd1bc7d9b9021fd93610bf9666e5e9d17b5079d1363b88e03fd5fcb72810f917633f1210905620ab78cde56e1b5a35f421c9d318b515c3946fb04f1b9a32779185fe4f477c53880618a6cf7ee452b6641b09a08ec5d40c3928247f58a98982726a4a30088f9dafba9a39aaaaf4a039838ed1dd13133fa14ce92f3a6fa022dd7dddae5f53dcefd1bab75865ca31575e74c82cee15346a99a16ca6ca8956d830ea1dfa2643633ec74cd187e6debf2844c2583b71b7d54518fb8bb08a93a3c81b00f03bba62bf8b72457a79d615879320029a06f64a534e6e535130dfa680bad4e8614d95ceca08f6c051940e5a57196cc7000e451f6a6f1403e87604939cf73a91eab089b42215da2eea647d8f08839b2c3b5e30dd3d5b9368bc429272925451b47110ff30f0e66d13455f35f956a9b240db51fcee0ce361b177aa00021ef49c245a517c46fcc293b82838a61ec803f7946b0730121e58808a1d6e3430d2a95b61c69c0e7a08c2001f52500bc8ca97e4e59c9345295fec35c2bc49ed450fd3fe0ba00ff805b976c8cc3fae3a6a1984d6a17e12067826212b52728bc21198d76bfec205db6b5176a9480dd42675bfacb6a5c947bf8aaa544c2b09f15b145f2c01bbd03521ccf0c38aa77ec45885d8764dc187061597a268be75463c3e5eea14505dd4b3f8a3334bfae2851d62b2ebdd9d65e4a90a6f892040e553a7d91eace5d0d962412f7a2b329b81b33dbb0df10356f2ed3c036001fc54021036d28a03c70a85020f48e00398ee16355758ff235199c00",
    "c": "{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJIWUM3YTYrbCtPZHRjTDZaVE1wNXpKMDRTVTZ0OE9mc2RiYU42VjFNUmRkcFdVTmtTdzRYbzhKdU91YTBPMFVNd1RQRTljZTh0WGxsSWZoOW9wUEo5RUVDMUFpSmhzWTBQQUlGMzBGbXZYWmlWV2J0QWF6aWpQU1V1MUNaaGxpTmJyTHhMQTRYSjBGWEE4QVdNQ0tmWXp0RnJxaFVZVmgxT2dkSXFTUU8wTzlWUlFpVGszc1BMeVNSVGc9PWZ1RTlFQ29FemppVjlveWYiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvOGVmZWU1ZmIiLCJlIjoxNjQyODIxOTE4fQ.Ajvpk0qhO3TrYyVsSLCtkK-P4V3gOn1ew9Rycturf6Q\"}"
}

And on your code, just like

{
  "job_mode": "image_label_binary",
  "answers": {
    "df97d697-91cf-4f17-af78-4ff72b1e3768": "false",
    "36362073-89b1-49a4-a307-6b30b8bc2aa3": "false",
    "efcafa33-04cf-46c4-b62e-375834554ddd": "false",
    "0319ec40-65d7-4b0c-8252-30ad05a89b20": "false",
    "474644dc-d1d5-45ed-823d-7948a57d6f21": "false",
    "36bc93bd-c73d-4871-b1ce-4e8d9cbce791": "false",
    "3d7ab243-b35c-4f4a-bbde-20d8a6b3c99e": "false",
    "d335ff5d-7b5b-41a5-94c2-ede7efff07f2": "false",
    "d18d72b5-89c4-43ee-a372-3701e967c889": "false"
  },
  "serverdomain": "democaptcha.com",
  "sitekey": "51829642-2cda-4b09-896c-594f89d700cc",
  "motionData": "{\"st\":1642737843251,\"dct\":1642737843251}",
  "n": "f3a7ea7c809e6d39651a56dd84751a6d54cc71df284406bb1091cdf86edbe1f37c324dd67f01466ee3c20b633a201dd4049b447d9d6fda203b81f84874b6ff01e9e61240e90192ee68050dbf35310574baba68514c0cd1a57ea7da7fbf91c00fbac2f5461d0b0abcd3c9c5a7b487a3a68bc84aba9a4a8b3e7a830278255815bf99245c2e9847753add807b6b9a1c526f959ec368c9e3c1b92151a04e9eb4ef60126a529aa1e6a14fdb083fa2920381d6858eafd4e6a9206812e8ff3712a8c4db7fbd69aa4a6d1b71c3313d8c0c6a3be6db6822db6514c9102ba27ed7dc2266e8156f09ba55e86e937eb2abe1a48d9559ff1f394b7f7f79086761f15f67018eec539e4cf3dd52c72629d9f152c31e1ccb76af2c216528ef9ef9f8a05ece390f54edd0c4efa9eb574737b90d63ac81ef4aca48be7bdd897772e00dc6fe5ac16caa36998564026d80b2ea8cd9d0661f94445666f6daaeb30df43f474745655af6bd1680358787ef0c607c3ef435a63a54b32f3e79b89d0c0603db9a3637da9dfa9ca33ce7b00f216ecab4fc1a3fda7b91765c875c7c7538ddbcd6e1b8d2f3791795e54c56c718600936bcb72eaefe3e5ef0faeab1080e9a7abc192cf8d08f6028264366a6e6f252bc85444eb559920957b677834b04f64bff4979fc961d1e03a781edd65ab63f12a513d9132f535851efada1c9989bd0473053f55d0eabf1040e0e5e8331cabfa431b28b1af493c19a1e22daf6f63e94bd467f26402a9c80cd4cd98d687889e4b917b294eb7db6c1e723ab17c2fcc65d3973a1377af631d256d06d5e31d9791887c0b1964b50d250b7ec5498a6ac720f5e9a0b67eee467dde1be8a3b7c3ba9349b5bab32935d5268f21860ac5c2e6bb62c067ad645bb811541c4e1d524303612a9bebb40536490df5890e9ffb2a5a57e42e562773b1719127d4c26bbf53afee24979b867ea308f1414f3a69057fa553f10635d73b84de70044aa937394615f4eec80fe6a836a089e68195711e32ec6626583f5a1d9941e61504e7b619d138d25619377182597e8392738ba6bdbcad4ecd19af5b778aa5d24371f761037bd15cea8e178a22c503c08bcf60f06b2c3a23689b334a100b07f6cc61fdf90b56addb0c0da8b0b7b5e1ddd349d5ffdd0e9687c55ec6f9f08be91eb252c9546a156e281b7f029c8ef18ab07633e0582265e6b89db78570ec8ed69ca0791061abe003e5b79d1e1b8f67ea87f8d75fc9a721fe2e40bcbb048fba6ffa46263b2978a535a63fa6da1525aa118c0e6701ef8b0635306157fc643a3bb4ec3f3abe061802bdd5668331da7b31ccb2a11f2d00779f46a085b7f6ed0baf790924a3ae18f7d4668ada8faa4fb0284cf97a1c4d98e41c30aed3a0725b0c057834dc20125ee5dcfae6188c04bbe92b4ab30f5f46bda9fcacb837aabb1a091afd03cecacbfb3c90e037de32a2d48e0b9657276cfca0b0ebf9349bcf3324b94eb33011a65cfae90fe836816aac009a295ea0a52f77e3fe891e966d9452ba6726167a6feea13be0341f7de78e344aa797b71e43c1e21d5c1f2094c2fef6e5c9849570d7664734cc17a7844378ed2fbf63af6d0692ae2bfd2c0dba64ae98a5eef8f3bb1a0178e85185f555b526edb3d59fc8151215713149cfb90d206a0652a8e7cd3a8299deabedd4c408b0d38bf476d25763a66885d6240114817e0968435637b7db32211e8a19fce15dbc9298bda3d6de9f49f0c14f5500e1d06cb2f682c8ecd5e30f513015058d7a076cb3b97fda864618fbff02aa1b4b363fca936f591f4c855de9b75c97110e12d93ce5c4c5c13aec32ad910acb2b501098b4d2c4d0e49cfd42c98ca164a7d066e44f75936de3db1d86d783d4a626c178a2de1e70891c084a12ea7dd0f507c5ff2f65b4ca8fe4d1838e11aa1f7b0d43964217c54531e10c4996304922a90119570df8e4ac8a4ae5ab333332529d09fda4aa769838904524eb8ef3f4490994c3188331d9589ebef8717c2a82b15fb22c225cbc8df4b771f319b8ff37a53613ba50235967a178abbefb3f5517cc9069d74f4ea0b37c6ff2943801cf05a51beb302d4f8fbde1a30ed1fc50373801442b3cf414258264efed7e9935494ffdd71407dca358f42de9c5171fdc8511c6ef54f36e032668b74773fc0f14ca1dfd36fcb6628d1894f6b796a342e4dbcb1224862b1975cdb878fd4b200",
  "v": "c8428640",
  "c": "{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJmUVFabWNDOTRXdkF4RlFtQkMralZod0E2bXhoOGZYdTl5bUpwNi9lZXorb0dQUVc5TDBLdEZMdjZMSzlkZ0xJODFFOUZWT0RhcktWa0ZUSXY5RG9IZnB5SkROdUpYUmR1QVZvK1RZRVlkb09oa1hUYStEeHY0R2Q1M3pCMnhCc2VEMWY1NGk5V3pOUjAzdndZeUs1ZGxzRFpHMnBieFZSeGozZVk1MSsxbHZnU0N6Rkk3bG5neDUra2c9PVJMTlg1bHQrQURkclp0YzEiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvYzg0Mjg2NDAiLCJlIjoxNjQyNzM4MTEwfQ.BomGfkwvuYFHISSFKJ8tPjCZMtZjJ_y_Sp-v1H_IkW4\"}"
}

But it's working. I don't know why. What's different? Excepting the ip address of a request.

aw1875 commented 2 years ago
{
    "v": "7f84904",
    "job_mode": "image_label_binary",
    "answers": {
        "613da0c0-aac8-4ace-875a-ecaa77effaeb": "false",
        "bb3f278e-5e92-46c2-bd24-8e86a005e63f": "false",
        "204bf158-02d8-4576-85eb-b407f2c9d7dc": "false",
        "3515926f-ebde-4581-a618-9c7432266991": "false",
        "7713eb2c-70b6-4a99-96b6-5e6f2a255844": "false",
        "a9a2a153-fbdc-47fe-b09f-4525e88bffb3": "true",
        "459dbfdd-6236-44c8-a11a-f526a5ebc5c5": "true",
        "75f1592b-e318-48ba-b6ac-8cd6e2d091ae": "false",
        "5a6547fb-cf16-465f-923c-7e2ec508cd6f": "true"
    },
    "serverdomain": "democaptcha.com",
    "sitekey": "51829642-2cda-4b09-896c-594f89d700cc",
    "motionData": "{\"st\":1642821677443,\"dct\":1642821677443,\"mm\":[[46,588,1642821677999],[60,569,1642821678017],[73,549,1642821678034],[84,528,1642821678051],[95,510,1642821678067],[105,493,1642821678083],[120,475,1642821678099],[134,460,1642821678115],[144,450,1642821678132],[150,446,1642821678153],[151,447,1642821678359],[150,447,1642821678376],[150,447,1642821678397],[153,441,1642821678413],[159,432,1642821678429],[163,423,1642821678445],[165,414,1642821678462],[167,406,1642821678480],[168,400,1642821678496],[170,395,1642821678512],[172,390,1642821678528],[174,385,1642821678549],[178,383,1642821678567],[182,381,1642821678586],[185,380,1642821678602],[187,380,1642821678640],[191,382,1642821678658],[197,384,1642821678674],[199,385,1642821678808],[195,385,1642821678824],[195,384,1642821678845],[197,381,1642821678862],[197,378,1642821678892],[199,377,1642821678913],[201,374,1642821678929],[202,372,1642821678946],[205,370,1642821678965],[207,368,1642821678981],[214,367,1642821678999],[222,365,1642821679016],[230,363,1642821679032],[237,361,1642821679048],[247,359,1642821679065],[256,357,1642821679081],[265,356,1642821679097],[272,356,1642821679116],[274,356,1642821679139],[274,358,1642821679163],[274,360,1642821679181],[273,361,1642821679200],[273,362,1642821679222],[273,363,1642821679247],[273,365,1642821679274],[273,366,1642821679292],[272,278,1642821679576],[272,279,1642821679615],[272,281,1642821679636],[274,283,1642821679661],[275,285,1642821679681],[276,286,1642821679700],[277,287,1642821679724],[278,287,1642821679751],[280,288,1642821679779],[282,289,1642821679802],[284,289,1642821679818],[286,290,1642821679837],[289,291,1642821679862],[290,291,1642821679878],[292,291,1642821679916],[293,291,1642821679939],[294,290,1642821679963],[294,289,1642821679981],[295,289,1642821679997],[296,289,1642821680025],[297,289,1642821680077],[297,287,1642821680095],[299,286,1642821680121],[300,284,1642821680145],[300,282,1642821680176],[301,281,1642821680193],[301,280,1642821680210],[301,278,1642821680233],[302,276,1642821680273],[302,274,1642821680295],[302,273,1642821680325],[302,274,1642821680455],[302,276,1642821680475],[301,278,1642821680495],[299,278,1642821680658],[296,278,1642821680676],[294,277,1642821680711],[292,277,1642821680735],[290,277,1642821680751],[289,277,1642821680806],[288,277,1642821680981],[287,277,1642821680997],[285,276,1642821681014],[280,275,1642821681031],[275,273,1642821681048],[270,270,1642821681064],[264,267,1642821681081],[257,263,1642821681097],[250,260,1642821681113],[244,255,1642821681129],[238,251,1642821681146],[234,246,1642821681162],[231,241,1642821681182],[229,237,1642821681200],[228,233,1642821681218],[226,230,1642821681235],[226,227,1642821681252],[226,225,1642821681276],[226,226,1642821681968],[226,227,1642821681997],[227,227,1642821682016],[229,230,1642821682033],[233,234,1642821682050],[239,240,1642821682067],[247,248,1642821682083],[259,258,1642821682099],[274,270,1642821682115],[290,283,1642821682132],[303,294,1642821682148],[314,304,1642821682164],[321,312,1642821682180],[323,317,1642821682199],[325,319,1642821682281],[325,320,1642821682302],[325,323,1642821682320],[325,331,1642821682337],[325,340,1642821682353],[325,351,1642821682369],[324,363,1642821682385],[324,376,1642821682401],[324,389,1642821682418],[324,400,1642821682435],[324,409,1642821682451],[324,414,1642821682468],[324,416,1642821682492],[324,416,1642821682551],[324,417,1642821682627],[324,418,1642821682645],[323,420,1642821682670],[322,422,1642821682686],[320,424,1642821682702],[319,427,1642821682720],[316,429,1642821682740],[315,430,1642821682757],[314,430,1642821682778],[312,430,1642821682795],[308,430,1642821682811],[300,429,1642821682827],[291,428,1642821682843],[279,426,1642821682859],[261,425,1642821682875],[237,424,1642821682891],[213,424,1642821682907],[188,425,1642821682923],[166,427,1642821682939],[145,429,1642821682955],[123,431,1642821682971],[105,433,1642821682987],[92,434,1642821683003],[86,436,1642821683022],[86,436,1642821683613],[86,435,1642821683812],[91,433,1642821683830],[95,432,1642821683852],[98,431,1642821683890],[99,431,1642821683910],[101,431,1642821683929],[103,432,1642821683948],[107,435,1642821683966],[113,439,1642821683982],[121,450,1642821683998],[131,460,1642821684015],[142,476,1642821684031],[153,490,1642821684048],[163,502,1642821684064],[174,512,1642821684080],[188,525,1642821684096],[199,533,1642821684112],[209,539,1642821684129],[217,540,1642821684146],[223,541,1642821684163],[229,542,1642821684181],[236,543,1642821684199],[243,543,1642821684216],[251,542,1642821684232],[263,541,1642821684248],[274,541,1642821684265],[287,541,1642821684282],[298,543,1642821684298],[307,544,1642821684315],[312,545,1642821684331],[313,546,1642821684353],[313,548,1642821684378],[313,550,1642821684400],[313,553,1642821684422],[315,557,1642821684438],[319,562,1642821684454],[323,568,1642821684470],[327,571,1642821684487],[328,572,1642821684621]],\"mm-mp\":5.3018414731785395,\"md\":[[325,319,1642821682234],[324,410,1642821682460],[86,436,1642821683559],[328,572,1642821684534]],\"md-mp\":766.6666666666666,\"mu\":[[325,323,1642821682320],[324,416,1642821682545],[86,436,1642821683669],[328,572,1642821684622]],\"mu-mp\":767.3333333333334,\"topLevel\":{\"inv\":false,\"st\":1642821672558,\"sc\":{\"availWidth\":1920,\"availHeight\":1040,\"width\":1920,\"height\":1080,\"colorDepth\":24,\"pixelDepth\":24,\"availLeft\":0,\"availTop\":0},\"nv\":{\"vendorSub\":\"\",\"productSub\":\"20030107\",\"vendor\":\"Google Inc.\",\"maxTouchPoints\":0,\"userActivation\":{},\"doNotTrack\":null,\"geolocation\":{},\"connection\":{},\"webkitTemporaryStorage\":{},\"webkitPersistentStorage\":{},\"hardwareConcurrency\":12,\"cookieEnabled\":true,\"appCodeName\":\"Mozilla\",\"appName\":\"Netscape\",\"appVersion\":\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36\",\"platform\":\"Win32\",\"product\":\"Gecko\",\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36\",\"language\":\"en\",\"languages\":[\"en\",\"en-US\",\"vi\"],\"onLine\":true,\"webdriver\":false,\"pdfViewerEnabled\":true,\"scheduling\":{},\"ink\":{},\"mediaCapabilities\":{},\"mediaSession\":{},\"permissions\":{},\"plugins\":[\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\",\"internal-pdf-viewer\"]},\"dr\":\"http://democaptcha.com/\",\"exec\":false,\"wn\":[[1920,969,1,1642821672568],[1920,721,1,1642821674126],[1920,720,1,1642821675977],[1920,718,1,1642821675995],[1920,706,1,1642821676016],[1920,693,1,1642821676077],[1920,634,1,1642821676099],[1920,612,1,1642821676124],[1920,595,1,1642821676148],[1920,545,1,1642821676172],[1920,526,1,1642821676192],[1920,518,1,1642821676213],[1920,511,1,1642821676231],[1920,509,1,1642821676248]],\"wn-mp\":262.85714285714283,\"xy\":[[0,0,1,1642821672568],[0,91,1,1642821677472],[0,90,1,1642821679279],[0,85,1,1642821679300],[0,76,1,1642821679321],[0,63,1,1642821679342],[0,47,1,1642821679362],[0,31,1,1642821679383],[0,17,1,1642821679404],[0,7,1,1642821679425],[0,2,1,1642821679446],[0,1,1,1642821683946],[0,6,1,1642821683967],[0,15,1,1642821683988],[0,28,1,1642821684009],[0,44,1,1642821684030],[0,61,1,1642821684050],[0,75,1,1642821684071],[0,85,1,1642821684092],[0,91,1,1642821684113]],\"xy-mp\":210.16363636363639,\"mm\":[[766,458,1642821672575],[766,466,1642821672591],[766,474,1642821672612],[818,474,1642821676342],[783,453,1642821676358],[752,433,1642821676374],[728,414,1642821676390],[711,396,1642821676406],[699,382,1642821676422],[692,371,1642821676438],[689,368,1642821676808],[689,375,1642821676824],[691,384,1642821676841],[695,396,1642821676857],[699,410,1642821676873],[702,427,1642821676889],[702,446,1642821676905],[704,468,1642821676921],[733,599,1642821677998]],\"mm-mp\":27.810256410256418},\"v\":1}",
    "n": "2b8f7acf64b3e923a2c8269e6cadf87c637666882fe8422df0c43cbd2e569bb7c1889cbe1eaf4a844ba9497b66c2f2812790ba41d2b3f43808da08acdeaf9fb85116483b92d55411df399ff0b57aff03143c4cf8a7d339a476eef2279e623789a9a5d9df43b22a4744876d29113b01de812e0fb4f258b25eb9dcae87ed5f6fc9bf82da3a736c76f24563ab7e8ade4664caf17fd45e63e9dc8624397b1456c358c67b78372e7e33cb93caf9ccb1a6724cea5583a2927232387a355ac73dff6605e8a59321dbddb410cbcf560993068a46370eb5caa82ddfebc1a755ea6f535262cbeadfe286ced432f4508c348bb0448d8a2b051ee071ea30ebdd2bba084bab6f6266e375c2dccea8e6b55b2ecbda2cc3067a6cd4a1ed8354fa04a8f806f23494a99eddd3fb2fbf48329e1e3a89899e94ff310a7b741f61cda61e585fb8ddc0091256da3694ddffee9ab60a5a8f1e4f74ffc36cff991bce9b66cc18ebaa48b035fabaadae163f7ac0b937c6420de7ed27b4c1343c479170f704f9a9d8525f2200b5f955ea35933c7f336320f6febebf9ff7376a4c8381f51f86c27c6d32ab825bf95a5ddcbd7150a5bfeb37c3387509cacceb1dc9cf6c4b21032edd8a8d220a2e10191116be99f68b3d7f16459fea8986255a5b3a42e133404a42a611762e1c5f649d8ad2b60c578f4954a4ec493009e84fb3c9c8a87198d4912322493d639503eeadf8cdf9bd21a527f90afcd21d3c97249cbcbf33f705b53a936bc73b8091d54b61a47d77292bd20a3e1ba5460cfe37e72c34b893592e468131a7c6d76e3fd89f9f75d84eb2d289db69d259be98ce671f0aa530fbdcf4c8b0c3132e9a3d1ef98a80af96a6e344cd925e99cca406c222984388a8b7ff4615703bce48c288940211551a979ceaa8c8e3c96f023b77f467fc3d8f69e86d18f75f7d86baed421ed1d5ca03d4fb0f0f2545931933c322cd159b49ca989c79874087221cbce8f405242a905f3fbcfe64da797ac1df3d48e854c9a57eecee89974e60291e907abf35684995a255e5811f0d3606eb9bf1f8c6ee26c76660856d20bb5a3c829314d9f0ae856bd49100670e07fab591c40c5043135f404db5b3598dfc48196840b19dee6d52a690acef8951c72d6ad90a65fd05e6e92cc6996ce87dfef860ab973d1ff975cdc2f12899edec15e5a6095689ffd4d5b902e525b68e2dca7f8d9a58a4f6a2cc6719f2bd8c079f96d0c72186473f986d4fddc08f9728727408ff8efa3577b4a46d7fe4a736e14998618d04ddbb22ce969773199e0b8734ab866ab8d261eaffe8d8db53fbd4094d8b5b1e4e1f6eef4ff2c5509115018aa9c65b852d9f26c3efb1f88cab57e41397655abea6e5967e4b245de77cf7d6ebe3635df6a894d86c65ad350901e4974dccecb1073a2d9dfc188ccc4a343d784f99b1f8373310368f1dcd298e29ed437cd70aaf91c0dc472d137132f5ea216b0fff007d2bd2bfeaf88337ba3c97947aeb472cdc3668f56fb3f8342a7f2651a49b937361d90bbcf4eebc5a3f38ab1b32cdc09b84de349a4b6d74288dd1bc7d9b9021fd93610bf9666e5e9d17b5079d1363b88e03fd5fcb72810f917633f1210905620ab78cde56e1b5a35f421c9d318b515c3946fb04f1b9a32779185fe4f477c53880618a6cf7ee452b6641b09a08ec5d40c3928247f58a98982726a4a30088f9dafba9a39aaaaf4a039838ed1dd13133fa14ce92f3a6fa022dd7dddae5f53dcefd1bab75865ca31575e74c82cee15346a99a16ca6ca8956d830ea1dfa2643633ec74cd187e6debf2844c2583b71b7d54518fb8bb08a93a3c81b00f03bba62bf8b72457a79d615879320029a06f64a534e6e535130dfa680bad4e8614d95ceca08f6c051940e5a57196cc7000e451f6a6f1403e87604939cf73a91eab089b42215da2eea647d8f08839b2c3b5e30dd3d5b9368bc429272925451b47110ff30f0e66d13455f35f956a9b240db51fcee0ce361b177aa00021ef49c245a517c46fcc293b82838a61ec803f7946b0730121e58808a1d6e3430d2a95b61c69c0e7a08c2001f52500bc8ca97e4e59c9345295fec35c2bc49ed450fd3fe0ba00ff805b976c8cc3fae3a6a1984d6a17e12067826212b52728bc21198d76bfec205db6b5176a9480dd42675bfacb6a5c947bf8aaa544c2b09f15b145f2c01bbd03521ccf0c38aa77ec45885d8764dc187061597a268be75463c3e5eea14505dd4b3f8a3334bfae2851d62b2ebdd9d65e4a90a6f892040e553a7d91eace5d0d962412f7a2b329b81b33dbb0df10356f2ed3c036001fc54021036d28a03c70a85020f48e00398ee16355758ff235199c00",
    "c": "{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJIWUM3YTYrbCtPZHRjTDZaVE1wNXpKMDRTVTZ0OE9mc2RiYU42VjFNUmRkcFdVTmtTdzRYbzhKdU91YTBPMFVNd1RQRTljZTh0WGxsSWZoOW9wUEo5RUVDMUFpSmhzWTBQQUlGMzBGbXZYWmlWV2J0QWF6aWpQU1V1MUNaaGxpTmJyTHhMQTRYSjBGWEE4QVdNQ0tmWXp0RnJxaFVZVmgxT2dkSXFTUU8wTzlWUlFpVGszc1BMeVNSVGc9PWZ1RTlFQ29FemppVjlveWYiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvOGVmZWU1ZmIiLCJlIjoxNjQyODIxOTE4fQ.Ajvpk0qhO3TrYyVsSLCtkK-P4V3gOn1ew9Rycturf6Q\"}"
}

You're missing the version or "v" in your request in the code you just sent.

henzycuong1 commented 2 years ago

So far, I embedded your code in my project and running nodejs by c#. It took me a whole week but I could not fix it.

In additional, I tried on python and It just worked one time, after that I got ban. And it also used my ipv6 to send a verified answers request.

Thank you very much.