identify server id

Celso

Well-Known Member
Joined
Oct 1, 2017
Messages
142
Reaction score
47
Points
119
Hello, is it possible to identify the ID of a server without having access to the query?

I already tried using TS3Hook but I could not find the server ID,
I'll leave an example of the information I want to know if I can find out without having the query.

Capturar.PNG
 

TheBeastMC

Active Member
Joined
Mar 3, 2016
Messages
83
Reaction score
55
Points
71
@Celso Do you want to get the unique identity of a teamspeak server your client is connecting/connected to?
 

TheBeastMC

Active Member
Joined
Mar 3, 2016
Messages
83
Reaction score
55
Points
71
You can calculate the server identity simply by base64 encoding the sha1 of the server's public key (omega).
I can give you an example if you want. Or I will make a script where you can enter the key to get the identity.
 

TheBeastMC

Active Member
Joined
Mar 3, 2016
Messages
83
Reaction score
55
Points
71
Here is an example:
You catch the initivexpand packet in the ts3hook:
[ IN] initivexpand alpha=Rb4dzJTL9+4dXw== beta=J479MtvK1/avwQ== omega=MEsDAgcAAgEgAiBKGOJE7PLbK5LigQonZHl9Qd7E8Ob4mB87nBsL4tbojwIgKmPM2LQ74Y7kVcsW4LwOVHo1Mgqfagsi+OMI6oV8uxI=
So the server's public key (omega) is "MEsDAgcAAgEgAiBKGOJE7PLbK5LigQonZHl9Qd7E8Ob4mB87nBsL4tbojwIgKmPM2LQ74Y7kVcsW4LwOVHo1Mgqfagsi+OMI6oV8uxI="
You base64 decode it and get the sha1 of the decoded bytes:
8ded34fb1063d65b4964ed6580cf21a7d93bb718 (<- this is hex)
And you base64 encode the sha1 (in bytes) again:
je00+xBj1ltJZO1lgM8hp9k7txg=

So this is the server's identity: je00+xBj1ltJZO1lgM8hp9k7txg=

If you want you can use the script on my site: https://www.ts-thebeast.net/ts3idtool.php
And if you want the script I can publish a command line and web version of it.
 

Celso

Well-Known Member
Joined
Oct 1, 2017
Messages
142
Reaction score
47
Points
119
Very good, is there any way to get more information with this conversion?
can you pass me the script, please take a look and see how it works.

Very good job! ;)
 

TheBeastMC

Active Member
Joined
Mar 3, 2016
Messages
83
Reaction score
55
Points
71
Please contact me on my ts if you want more info.
I can't post any code here:(.png
 
Top