Vous êtes sur la page 1sur 7

Don't have your Server Admin Query password? Look here!

User Name Password Log in

20-09-2013

Help

Register

Products Products

Solutions Solutions

Company Company

Support

Sales

Forums

Downloads

Support SEARCH FORUMS Sales

Forums search... Downloads

Community Forums

Today's Posts Today's Posts

Member List Member List Server Support

Archive Archive Don't have your Server Admin Query password? Look here!

Community Forums Forum TeamSpeak 3 Technical Discussions

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 15 of 193

Page 1 of 13 1 2 3 11 ...

Last

Thread: Don't have your Server Admin Query password? Look here!
Thread Tools 26-12-2009, 17:53 Join Date: Location: Posts: Rate This Thread Display #1 Dec 2009 Pitt 101

Soljia
-= TeamSpeak Addict =-

Don't have your Server Admin Query password? Look here!


1. Manual Password Change [Easy] [Safe] [Requires Restart] a. Windows b. Linux 2. Manual Password Change [Intermediate] [Potentially Unsafe] [No Restart Required] a. Windows b. Linux 3. Automatic Password Change [Easy] [Potentially Unsafe] [No Restart Required] a. My Custom Application (Easy) 4. Password Generators a. Program (Windows Only) b. Web Based (All Systems) c. PHP Based (All Systems)

Special Thanks to Actium

1.A Manual Password Change - Windows


Things you should consider: [Easy] [Safe] [Requires Restart] Video: Watch Instructions 1. Go to your Teamspeak 3 server folder. 2. Create a shortcut of this file 3. Choose the one that fits your situation 4. Identify your server's executable Windows 32bit Code:
ts3server_win32.exe

Windows 64bit Code:


ts3server_win64.exe

5. Right click on the shortcut 6. Click (at bottom) properties 7. In the target box should be something similar to one of these two depending where you put your server folder Windows 32bit Code:
C:\Program Files\teamspeak3-server_win32\ts3server_win32.exe

Windows 64bit Code:


C:\Program Files\teamspeak3-server_win64\ts3server_win64.exe

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

1/7

Don't have your Server Admin Query password? Look here!

20-09-2013

8. Put this after the .exe Remember to include a space after .exe! Code:
serveradmin_password=passwordhere

9. It should look something like this. Windows 32bit Code:


C:\Program Files\teamspeak3-server_win32\ts3server_win32.exe serveradmin_password=password here

Windows 64bit Code:


C:\Program Files\teamspeak3-server_win64\ts3server_win64.exe serveradmin_password=password here

10. 11. 12. 13.

Notice there is a space between .exe and serveradmin Change the green highlighted text to what ever password you want Now shutdown your TS3 server, and launch it through this shortcut. You have changed your serveradmin password!

1.B Manual Password Change - Linux


Things you should consider: [Easy] [Safe] [Requires Restart]

Video: Watch Instructions 1. Open up terminal/bash. 2. cd to your TS3 server folder 3. Stop your server (Choose the one that fits your situation) Code:
./ts3server_startscript.sh stop

4. Open ts3server_startscript.sh with your favorite text editor and replace the this code.... Code:
COMMANDLINE_PARAMETERS=""

with this code Code:


COMMANDLINE_PARAMETERS=$2

5. Save your changes. 6. Go back to your command line and put this in Code:
./ts3server_startscript.sh start serveradmin_password=passwordhere

7. Change the green highlighted text to the password you want 8. You have changed your serveradmin password! Note: This should not mess up your normal launch, you should be able to use ./ts3server_startscript.sh like you could before.

2A & 2B Manual Password Change - Windows/Linux


Things you should consider: [Intermediate] [Potentially Unsafe] [No Restart Required]

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

2/7

Don't have your Server Admin Query password? Look here!

20-09-2013

Video: Watch Instructions 1. 2. 3. 4. 5. Make a backup. Download and/or Open sqliteman and open the database file ts3server.sqlitedb Generate a password (See 3.A,3.B,3.C) Open your ts3server.sqlitedb database Paste the following code into the command box Code:
UPDATE clients SET client_login_password="passwordhere" WHERE client_unique_id="serveradmin"

6. Replace passwordhere with that generated password 7. Press green arrow button (Run) 8. You have successfully changed your serveradmin password!

3.A Automatic Password Change - Custom App


Things you should consider: [Easy] [Safe] [No Restart Required] [Still in development] Backup your database before you use this!

Click Here
or

Launch Program 4.A Password Generators - Program (Windows Only) Download Here 4.B Password Generators - Web Based (All Systems) Click Here 4.C Password Generators - All Systems w/ PHP Click Here
Last edited by Soljia; 17-05-2013 at 01:57. Reason: Fixing formatting Reply With Quote

28-12-2009,

09:52 Join Date: Location: Posts:

#2 Dec 2009 Belgium 1

icymessiah
-= TeamSpeak User =-

thx
Yes youre vids are helpful even for a total noob like me :d

