-
Notifications
You must be signed in to change notification settings - Fork 32
/
get_sess2.html
158 lines (149 loc) · 5.29 KB
/
get_sess2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html class="mdui-theme-light" lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>通过PandoraNext来获取Sensitive Id</title>
<meta
name="description"
content="批量快速查询OPENAI的余额,支持可视化展现已用比例、额度、已用量、未用量、是否GPT-4、是否GPT4-32K、是否绑卡、绑卡信息、组织信息、是否有效"
/>
<link rel="stylesheet" href="./static/css-1.css" type="text/css" />
<link rel="stylesheet" href="./static/mdui/mdui.css" />
<script src="./static/mdui/mdui.global.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.3/axios.min.js"
integrity="sha512-JWQFV6OCC2o2x8x46YrEeFEQtzoNV++r9im8O8stv91YwHNykzIS2TbvAlFdeH0GVlpnyd79W0ZGmffcRi++Bw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
mdui.setColorScheme("#0d2d44");
</script>
</head>
<body>
<style>
th,
td {
cursor: pointer; /* 添加鼠标指针样式 */
white-space: normal; /* 设置为normal使内容自动换行 */
word-wrap: break-word; /* 设置为break-word以确保长单词/链接被截断换行 */
max-width: 300px;
}
/* 复制按钮样式 */
.copy-button {
height: 36px;
cursor: pointer;
background-color: #4caf50;
color: white;
padding: 8px;
border: none;
border-radius: 4px;
margin: 8px 0;
margin-top: 20px;
margin-left: 20px;
}
</style>
<mdui-layout>
<mdui-layout-main>
<div class="mdui-main-container">
<div style="display: flex">
<h2 style="flex: 1">查询结果</h2>
<button class="copy-button" onclick="copySess()">复制sess</button>
<button class="copy-button" onclick="copyTable()">
复制全部内容
</button>
</div>
<div class="mdui-table">
<table id="result-table">
<thead>
<tr>
<th>序号</th>
<th>邮箱账户</th>
<th>手机号</th>
<th>Sensitive ID</th>
<th>Refresh Token</th>
<th>Access Token</th>
<th>Sensitive ID创建时间</th>
</tr>
</thead>
<tbody id="result-tbody" style="max-width: 100%">
<!-- 表格内容 -->
</tbody>
</table>
</div>
</div>
</mdui-layout-main>
<mdui-top-app-bar>
<mdui-button-icon
icon="menu"
close-on-overlay-click
id="toggle-button"
style="color: white"
></mdui-button-icon>
<mdui-top-app-bar-title style="text-align: center; color: white"
>通过PandoraNext来获取Sensitive Id</mdui-top-app-bar-title
>
</mdui-top-app-bar>
<mdui-navigation-drawer open class="left-drawer" close-on-overlay-click>
<div class="left-drawer-main">
<h3>输入 API KEY</h3>
<p>本站不保存 KEY 信息,查询后请自行保存</p>
<mdui-text-field
id="api-key-input"
placeholder="请输入账号密码,格式为'账号|密码|MFA验证码',多个请换行"
label="username|password|MFA"
rows="6"
></mdui-text-field>
<mdui-text-field
type="text"
id="custom-url-input"
placeholder="输入PandoraNext的API地址和前缀"
></mdui-text-field>
<div style="height: 2rem"></div>
<mdui-button
full-width
id="query-button"
icon="search"
onclick="sendRequest()"
>
查询
</mdui-button>
<!-- 下半部分 -->
<h4>页面列表</h4>
<mdui-menu style="width: 100%; margin-top: 20px">
<mdui-menu-item icon="search" href="index.html"
>查API信息</mdui-menu-item
>
<mdui-menu-item icon="vpn_key" href="get_sess.html"
>通过access token获取sess</mdui-menu-item
>
<mdui-menu-item icon="vpn_key" href="get_sess2.html"
>通过PandoraNext获取sess</mdui-menu-item
>
<mdui-menu-item icon="vpn_key" href="refresh_see.html"
>刷新Platform相关信息刷新sess</mdui-menu-item
>
<mdui-menu-item
icon="build"
href="https://woodchen.ink/1266.html"
target="_blank"
>手动获取Sensitive Id的方法</mdui-menu-item
>
</mdui-menu>
<div style="margin-top: 20px">
<mdui-chip elevated icon="code">
本网页由<a href="https://woodchen.ink" target="_blank">woodchen</a
>开源于<a
href="https://github.com/woodchen-ink/openai-billing-query"
target="_blank"
>Github</a
>
</mdui-chip>
</div>
</div>
</mdui-navigation-drawer>
</mdui-layout>
<script src="./static/getsess2.js"></script>
</body>
</html>