Блог пользователя MarkZuckerberg

Автор MarkZuckerberg, история, 4 года назад, По-английски

It feels as if everything that was once configured to work with Codeforces is broken/not working now, I used a python tool to download my submissions from cf, and it stopped working after last contest. I checked the logs, and i noticed that when it sends a get request to the CF Page (any), here is what it basically returns

<html><body>Redirecting... Please, wait.<script src="/aes.min.js" type="text/javascript"></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("e9ee4b03c1d0822987185d27bca23378"),b=toNumbers("188fadf2dbe0f353ef0fc2810d5b3e34705"),c=toNumbers("ab91e94fe4e94fe04a8a444a444ad50a");document.cookie="RCPC="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/";document.location.href="https://codeforces.me/?f0a24=1";</script></body></html>

This is probably one of the reason as well why people getting "csrf not found" or "login" error in cf tool as well as a lot of tools i once used have stopped working now.

Is this permanent or what's exactly happening?

  • Проголосовать: нравится
  • +13
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

I think it’s because of the new Protection CF has added. You can read about this issue here. https://codeforces.me/blog/entry/80070

I know some tools have been fixed by upgrading them to work with these changes.