Reply With Quote

28-12-2009,

10:01 Join Date: Location: Posts:

#3 Dec 2004 RF 1,695

ANR Daemon
-= TeamSpeak Fanatic =-

Got this very "problem", will respond if it's enough to solve it. Was about to wipe database anyway Can't do more harm trying your guide.

Reply With Quote

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

3/7

Don't have your Server Admin Query password? Look here!

20-09-2013

28-12-2009,

13:35 Join Date: Location: Posts:

#4 Dec 2009 Germany 6

Actium
-= TeamSpeak User =-

I just had a quick look at the `clients` table in the teamspeak database. It took me only a few minutes to figure it out: The `client_login_password` field is a base64 encoded sha1-hash of the password. Reverse engineering the password will be quite difficult, unless you rely on quite a huge rainbow table, but you can easily set a new password for the existing account. This is a piece of php-code that will get the job done: Code:
function encrypt_ts3_client_password($password) { return(base64_encode(sha1($password, true))); }

Just replace the `client_login_password` field of the serveradmin with this function's return value and the new password will be set. I also set up a really simple example php-script (source code).
Last edited by Actium; 28-12-2009 at 13:40. Reason: fixed some typos

Reply With Quote

28-12-2009,

15:36 Join Date: Location: Posts:

#5 Dec 2004 RF 1,695

ANR Daemon
-= TeamSpeak Fanatic =-

Originally Posted by Actium

I just had a quick look at the `clients` table in the teamspeak database. It took me only a few minutes to figure it out: The `client_login_password` field is a base64 encoded sha1-hash of the password.
Nice catch I've had no doubt it is base64 encoded string, I was just wondering, from what function it is. I think, it will be easier to make a console script from this code. Code:
#! /bin/php <?php print(base64_encode(sha1($argv[1], true)));

For Linux/Mac, you can just make it executable, for Windows, obtain PHP and run php.exe -f ts3passwd.php <desiredPassword> F.e., Code:
[C:\]$ts3passwd.php 123456 fEqNCco3Yq9h5ZUglD3CZJT4lBs= [C:\]$

--- Merged --Alternatively, to reset your serveradmin password to simple 123456, you could just run this query: Code:
UPDATE clients SET client_login_password = "fEqNCco3Yq9h5ZUglD3CZJT4lBs=" WHERE client_unique_id = "serveradmin"

Don't forget to reset password once you login to server query terminal with new credentials!! Code:
telnet localhost 10011 TS3 login serveradmin 123456 error id=0 msg=ok clientsetserverquerylogin client_login_name=serveradmin client_login_password=<Here'sYourNewPassword> error id=0 msg=ok quit

Attached Files ts3passw d.php.txt (65 Bytes, 940 view s)

Last edited by florian_fr40; 26-03-2012 at 07:49.

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

4/7

Don't have your Server Admin Query password? Look here!

20-09-2013

Reply With Quote

28-12-2009,

21:04 Join Date: Location: Posts:

#6 Dec 2009 Pitt 101

Soljia
-= TeamSpeak Addict =-

I was wondering what the password was encoded with. I'll write up a documentation on how to change admin password, when I get home from the gym. --- Merged --Hey Actium, can you increase the width of your text box? So the entire encrypted password shows. Or if not I'll just edit it around a little and post on my web server and give you credit.
Last edited by florian_fr40; 26-03-2012 at 07:50.

Reply With Quote

29-12-2009,

03:41 Join Date: Location: Posts:

#7 Dec 2004 RF 1,695

ANR Daemon
-= TeamSpeak Fanatic =-

I think, my method more generic, as it includes less steps. You don't have to figure out, what "passwordhere" is and how to obtain it from these scripts.

Reply With Quote

29-12-2009,

03:51 Join Date: Location: Posts:

#8 Dec 2009 Germany / NRW 68

par0noid
-= TeamSpeak Lover =-

love ya for figuring out the encryption

Reply With Quote

29-12-2009,

03:52 Join Date: Location: Posts:

#9 Dec 2004 RF 1,695

ANR Daemon
-= TeamSpeak Fanatic =-

Wasn't me - I was lazy to do it myself.

Reply With Quote

29-12-2009,

06:48 Join Date: Location: Posts:

#10 Dec 2009 Pitt 101

Soljia
-= TeamSpeak Addict =-

Originally Posted by ANR Daemon

I think, my method more generic, as it includes less steps. You don't have to figure out, what "passwordhere" is and how to obtain it from these scripts.

Meh, not that hard to understand. And the steps are basically the same since you then have to go into teamspeak and change the password again. This way is only one password change. Thanks tho

Reply With Quote

29-12-2009,

07:24 Join Date: Location: Posts:

#11 Jun 2002 Krn / Germany 1,965

R. Ludwig
-= TeamSpeak Team =-

you could also start the server with command line serveradmin_password=yournewpassword

Reply With Quote

29-12-2009,

07:32 Join Date: Location:

#12 Dec 2009 Europe


5/7

