好像没什么人看,我也比较懒,就不写了,直接放干货吧
- 关于浏览器指纹的,大家自己看一下这个js文件吧,fingerprint2.js,小红书应该是做了些许改动,canvas和fonts的部分
- 关于id的加密,也没啥好说的,搜索sign,跟进去可以看到 sign + 'hasaki',再次跟进去可以看到md5加密的四个关键数字,1732584193/4023233417/2562383102/271733878
- 风控滑块部分,加密逻辑和以前一致,只不过每个加密参数的密码变了,已在代码中注明
verify_param = {
'dl': str(self.encrypt('2575232a', str(int(self.distance) / 400)), encoding='utf-8'),
'nm': str(self.encrypt('4ee2f32f', str(self.trace)), encoding='utf-8'),
'dy': str(self.encrypt('aee9ca04', str(self.times)), encoding='utf-8'),
'lx': str(self.encrypt('dec417a4', '400'), encoding='utf-8'),
'xy': str(self.encrypt('c179010f', '200'), encoding='utf-8'),
'vk': str(self.encrypt('2323fc45', '1'), encoding='utf-8'),
'ux': str(self.encrypt('8d1339ba', '0'), encoding='utf-8'),
'xp': str(self.encrypt('ff19d8d3', '-1'), encoding='utf-8'),
'aw': str(self.encrypt('013f32d6', 'default'), encoding='utf-8'),
'gi': str(self.encrypt('bc1b5ed3', 'web'), encoding='utf-8'),
'oe': str(self.encrypt('59bca469', 'zh-cn'), encoding='utf-8'),
'protocol': '147',
'sdkver': '1.1.3',
'act.os': 'web_pc',
'ostype': 'web',
'organization': 'eR46sBuqF0fdw7KWFLYa',
'callback': 'sm_{}'.format(int(time.time() * 1000)),
'rid': self.rid,
'rversion': '1.0.1'
}