Jump to content
Korean Random
Sign in to follow this  
waidones

Как вызвать функцию создания куки во внутреннем браузере wot

Recommended Posts

Насколько я понял, функция _cookies_for_domain() класса CookieJar в файле cookielib собственно 

Интересует как я могу ее корректно вызвать, и можно ли вообще получить строчку с куки?

Share this post


Link to post

Short link
Share on other sites

учитывая количество всяких хешей, токенов, айдих в параметрах запуска cef при входе в магазин, я бы не исключал какие-то иные методы авторизации. или че ты там с печеньками собрался делать? )

 

Ну почти.

В каждом гете токен

 

2020-08-27 14:16:11.939: DEBUG: [DEBUG] (scripts/client/gui/shared/utils/requesters/RequestsController.py, 55): Send server request ('WgcgRequestsController', LogInCtx(token = 32190576, dbID = 642716, waitingID = , requestType = 1), <function _cbWrapper at 0x00000001198106D8>, None)
2020-08-27 14:16:14.979: DEBUG: [DEBUG] (scripts/client/gui/wgcg/states.py, 246): Response is received: (LogInCtx(token = 32190576, dbID = 642716, waitingID = , requestType = 1), _Response(code=0, txtStr='', data={u'access_token': u'HdwMeu2eiA33kYeXBPyyPIiUmnkFVN', u'valid_till': 1598562972, u'session': u'cb942d623fef40a28252c20b305dc167', u'expires_in': 36000}, extraCode=200, headers={'Content-Length': '144', 'SET-COOKIE': 'session=cb942d623fef40a28252c20b305dc167; HttpOnly; Path=/', 'Server': 'nginx', 'Connection': 'keep-alive', 'Date': 'Thu, 27 Aug 2020 11:16:12 GMT', 'Content-Type': 'application/json'}))
2020-08-27 14:21:21.083: DEBUG: [WebBrowser] requested GET https://webbrg.worldoftanks.ru/ru/promoscreens/tankman-day/?active_tab=all&access_token=HdwMeu2eiA33kYeXBPyyPIiUmnkFVN&spa_id=642716

 

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...