Community Forums Today's Posts     Member List     Archive    
Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    Join Date
    Nov 2002
    Location
    Germany / Kempen
    Posts
    1,844

    A simple ts3 serveradmin password recovery script (win + linux)

    I have seen that there were some people who didn't take care of the serveradmin password which is shown on the first run or they lost it. Here is some help to prevent a reinstall and losing data:

    A small script to recover serveradmin access after lost password.
    Unpack to the folder of the ts3server.sqlitedb and run. The script replaces the crypted password with a known one. Don't forget to update your password after gaining access.

    As usual, you should create a backup before running any scripts.

    ========
    *** german part deleted ***
    Attached Files Attached Files
    Last edited by dante696; 11-01-2010 at 09:45. Reason: this forum is english only

  2. #2
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    1,662
    Quote Originally Posted by Germeshausen.de View Post
    Don't forget to update your password after gaining access.

    ========

    Bitte nicht vergessen, dass Passwort wieder zu ändern, sobald man wieder Zugriff hat.
    By the way, how to change the password? I don't mean the way to copy the encrypted password from a new SQLite DB to the old SQLite DB.

    *** german part deleted ***
    Last edited by dante696; 11-01-2010 at 10:14. Reason: english only

  3. #3
    Join Date
    Nov 2002
    Location
    Germany / Kempen
    Posts
    1,844
    With help of the query or within the client:
    *** german part deleted ***
    [TS3]
    login serveradmin ykN+zfqD
    error id=0 msg=ok
    clientsetserverquerylogin client_login_name=serveradmin
    client_login_password=qyJWITqU
    error id=0 msg=ok

    There we have created a new password.
    *** german part deleted ***
    Last edited by dante696; 11-01-2010 at 10:14. Reason: english only

  4. #4
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    12
    Nice Work!

    EDIT // Oh to slow ^^

  5. #5
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    Quote Originally Posted by Germeshausen.de View Post
    There we have created a new password.
    Und damit haben wir ein neues Passwort gesetzt.
    Is there any way to save a password which I chose? Like I have PW "oJJJJDnsnh" and now wanna save that as serveradmin query PW...

    Any way? Because these pre-defined passwords are neither 100% save (or better: hard to bruteforce) nor good to remember

  6. #6
    Join Date
    Sep 2005
    Location
    Germany / Dortmund
    Posts
    1,282
    No, that's not possible.

    All passwords in TeamSpeak 3 are auto-generated by the server.

  7. #7
    Join Date
    Nov 2002
    Location
    Germany / Kempen
    Posts
    1,844
    If TeamSpeak tells us, what kind of passwords are used, it would be no problem to change the script and create own passwords. The option to choose own passwords will also allow to store weak passwords which is really not recommend.
    A new command in query would be very usefull. But this function should check the password for security and deny weak passwords consequently.

  8. #8
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    1,662
    Quote Originally Posted by Germeshausen.de View Post
    [TS3]
    login serveradmin ykN+zfqD
    error id=0 msg=ok
    clientsetserverquerylogin client_login_name=serveradmin
    client_login_password=qyJWITqU
    error id=0 msg=ok
    I tried this, but I only get this error:
    *** german part deleted ***
    clientsetserverquerylogin client_login_name=serveradmin
    error id=512 msg=invalid\sclientID

    Yes, I was logged in as serveradmin.
    Tried on fresh installed beta 6 server (for testing purposes) on debian 5.

    *** german part deleted ***
    Last edited by dante696; 11-01-2010 at 09:48. Reason: english only

  9. #9
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,296
    Quote Originally Posted by Germeshausen.de View Post
    If TeamSpeak tells us, what kind of passwords are used, it would be no problem to change the script and create own passwords. The option to choose own passwords will also allow to store weak passwords which is really not recommend.
    A new command in query would be very usefull. But this function should check the password for security and deny weak passwords consequently.
    This will not happen. In earlier versions of the server/client you were able to choose the password for your serverquery account, but this functionaity has been removed from the clientsetserverquerylogin command to resolve the issues with weak passwords.

  10. #10
    Join Date
    Jul 2005
    Location
    Toronto,CA
    Posts
    56
    Quote Originally Posted by ScP View Post
    This will not happen. In earlier versions of the server/client you were able to choose the password for your serverquery account, but this functionaity has been removed from the clientsetserverquerylogin command to resolve the issues with weak passwords.
    I think you should add that feature back in. if people have weak passwords and get their stuff overtaken its their problem. It would really be nice if we could edit the passwords for serveradmin. i have a password that i remember that has uppercase lowercase numbers and symbols in it.

  11. #11
    Join Date
    Dec 2009
    Location
    Norwich, UK
    Posts
    140
    To be fair this isn't such a big ideal.

    You should keep the feature how it is.

    If people really feel so passionately about it just save the generated password in a text file in the same directory as the TS3 server. Generally people will only use this password once or twice.

  12. #12
    Join Date
    Nov 2002
    Location
    Germany / Kempen
    Posts
    1,844
    Security is a big feature, but it shouldn't be a handicap.
    Using own passwords would be very usefull. But they should meet following requirements:
    • at least 8 chars
    • case sensitive
    • at least one or two digits
    • dictionary proof

    In combination with brute force protection it should be quite secure enough

    Passwords most people can't remeber will be stored anywhere, most cases with enough informations about the tss or even in the same directory, that it is same as unsecure as a stupid administrator

  13. #13
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    4
    Hello,

    I used your script yesterday and i have to say good work. But today ist just wanted to log in with my changed password. But today, i just want to login over telnet agai, he sais wron password or login Name. So i just used the script agian. But also here the programm said worn px / Name. I tried all: Restrat the server, use the script a few times. but nothing helps. I hope you can help me ?


    Edit: Problem solved
    *** german part deleted ***
    Last edited by dante696; 11-01-2010 at 09:49. Reason: english only

  14. #14
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    9
    It works fine thx for that.

    *** german part deleted ***
    Last edited by dante696; 11-01-2010 at 09:49. Reason: english only

  15. #15
    Join Date
    Aug 2003
    Location
    NJ
    Posts
    36
    Is there a version of this that works on mySQL?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 33
    Last Post: 08-07-2010, 19:02
  2. Linux + MySQL HOWTO with sys init script
    By SShaadd in forum Linux / FreeBSD
    Replies: 5
    Last Post: 22-12-2009, 17:25
  3. Hohes Trafficaufkommen? SPAM??
    By marc9022 in forum [TeamSpeak 2] Server Support
    Replies: 20
    Last Post: 27-05-2008, 15:32
  4. User Password Change Script
    By BeDa in forum [TeamSpeak 2] Addons & Scripts
    Replies: 12
    Last Post: 10-08-2005, 15:38
  5. mic not picking up anything
    By majom in forum [TeamSpeak 2] Client Support
    Replies: 1
    Last Post: 17-10-2004, 22:51

Tags for this Thread

Posting Permissions

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