吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2866|回复: 5
收起左侧

[其他转载] 最后的绿洲api-鸡肋

[复制链接]
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'))


捕获.PNG

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

难忘倾心 发表于 2020-4-17 08:33
大哥牛逼
舟不渡我 发表于 2020-4-17 08:53
感谢楼主
另外感觉这个游戏再不封封外挂   就凉了 直接让神仙杀疯了
13836533398 发表于 2020-4-17 20:48
waxi_waxi 发表于 2020-4-18 10:17
二脸懵逼
黑化琉璃 发表于 2020-4-18 10:26
感谢楼主
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-17 04:48

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表