mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
2 lines
6.3 KiB
JavaScript
2 lines
6.3 KiB
JavaScript
import{_ as a,r,o as l,c,a as e,b as t,d as n,e as o}from"./app-D1Lm7veD.js";const d={},s=o('<h1 id="使用第三方工具获取有-stoken-的-cookie" tabindex="-1"><a class="header-anchor" href="#使用第三方工具获取有-stoken-的-cookie"><span>使用第三方工具获取有 Stoken 的 cookie</span></a></h1><div class="hint-container warning"><p class="hint-container-title">Примечание</p><ul><li>以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关</li><li>本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关</li></ul></div><h2 id="android" tabindex="-1"><a class="header-anchor" href="#android"><span>Android</span></a></h2><p>Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cookie</p>',4),p={class:"hint-container tip"},h=e("p",{class:"hint-container-title"},"GetToken 开源项目",-1),k={href:"https://github.com/HolographicHat/GetToken",target:"_blank",rel:"noopener noreferrer"},m=o('<ul><li>GetToken 项目的发布会包含两个 apk 文件,两者最终效果相同。根据你的设备情况选择适合你的版本即可 <ul><li><code>app-release.apk</code> 为一个 LSPosed 插件允许用户在官方米游社中使用 GetToken 功能</li><li>名称以<code>lspatched</code>结尾的 apk 文件是一个已包含 GetToken 功能的修改版米游社程序 <ul><li>你需要卸载官方版米游社以安装该版本的米游社</li></ul></li></ul></li><li>启用插件或安装修改版米游社后打开米游社,在底栏点击"我的",然后登录您的通行证</li><li>在右上角点击形如 🔑 形状的按钮</li><li>点击勾选 <code>Stoken</code> 选项</li><li>点击<code>复制登录信息</code></li><li>将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑</li><li>在<code>胡桃工具箱</code>中的账号登录位置,点击<code>手动输入</code></li><li>将之前获取到的 cookie 输入,此时即可完成登录</li></ul><h2 id="ios" tabindex="-1"><a class="header-anchor" href="#ios"><span>iOS</span></a></h2><p>iOS 用户可以在 App Store 下载抓包软件 Stream 来获取包含 Stoken 字段的 cookie</p>',3),u={href:"https://apps.apple.com/cn/app/stream/id1312141691",target:"_blank",rel:"noopener noreferrer"},g=o("<li>对域名 <code>api-takumi.mihoyo.com</code> 进行抓包分析</li><li>找到并复制带有 <code>Stoken</code> 的数据 <ul><li>形如<code>stuid=****;stoken=v2****;mid=****;</code></li></ul></li><li>将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑</li><li>在<code>胡桃工具箱</code>中的账号登录位置,点击<code>手动输入</code></li><li>将之前获取到的 cookie 输入,此时即可完成登录</li>",5);function S(f,_){const i=r("ExternalLinkIcon");return l(),c("div",null,[s,e("div",p,[h,e("ul",null,[e("li",null,[t("GitHub:"),e("a",k,[t("HolographicHat/GetToken"),n(i)])])])]),m,e("ul",null,[e("li",null,[t("从 App Store 下载 "),e("a",u,[t("Stream"),n(i)])]),g])])}const T=a(d,[["render",S],["__file","get-stoken-cookie-from-the-third-party.html.vue"]]),v=JSON.parse('{"path":"/ru/advanced/get-stoken-cookie-from-the-third-party.html","title":"使用第三方工具获取有 Stoken 的 cookie","lang":"ru-RU","frontmatter":{"category":["FAQ","第三方工具"],"icon":"iconfont icon-read","order":7,"comment":false,"description":"使用第三方工具获取有 Stoken 的 cookie Примечание 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关 Android Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cooki...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/advanced/get-stoken-cookie-from-the-third-party.html"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/advanced/get-stoken-cookie-from-the-third-party.html"}],["link",{"rel":"alternate","hreflang":"id-id","href":"https://hut.ao/id/advanced/get-stoken-cookie-from-the-third-party.html"}],["meta",{"property":"og:url","content":"https://hut.ao/ru/advanced/get-stoken-cookie-from-the-third-party.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"使用第三方工具获取有 Stoken 的 cookie"}],["meta",{"property":"og:description","content":"使用第三方工具获取有 Stoken 的 cookie Примечание 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关 Android Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cooki..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"ru-RU"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"id-ID"}],["meta",{"property":"og:updated_time","content":"2023-12-19T17:05:50.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-12-19T17:05:50.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用第三方工具获取有 Stoken 的 cookie\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-12-19T17:05:50.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"],["link",{"rel":"alternate","type":"application/rss+xml","href":"https://hut.ao/ru/rss.xml","title":"Snap Hutao RSS Feed"}]]},"headers":[{"level":2,"title":"Android","slug":"android","link":"#android","children":[]},{"level":2,"title":"iOS","slug":"ios","link":"#ios","children":[]}],"git":{"createdTime":1703005550000,"updatedTime":1703005550000,"contributors":[{"name":"QweRez","email":"xtoyougg@gmail.com","commits":1}]},"readingTime":{"minutes":1.62,"words":485},"filePathRelative":"ru/advanced/get-stoken-cookie-from-the-third-party.md","localizedDate":"19 декабря 2023 г.","autoDesc":true}');export{T as comp,v as data};
|