bsdayo / BingChat

.NET API wrapper, and an amazing interactive CLI for Microsoft's new AI-powered Bing Chat.
MIT License
120 stars 15 forks source link

CaptchaChallange without _U Cookie? #42

Open hswlab opened 11 months ago

hswlab commented 11 months ago

After all, it is possible to chat with Bing in other browsers and without logging in. I am trying to understand how to show Bing that you have solved a catcha when you are not logged in and there is no _U cookie. Does anyone know what cookies or headers are set when a captcha is solved?

neon-sunset commented 10 months ago

@hswlab It seems to be fingerprint+IP address based but there might be CF challenge token too? (or HCaptcha? my memory is bad, I haven't used BingChat in a while due to its poor quality of responses😢 ).

Perhaps it's better to drop support for unauthorized requests (people mostly utilize it for abusing the API, which is why we have captcha in the first place) and focus on stability to make sure there are as little issues as possible with authorized sessions instead?

hswlab commented 10 months ago

@neon-sunset In the meantime I have started to explore LLamaSharp. For CPUs with avx2 and with a relatively small model you can already chat very freely offline on the local pc. It is also possible to use it on older PC's, but it's not very fast. I still like the Bing solution because I can use it on my 10yers old notebook. But I have given up trying to use the "API" without _U Cookie^^'.