Bd-Ticket-Guard-Client-Data逆向

踩坑大王發表於2024-10-26
'Bd-Ticket-Guard-Client-Data':'eyJ0c19zaWduIjoidHMuMS43ODhkMTE1OTUwMTM1NDVhNjg5M2I0OGU3NTQ2NDk5NjZjNTMyYzBhZmMxMjRjMTUwNGQ1OTVjNDJiOWI1ZDk0YzRmYmU4N2QyMzE5Y2YwNTMxODYyNGNlZGExNDkxMWNhNDA2ZGVkYmViZWRkYjJlMzBmY2U4ZDRmYTAyNTc1ZCIsInJlcV9jb250ZW50IjoidGlja2V0LHBhdGgsdGltZXN0YW1wIiwicmVxX3NpZ24iOiJNRVFDSUdFbUh4K2svVFFJcWJ1NEZBQkpWditjTzF5SHhRbWN2K3B5QnpoeXlwZFlBaUJON3djQUM0TStwa2t3a1VmYkE1N3pZZDN4b205Y0NhbU51bkxXS1JYQXd3PT0iLCJ0aW1lc3RhbXAiOjE3Mjk5MzI3Nzh9',

client_data= 'eyJ0c19zaWduIjoidHMuMS43ODhkMTE1OTUwMTM1NDVhNjg5M2I0OGU3NTQ2NDk5NjZjNTMyYzBhZmMxMjRjMTUwNGQ1OTVjNDJiOWI1ZDk0YzRmYmU4N2QyMzE5Y2YwNTMxODYyNGNlZGExNDkxMWNhNDA2ZGVkYmViZWRkYjJlMzBmY2U4ZDRmYTAyNTc1ZCIsInJlcV9jb250ZW50IjoidGlja2V0LHBhdGgsdGltZXN0YW1wIiwicmVxX3NpZ24iOiJNRVFDSUdFbUh4K2svVFFJcWJ1NEZBQkpWditjTzF5SHhRbWN2K3B5QnpoeXlwZFlBaUJON3djQUM0TStwa2t3a1VmYkE1N3pZZDN4b205Y0NhbU51bkxXS1JYQXd3PT0iLCJ0aW1lc3RhbXAiOjE3Mjk5MzI3Nzh9'
client_data = base64.b64decode(client_data).decode('UTF-8')
base64解碼得到: {"ts_sign":"ts.1.788d11595013545a6893b48e754649966c532c0afc124c1504d595c42b9b5d94c4fbe87d2319cf05318624ceda14911ca406dedbebeddb2e30fce8d4fa02575d","req_content":"ticket,path,timestamp","req_sign":"MEQCIGEmHx+k/TQIqbu4FABJVv+cO1yHxQmcv+pyBzhyypdYAiBN7wcAC4M+pkkwkUfbA57zYd3xom9cCamNunLWKRXAww==","timestamp":1729932778}

繼續req_sign解碼