Results 1 to 15 of 188
-
26-12-2009, 17:53 #1
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Pitt
- Posts
- 99
Don't have your Server Admin Query password? Look here!
- Manual Password Change [Easy] [Safe] [Requires Restart]
- Windows
- Linux
- Manual Password Change [Intermediate] [Potentially Unsafe] [No Restart Required]
- Windows
- Linux
- Automatic Password Change [Easy] [Potentially Unsafe] [No Restart Required]
- My Custom Application (Easy)
- Password Generators
- Program (Windows Only)
- Web Based (All Systems)
- 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
- Go to your Teamspeak 3 server folder.
- Create a shortcut of this file
- Choose the one that fits your situation
- Identify your server's executable
- Windows 32bit
- Code:
ts3server_win32.exe
- Windows 64bit
- Code:
ts3server_win64.exe
- Windows 32bit
- Right click on the shortcut
- Click (at bottom) properties
- 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
- Windows 32bit
- Put this after the .exe Remember to include a space after .exe!
- Code:
serveradmin_password=passwordhere
- It should look something like this.
- Windows 32bit
- Code:
C:\Program Files\teamspeak3-server_win32\ts3server_win32.exe serveradmin_password=passwordhere
- Windows 64bit
- Code:
C:\Program Files\teamspeak3-server_win64\ts3server_win64.exe serveradmin_password=passwordhere
- Windows 32bit
- 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
- Open up terminal/bash.
- cd to your TS3 server folder
- Stop your server (Choose the one that fits your situation)
Code:./ts3server_startscript.sh stop
- Open ts3server_startscript.sh with your favorite text editor and replace the this code....
with this codeCode:COMMANDLINE_PARAMETERS=""
Code:COMMANDLINE_PARAMETERS=$2
- Save your changes.
- Go back to your command line and put this in
Code:./ts3server_startscript.sh start serveradmin_password=passwordhere
- Change the green highlighted text to the password you want
- 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]
Video: Watch
Instructions
- 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"
- Replace passwordhere with that generated password
- Press green arrow button (Run)
- 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 HereLast edited by Soljia; 17-05-2013 at 01:57. Reason: Fixing formatting
-
28-12-2009, 09:52 #2
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Belgium
- Posts
- 1
thx
Yes youre vids are helpful even for a total noob like me :d
-
28-12-2009, 10:01 #3
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
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.
-
28-12-2009, 13:35 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 6
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:
Just replace the `client_login_password` field of the serveradmin with this function's return value and the new password will be set.Code:function encrypt_ts3_client_password($password) { return(base64_encode(sha1($password, true))); }
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
-
28-12-2009, 15:36 #5
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
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.
For Linux/Mac, you can just make it executable, for Windows, obtain PHP and runCode:#! /bin/php <?php print(base64_encode(sha1($argv[1], true)));
php.exe -f ts3passwd.php <desiredPassword>
F.e.,--- Merged ---Code:[C:\]$ts3passwd.php 123456 fEqNCco3Yq9h5ZUglD3CZJT4lBs= [C:\]$
Alternatively, to reset your serveradmin password to simple 123456, you could just run this query:
Don't forget to reset password once you login to server query terminal with new credentials!!Code:UPDATE clients SET client_login_password = "fEqNCco3Yq9h5ZUglD3CZJT4lBs=" WHERE client_unique_id = "serveradmin"
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
Last edited by florian_fr40; 26-03-2012 at 07:49.
-
28-12-2009, 21:04 #6
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Pitt
- Posts
- 99
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.
-
29-12-2009, 03:41 #7
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
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.
-
29-12-2009, 03:51 #8
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Germany / NRW
- Posts
- 67
love ya for figuring out the encryption
-
29-12-2009, 03:52 #9
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
Wasn't me - I was lazy to do it myself.
-
29-12-2009, 06:48 #10
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Pitt
- Posts
- 99
-
29-12-2009, 07:24 #11
-= TeamSpeak Team =-
- Join Date
- Jun 2002
- Location
- Krün / Germany
- Posts
- 1,965
you could also start the server with command line serveradmin_password=yournewpassword
-
29-12-2009, 07:32 #12
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Europe
- Posts
- 184
Please put this information also in the command line parameter section in doc/server_quickstart.txt.
-
29-12-2009, 09:52 #13
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 6
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)));
}
?>
<?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">
<head>
<title>TeamSpeak3 Password Encrypter</title>
</head>
<body>
<form action="<?php print($_SERVER['REQUEST_URI']); ?>" method="post" accept-charset="utf-8">
<div>
<input type="text" name="password" size="60" value="<?php if(isset($_POST['password'])) { print(encrypt_ts3_client_password($_POST['password'])); }; ?>" />
<span> </span><input type="submit" />
</div>
</form>
</body>
</html>
-
29-12-2009, 17:20 #14
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Pitt
- Posts
- 99
-
03-01-2010, 09:15 #15
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- UK
- Posts
- 69
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.
Thread Information
Users Browsing this Thread
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 SupportReplies: 21Last Post: 14-08-2008, 14:54 -
Administration page
By bigteam0385 in forum [TeamSpeak 2] Server SupportReplies: 5Last 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 SupportReplies: 2Last Post: 11-01-2003, 03:45


Reply With Quote
