GameMale HashCode获取以及自动签到思路
本帖最后由 Draveyar 于 2023-10-1 03:21 编辑今天在发展GameMale API时发现了一个事,就是很多操作都需要HashCode(在调用的时候 参数名一般为FormHash)
HashCode能做的事情有很多 例如 签到 购买物品 (HashCode会变换,因为Cookie的不同而不停变换,类似Edge的AuthCookie是A Chrome的是B 则会出现两个浏览器使用不同HashCode的问题 每次登录也会修改HashCode 因为会替换你原有的Cookie 确保Cookie不变即可保证HashCode的可用性 感谢【补签卡滞销】电脑/ios端自动签到小技巧 - 服务中心 - GameMale最新游戏MOD资源交流论坛!解释了HashCode变化的原因)
例如签到 即可将HashCode套入下方的url来进行 (当然 你也需要先登录 留下你的Cookie 具体名为:TVj0_2132_auth)
https://www.gamemale.com/k_misig ... at=button&formhash={HashCode}&inajax=1&ajaxtarget=midaben_sign
类似于我HashCode为07cc5ccc
就是
https://www.gamemale.com/k_misig ... target=midaben_sign
当你已经签到后 服务器返回
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBEAAACJCAYAAAB6gaBWAAAgAElEQVR4Ae3dSY5ktRaA4VzD21HlblBu4g2fSjlgxgoYVk1YARtggsSIKY3ooYBCQnCf3Bz7+PjY1xEZEZkZ+ZeU3M7N8Wdf3xvOhpv3799vs68///xzC19//PEHXxgwBhgDjAHGAGOAMcAYYAwwBhgDjAHGAGPgBY+Bm9kCQlg4ePfu3fbLL79sP//88/bTTz9tP/zww/b999/zhQFjgDHAGGAMMAYYA4wBxgBjgDHAGGAMMAZe2BhwFxHCTx78/vvvceEgLBr89ttv219//bX9+++/G/8QQAABBBBAAAEEEEAAAQQQQOBlCnSLCGEBISwahJ82CD99wD8EEEAAAQQQQAABBBBAAAEEEEAgCDSLCLKAEH764O+//0YIAQQQQAABBBBAAAEEEEAAAQQQKALNIkL4Gwg//vhj/NsHJQU7CCCAAAIIIIAAAggggAACCCCAgP5JBPkphPBrDPxDAAEEEEAAAQQQQAABBBBAAAEErED5SYSwiBD+7wu//vqrTcMxAggggAACCCCAAA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AAAIIIIAAAggggAACIsAigkiwRQABBBBAAAEEEEAAAQQQQACBqQCLCFMeLiKAAAIIIIAAAggggAACCCCAgAiwiCASbBFAAAEEEEAAAQQQQAABBBBAYCrAIsKUh4sIIIAAAggggAACCCCAAAIIICACLCKIBFsEEEAAAQQQQAABBBBAAAEEEJgKsIgw5eEiAggggAACCCCAAAIIIIAAAgiIAIsIIsEWAQQQQAABBBBAAAEEEEAAAQSmAiwiTHm4iAACCCCAAAIIIIAAAggggAACIsAigkiwRQABBBBAAAEEEEAAAQQQQACBqQCLCFMeLiKAAAIIIIAAAggggAACCCCAgAiwiCASbBFAAAEEEEAAAQQQQAABBBBAYCrAIsKUh4sIIIAAAggggAACCCCAAAIIICACLCKIBFsEEEAAAQQQQAABBBBAAAEEEJgKsIgw5eEiAggggAACCCCAAAIIIIAAAgiIAIsIIsEWAQQQQAABBBBAAAEEEEAAAQSmAiwiTHm4iAACCCCAAAIIIIAAAggggAACIsAigkiwRQABBBBAAAEEEEAAAQQQQACBqQCLCFMeLiKAAAIIIIAAAggggAACCCCAgAj8Hz5g23pON8RCAAAAAElFTkSuQmCC
反之 你正常签到如何返回 那么服务器就如何返回
购买的话相对而言麻烦一点
url为:https://www.gamemale.com/home.ph ... nfloat=yes&inajax=1
Body 所需包含
formhash
handlekey
operation
mid
magicnum
operatesubmit
正常来说 买一个提升卡 所传递的为
{HashCode}
magics
buy
bump
{所要购买的数量}
yes
https://img1.imgtp.com/2023/10/01/5IPQf3RG.png
购买物品返回
https://img1.imgtp.com/2023/10/01/HHWkU6GH.png
总而言之 HashCode能做很多事情,接下来我将教大家如何获取HashCode 其实很简单 在登录到GameMale之后 回到主页(首页) 获取html代码 搜索 <a href="member.php?mod=logging&action=logout&formhash= 后面8位就是你hashcode了 (为什么不怕HashCode重复呢?因为GameMale的所有操作都建立在你HashCode和Auth Cookie匹配的情况下)
https://img1.imgtp.com/2023/10/01/9uc8SQyj.png
原理都会了吧?那么接下来根据上方原理,自己努力做个自动签到吧 : )
大致流程为
保持登录状态 每到12:00 便刷新页面回到主页 获取最新HashCode 套用模板签到 很简单对吧 : )
等,,,我看会了,没学会,可以做一个油猴脚本什么的吗:loveliness: 妈呀对程序一无所知,可以期待楼主出一个自动签到的脚本吗 自动签到挺方便的,一大段代码看得有点头疼{:4_89:} 看起来这功能确实很方便。就是看了教程这串代码也觉得很复杂那种。所以还是只会手动签到。 很高端,很厉害,插件大佬摩多摩多 自动签到的话,利用电脑自带的任务计划程序也能实现,芥末沙拉大佬早前有发帖介绍过,
【补签卡滞销】电脑/ios端自动签到小技巧:https://www.gamemale.com/thread-106434-1-1.html
不过购买物品这块倒是第一次了解,可以详细介绍一下~ 隔一段时间强制重新登录的时候hashcode才会变,一般来说用计划任务这种简单一点的方式就足够了 吼(´×ω×`)技术流的大佬欸(小白的崇拜.jpg)看样子是能抢补签卡的咩⊙▽⊙ 好专业,看不懂{:6_169:}但感觉很厉害的样子{:6_167:}好像依稀记得以前泥潭也有个自动签到的帖子 {:6_188:}膜拜技术大佬,这个调用api能开发新的小插件什么 看着有点复杂,不过自动签到很方便的说{:6_186:} 感谢科普,不是很了解编程,感觉好厉害,原来HashCode能起到这么多作用 感谢技术向科普,希望大佬们开发更多小技巧 使用计划任务自动签到确实利用的就是这个hashcode,不过隔一段时间会变化 感谢科普,以后签到更加得心应手了:$,希望能研发更多好物 感覺哪天有自動買勛章都不意外了-.- 我睡得比较早电脑是关的所以也没弄过自动签到,一直是手动签的 羡慕大佬,我们这些小白只能蹭蹭大佬的成果了!{:6_164:} 对大佬们来说很简单,对小白们来说看一眼就昏过去