AuthLite实现,ApiHash草稿,各种小改进
This commit is contained in:
43
HashEntertainment/All_API_Names.txt
Normal file
43
HashEntertainment/All_API_Names.txt
Normal file
@@ -0,0 +1,43 @@
|
||||
GetUserCardApi
|
||||
GetUserCharacterApi
|
||||
GetUserChargeApi
|
||||
GetUserCourseApi
|
||||
GetUserDataApi
|
||||
GetUserExtendApi
|
||||
GetUserFavoriteApi
|
||||
GetUserFriendSeasonRankingApi
|
||||
GetUserGhostApi
|
||||
GetUserItemApi
|
||||
GetGameChargeApi
|
||||
GetUserLoginBonusApi
|
||||
GetGameEventApi
|
||||
GetUserMapApi
|
||||
GetGameNgMusicIdApi
|
||||
GetUserMusicApi
|
||||
GetGameRankingApi
|
||||
GetGameSettingApi
|
||||
GetUserOptionApi
|
||||
GetUserPortraitApi
|
||||
GetGameTournamentInfoApi
|
||||
UserLogoutApi
|
||||
GetUserPreviewApi
|
||||
GetTransferFriendApi
|
||||
GetUserRatingApi
|
||||
GetUserActivityApi
|
||||
GetUserRecommendRateMusicApi
|
||||
GetUserRecommendSelectMusicApi
|
||||
GetUserRegionApi
|
||||
GetUserScoreRankingApi
|
||||
UploadUserPhotoApi
|
||||
UploadUserPlaylogApi
|
||||
UploadUserPortraitApi
|
||||
UpsertClientBookkeepingApi
|
||||
UpsertClientSettingApi
|
||||
UpsertClientTestmodeApi
|
||||
UpsertClientUploadApi
|
||||
UpsertUserAllApi
|
||||
UpsertUserChargelogApi
|
||||
UserLoginApi
|
||||
Ping
|
||||
GetUserFavoriteItemApi
|
||||
GetGameNgWordListApi
|
||||
28
HashEntertainment/GetMyHash.py
Normal file
28
HashEntertainment/GetMyHash.py
Normal file
@@ -0,0 +1,28 @@
|
||||
import os
|
||||
import re
|
||||
|
||||
pattern = re.compile(r'Maimai2Servlet/(.*?)MaimaiChn')
|
||||
|
||||
# 获取目录
|
||||
dir = 'C:/Users/remik1r3n/Workspace/maimaiDX-Api/HashEntertainment'
|
||||
|
||||
known_hashes = []
|
||||
|
||||
for filename in os.listdir(dir):
|
||||
# 只处理.txt文件
|
||||
if filename.endswith('.txt'):
|
||||
file_path = os.path.join(dir, filename)
|
||||
with open(file_path, 'r', encoding='utf-8') as file:
|
||||
content = file.read()
|
||||
# 搜索匹配的模式
|
||||
matches = pattern.findall(content)
|
||||
# 输出每个匹配中的不定内容
|
||||
for match in matches:
|
||||
known_hashes.append(match)
|
||||
|
||||
# 去重
|
||||
known_hashes = list(set(known_hashes))
|
||||
|
||||
# 输出
|
||||
for hash in known_hashes:
|
||||
print(hash)
|
||||
Reference in New Issue
Block a user