![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Apr 2007
Posts: 8
|
i think u can and if u relog to do it u only need to have a delay between login atempts =)
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Here i share a more "optimized" way of applying this patch. Several fixes, it should work with latest php.exe (i attached the one i used on the RAR).
Just unrar to a folder, put the uid.csv on same folder, 1 account_id per line, and the program will ask YOU for $min and $max values at START (and check for min and max correct values and if nº of accounts > $max-$min it will ask you for a bigger number). It will create a new .csv with relationship between old UID and new UID (for checking and tracking purposes). Share: ppdoesshare Atte Oso Вложения из исходного сообщения (сами файлы в копии отсутствуют): AuthDPatchScript.rar — 1632388 байт |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2007
Posts: 17
|
|
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Quote:
1) Instead of using "file(XXX)" i used a function proposed in php.net that opens the file with fopen, and while it doesnt find the EOF, it stores the whole line (with \n included and separator between files) on an array. Slower, but for servers with a lot of accounts, it functions in a better way. 2) I eliminated the funtion "UniqueRands" and made a secuential program (it doesnt get called, but it just works in a "while" loop). It feeds "rands" array with the uid and the new uid (in the form: rand[0] = uid1, rand[1] = newuid1, rand[2] = uid2, rand[3] = newuid2, etc. 3) Added some messages for display (so the user can know that the program is doing something ).4) Fixed some errors on the query part (you had $uid inside the " " and didnt take the value from outside, but instead did a query with '$uid' rather than the actual value). 5) Added a new file writing part that writes the whole temporal array "rands" to a file, so you can check which ID got which number. 6) Fixed some "OOB" problems with some of the arrays. 7) Just asks for uid.csv (not builderuid.csv, that can be fixed by own server admins). Nothing much, just fixed it to be more secuential and more easy to understand. I kept the credits to you on the file and just added myself below you .Atte Oso |
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2007
Posts: 17
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
This is what I did;
1. Increase the delay on x08 2. Set a delay AND action for x0D 3. Recreated all account ids and REALLY spread them out across the 2 billion limit 4. Changed my registration system to no longer increment the uid, instead using a random one Now I just need that DLL :P |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
new login = new user = amped delay have no effect (only wondering, if i wrong, correct me please) Anyway, right now there at least 3 dlls fixing this exploit without need to change anything on db/SP/regsystem |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|