Birdie

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

Don't have your Server Admin Query password? Look here!

20-09-2013

-= TeamSpeak Addict =-

Location: Posts:

Europe 184

Please put this information also in the command line parameter section in doc/server_quickstart.txt.

Reply With Quote

29-12-2009,

09:52 Join Date: Location: Posts:

#13 Dec 2009 Germany 6

Actium
-= TeamSpeak User =-

To anyone who thanked me, for figuring this out: You're welcome. Well, R. Ludwig's (unfortunately non-documented) method of resetting the serveradmin password makes my app sorta superfluous, but as Soljia asked me to adjust it, I decided to officially release it under the BSD license, so anyone who thinks there's a need for it, can take it and use it however he pleases. PHP Code:
<?php /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ TeamSpeak3 Password Encrypter by Actium <Actium****.net> Revision: 2 Latest change: Tue, 29 Dec 2009 10:25:02 +0100

Copyright (c) 2009, Actium <Actium****.net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Actium nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ACTIUM BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

function encrypt_ts3_client_password($password) { return(base64_encode(sha1($password, true))); } ?> 29-12-2009, 17:20 <?php print('<?xml version="1.0" encoding="utf-8"?>'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> Soljia <head> -= TeamSpeak Addict =<title>TeamSpeak3 Password Encrypter</title> </head> <body> <form action="<?php print($_SERVER['REQUEST_URI']); ?>" method="post" accept-charset="utf-8"> Originally Posted by R. Ludwig <div> <input type="text" name="password" size="60" value="<? you could also start the server with command line serveradmin_password=yournewpassword php if(isset($_POST['password'])) { print(encrypt_ts3_client_password($_POST['password'])); }; ?>" /> <span>&nbsp;</span><input type="submit" /> </div> </form> Booo, ruined all the fun :P </body> </html>

Reply With Quote

#14 Join Date: Location: Posts: Dec 2009 Pitt 101

--- Merged --I haven't tried out the command line thing that Ludwig mentioned. Anyone else? Nevermind I just did. Guess my method is obsolete. I'll change the guide.
Last edited by florian_fr40; 26-03-2012 at 07:50.

Reply With Quote

03-01-2010,

09:15 Join Date: Location: Posts:

#15 Dec 2009 UK 71

GoNz0
-= TeamSpeak Lover =-

Choose any user to be in the Admin Server Query group. [Using sqlite]
Video: http://www.youtube.com/watch?v=4i_bOWe-MMs Documentation: http://docs.google.com/Doc?docid=0AZ...hjZjhjeg&hl=en

is this just for the virtual server in question and not the main server admin ? i keep getting customers deleting admins and accounts then asking me to make them admin again, i dont want to give them rights to any server just the virtual server that they own.
http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here! 6/7

Don't have your Server Admin Query password? Look here!

20-09-2013

Reply With Quote

Page 1 of 13 1 2 3 11 ...
Quick Navigation
Server Support

Last
Top

Previous Thread | Next Thread


Thread Information

There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads

Jdawgg's Guid to Starting a TeamSpeak 2 SERVER


By JD in forum [TeamSpeak 2] Server Support

Replies: 21
Last Post: 14-08-2008, 14:54

Administration page
By bigteam0385 in forum [TeamSpeak 2] Server Support

Replies: 5
Last Post: 16-01-2006, 22:00

No Web Admin log-in after 2.0.18.31 Win Server Update


By cminchrist in forum [TeamSpeak 2] Server Support Tags for this Thread

Replies: 2
Last Post: 11-01-2003, 03:45

dedicated server, rootserver, server, teamspeak, token admin permission View Tag Cloud
Posting Permissions

You may not post new threads You may not post replies You may not post attachments You may not edit your posts

BB code is On Smilies are On [IMG] code is Off [VIDEO] code is Off HTML code is Off Forum Rules
All times are GMT +1. The time now is 02:30. Powered by vBulletin Version 4.2.0 Copyright 2013 vBulletin Solutions, Inc. All rights reserved.

PRODUCTS
TeamSpeak 3 PRODUCTS TeamSpeak 3 SDK TeamSpeak 2 TeamSpeak Classic Literature Screenshots System Requirements

SOLUTIONS
Market Share SOLUTIONS Global Partners Endorsements

COMPANY
About Us COMPANY Calendar of Events Latest News Jobs & Careers Legal Notices Contact Us

SUPPORT
FAQ / Knowledgebase SUPPORT Video Tutorials Getting Started Premium Support

SALES
Customer Center SALES Rent a Server Licensing Overview Pricing Help Choose License Non Profit License

DOWNLOADS
TeamSpeak 3 DOWNLOADS TeamSpeak 2 Addons Media Kit

Copyright 2012 TeamSpeak Systems GmbH. All rights reserved. All trademarks referenced herein are the properties of their respective owners.

http://forum.teamspeak.com/showthread.php/48255-Don-t-have-your-Server-Admin-Query-password-Look-here!

7/7