Hi all, i have been busy the last couple of days porting the API to purebasic. I have hit a brick wall and it is frustrating the hell out of me. The docs are not helping me much either. I am having problems authenticating my client with the server.
- Send a chr(6)
- Send “/login”+chr(0)
I get a response from the server “!done%=ret=” and the 32 character hash.
- Convert the 32 character hash to binary
- md5 chr(0)+password+binary hash
- hex the md5
- Send a chr(6)
- Send “/login”+chr(0)+“=name=admin,”+“=response=00”+hexed md5+chr(0)
The server sends “!done%=ret=” and the 32 character hash i got previously.
Thats as far as i get. I checked my hash conversion and i also Wiresharked api studio to compare. Both look the same.
I am stumped.