好友
阅读权限10
听众
最后登录1970-1-1
|
wsds
发表于 2020-4-17 08:06
本帖最后由 wsds 于 2020-4-17 08:42 编辑
获取全部地图
POST https://backend.last-oasis.com/Api/Realm/GetMap HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQLwo-B-fyN1Xw8gzEI1dG_kxD3rZiYtiH9s8UM8MiNA8_Re4bwY_fW5iYN4CbU8NBVFiQ4MJ43AEEVqzXqhjL8bkGVzLT4W175NkOpeK1SK9JvMxieK-VXZ9DuqEsSAzgf1JJb20F3WLKUA-Cl8JNpBtm6O95K3vAfq6emfcbD5Og", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 2
body数据
`//08 60 固定的
部落信息
POST https://backend.last-oasis.com/Api/Clan/GetInformation HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQINkg5MCqYEKJHdexcoMBKeDVR1ZCtQp4MhDR_qVTlWNkQ0d6ibE3wN4LDCMKRbAA0eOmJozxRhDoqn_QqZMPd9DIyri6waBJTLoKqjpAgcJ2JtQKtyTThc8fVpyjweTkAWSI2f0LpqIL1z-SrnNJW3lP8Oe3PRO0WoDiLOvV61og", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 5
body
5//
创建部落
POST https://backend.last-oasis.com/Api/Clan/Create HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQJf7umAQyWx4mgNyPVaLHlJtMQAFe26Q7wi1FP_x0sujtGPLHCYj3gSw9IX4pLfsXcVy3qIXoix42cOM6g9qbArpmS0-LRuGVy44OQKHlcSH0jM8NqCtP_oMp7vDTUsOPTsq6gUliEoe9062P0hn3m8F2NIJ2aCYMIysmgW2hioyA", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 20
body
1ovepurple_123//1ove部落名字purple_1部落颜色
退出部落
POST https://backend.last-oasis.com/Api/Clan/RemoveMember HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQJf7umAQyWx4mgNyPVaLHlJtMQAFe26Q7wi1FP_x0sujtGPLHCYj3gSw9IX4pLfsXcVy3qIXoix42cOM6g9qbArpmS0-LRuGVy44OQKHlcSH0jM8NqCtP_oMp7vDTUsOPTsq6gUliEoe9062P0hn3m8F2NIJ2aCYMIysmgW2hioyA", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 5
body
Ѭ (//
部落招募
POST https://backend.last-oasis.com/Api/Clan/Invite HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQJf7umAQyWx4mgNyPVaLHlJtMQAFe26Q7wi1FP_x0sujtGPLHCYj3gSw9IX4pLfsXcVy3qIXoix42cOM6g9qbArpmS0-LRuGVy44OQKHlcSH0jM8NqCtP_oMp7vDTUsOPTsq6gUliEoe9062P0hn3m8F2NIJ2aCYMIysmgW2hioyA", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 5
body
//
取消招募
POST https://backend.last-oasis.com/Api/Clan/CancelInvite HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQJf7umAQyWx4mgNyPVaLHlJtMQAFe26Q7wi1FP_x0sujtGPLHCYj3gSw9IX4pLfsXcVy3qIXoix42cOM6g9qbArpmS0-LRuGVy44OQKHlcSH0jM8NqCtP_oMp7vDTUsOPTsq6gUliEoe9062P0hn3m8F2NIJ2aCYMIysmgW2hioyA", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 5
body
5//
交易站查询
POST https://backend.last-oasis.com/Api/Trade/GetOrders HTTP/1.1
Host: backend.last-oasis.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-protobuf
Accept: application/x-protobuf
X-Auth-Token: { "type" : "gameclient", "token" : "CfDJ8PfEjh2pIkJOg5su_EbzSQINkg5MCqYEKJHdexcoMBKeDVR1ZCtQp4MhDR_qVTlWNkQ0d6ibE3wN4LDCMKRbAA0eOmJozxRhDoqn_QqZMPd9DIyri6waBJTLoKqjpAgcJ2JtQKtyTThc8fVpyjweTkAWSI2f0LpqIL1z-SrnNJW3lP8Oe3PRO0WoDiLOvV61og", "characterId" : "84366929" }
User-Agent: Mist/++UE4+Release-4.23-CL-0 Windows/10.0.18363.1.256.64bit
Content-Length: 40
&{B9230FB0-3EA1-4642-8E91-919C62CF9C64}//交易站号
可以用protoc进行反序列化
[Python] 纯文本查看 复制代码 import subprocess
def decode(data):
process = subprocess.Popen([r'E:\\protoc\\protoc.exe', '--decode_raw'],
stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
output = None
error = None
try:
output, error = process.communicate(data)
except OSError:
pass
finally:
if process.poll() != 0:
process.wait()
return output
f = open(r"C:\Users\admin\Downloads\GetMap.bin", "rb")
data = f.read()
print ('data:/n',decode(data))
f.close()
在进服务器的时候,抓取udp包获取服务器在线人
wireshark
特征:udp contains C7:32:19:09:07:65:61:19
// 完美解析
python:
[Python] 纯文本查看 复制代码 index1 = binarr[ii].find('c732190907656119')+36
index2 = binarr[ii][index1:].find('0036')
name = binarr[ii][index1:][:index2]
if name[-2:] == '00':
print(binascii.a2b_hex(name[:-2]).decode('utf-16','replace'))
else:
print(binascii.a2b_hex(name).decode('utf-8','replace'))
|
-
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|