Showing server password [PHP]

FromLondon

Honk Honk
TeamSpeak Developer
VIP
Joined
May 20, 2016
Messages
264
Reaction score
107
Points
136
Hello guys! Anyone know how to get and show server password with php ?
Which metods are using for encryption?
 

InVaDeR359

Active Member
Joined
May 29, 2017
Messages
160
Reaction score
121
Points
72
I don't think you can show the server password without actually writing the password in the php file.
 

EscuderoKevin

Well-Known Member
Joined
Jul 2, 2015
Messages
380
Reaction score
181
Points
130
Whiout serveradmin query password its impossible if u haave serveradmid password its easy...

PHP:
//Connection
$config = array(
    "address" => "localhost",
    "queryport" => "10011",
    "serveradmin" => "serveradmin",
    "password" => "qwerty",
    "port" => "9987",
    "nickname" => "CodexBOT"
);
 $ts3_VirtualServer = TeamSpeak3::factory("serverquery://{$config['serveradmin']}:{$config['password']}@{$config['address']}:{$config['queryport']}/?server_port={$config['port']}&nickname={$config['nickname']}");
 $serverpassword= $ts3_VirtualServer->virtualserver_password
 echo $serverpassword;
 

DifferentUser

Member
Joined
Feb 19, 2016
Messages
53
Reaction score
23
Points
58
You are aware that the ServerQuery Password you get there is encrypted?
 

FromLondon

Honk Honk
TeamSpeak Developer
VIP
Joined
May 20, 2016
Messages
264
Reaction score
107
Points
136
You are aware that the ServerQuery Password you get there is encrypted?
Yes, i know about that. I want decrypt him and show on control panel
But I do not know which methods are used to encrypt it
 

Supervisor

Administrator
Joined
Apr 27, 2015
Messages
1,863
Reaction score
2,550
Points
335
its a hash :D
hashes are used for a one-way encryption - its designed so you are NOT able to decrypt it easily :D
 

Najsr

Moderator
TeamSpeak Developer
Joined
Apr 23, 2016
Messages
483
Reaction score
249
Points
167
What about making a script that will change password on server and also it will change it on a web (SQL?).
 

FromLondon

Honk Honk
TeamSpeak Developer
VIP
Joined
May 20, 2016
Messages
264
Reaction score
107
Points
136
What about making a script that will change password on server and also it will change it on a web (SQL?).
And if for example the administrator decided to change the password, being directly on the server, and not from the web panel :)
 

Najsr

Moderator
TeamSpeak Developer
Joined
Apr 23, 2016
Messages
483
Reaction score
249
Points
167
Last edited:
Top