Tremulous Forum

General => Troubleshooting => Topic started by: Janook on July 15, 2007, 07:54:06 am

Title: Lost my GUID; Any way to restore?
Post by: Janook on July 15, 2007, 07:54:06 am
Hi,
I recently reformatted my computer.  I remembered to save my autogen and autoexec files, but I didn't remember to save my qkey file! And so, my GUID is gone.

This is a big nuisance for any servers I admin on, so I was wondering if someone could write a step-by-step tutorial on how to create/compile your own qkey file and how to set your GUID.

I'm on Windows XP.
Title: Lost my GUID; Any way to restore?
Post by: tehOen on July 15, 2007, 09:25:23 am
nope
Title: Lost my GUID; Any way to restore?
Post by: Janook on July 15, 2007, 10:20:34 am
...excuse me?
Title: Lost my GUID; Any way to restore?
Post by: Raytray on July 15, 2007, 12:53:58 pm
"No"
Unless you know your exact GUID, you won't be able to.
Title: Lost my GUID; Any way to restore?
Post by: Somethief on July 15, 2007, 02:11:28 pm
Iam not quite sure how the file is created but the hostmaster of a server you were admin (Or anybody else who got access to admin.dat) can get your complete GUID. I got no idea howto use it but perhaps somebody else knows..
Title: Lost my GUID; Any way to restore?
Post by: next_ghost on July 15, 2007, 02:55:50 pm
GUID is calculated from qkey file in your Tremulous user base directory. The only other way is to hack TJW's client executable to always send your old GUID.
Title: Lost my GUID; Any way to restore?
Post by: Somethief on July 15, 2007, 04:52:29 pm
Quote from: "next_ghost"
GUID is calculated from qkey file in your Tremulous user base directory. The only other way is to hack TJW's client executable to always send your old GUID.


And from where is the qkey calculated?  :-?
Title: Lost my GUID; Any way to restore?
Post by: kevlarman on July 15, 2007, 05:26:33 pm
Quote from: "Somethief"
Quote from: "next_ghost"
GUID is calculated from qkey file in your Tremulous user base directory. The only other way is to hack TJW's client executable to always send your old GUID.


And from where is the qkey calculated?  :-?
if(cl_serverguiduniq) md5sum( <server ip>:<server port><contents of qkey> );
else
md5sum( <contents of qkey> )
recent versions of the client will refuse to use a qkey that isn't exactly 2kbytes in length.
Title: Lost my GUID; Any way to restore?
Post by: tehOen on July 15, 2007, 06:21:38 pm
Quote from: "kevlarman"
Quote from: "Somethief"
Quote from: "next_ghost"
GUID is calculated from qkey file in your Tremulous user base directory. The only other way is to hack TJW's client executable to always send your old GUID.


And from where is the qkey calculated?  :-?
if(cl_serverguiduniq) md5sum( <server ip>:<server port><contents of qkey> );
else
md5sum( <contents of qkey> )
recent versions of the client will refuse to use a qkey that isn't exactly 2kbytes in length.

omg stop posting hax
Title: Lost my GUID; Any way to restore?
Post by: Janook on July 15, 2007, 08:56:16 pm
Quote from: "kevlarman"
Quote from: "Somethief"
Quote from: "next_ghost"
GUID is calculated from qkey file in your Tremulous user base directory. The only other way is to hack TJW's client executable to always send your old GUID.


And from where is the qkey calculated?  :-?
if(cl_serverguiduniq) md5sum( <server ip>:<server port><contents of qkey> );
else
md5sum( <contents of qkey> )
recent versions of the client will refuse to use a qkey that isn't exactly 2kbytes in length.


okay.. but.. i don't know how to do that.
Isn't there a way to compile your own qkey file?
Title: Lost my GUID; Any way to restore?
Post by: kevlarman on July 15, 2007, 09:07:13 pm
Quote from: "Janook"
okay.. but.. i don't know how to do that.
Isn't there a way to compile your own qkey file?
short answer: no
long answer: if you didn't have cl_serverguiduniq enabled it's possible but not practical to brute force a qkey with the same md5sum if you can find out what it was.
Title: Lost my GUID; Any way to restore?
Post by: Somethief on July 15, 2007, 09:53:41 pm
Quote from: "kevlarman"
short answer: no
long answer: if you didn't have cl_serverguiduniq enabled it's possible but not practical to brute force a qkey with the same md5sum if you can find out what it was.


It would be possible to hack the client to always send the same guid, right?
Title: Lost my GUID; Any way to restore?
Post by: tehOen on July 15, 2007, 09:59:14 pm
Quote from: "Somethief"
Quote from: "kevlarman"
short answer: no
long answer: if you didn't have cl_serverguiduniq enabled it's possible but not practical to brute force a qkey with the same md5sum if you can find out what it was.


It would be possible to hack the client to always send the same guid, right?

iirc starting with +set cl_guid blah works you just need to find blah
you also need to delete your qkey maybe
Title: Lost my GUID; Any way to restore?
Post by: kevlarman on July 15, 2007, 10:11:41 pm
Quote from: "tehOen"
Quote from: "Somethief"
Quote from: "kevlarman"
short answer: no
long answer: if you didn't have cl_serverguiduniq enabled it's possible but not practical to brute force a qkey with the same md5sum if you can find out what it was.


It would be possible to hack the client to always send the same guid, right?

iirc starting with +set cl_guid blah works you just need to find blah
you also need to delete your qkey maybe
deleting it just makes the client generate a new one, newer clients will ignore +set cl_guid ... on the comand line.