PDA

View Full Version : [Share] server side html exploit fix, cloning char fix


Pages : 1 2 [3]

testdude
28.01.2006, 03:51
actually would need to check if EDX is null since its the register used as the pointer, before the movsx, youll have to jump to a small code cave and insert the movzx after checking if edx is null and return back or if null return to err msg, but i assume you know that. sorry i still dont have a server to work on the stuff with so i cant really do too much :).k i have no idea what that means >.<... basically what i did was...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
put my jump here.... them my code checked EAX for being null, then if it was, return to error, if not...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
00443526 8BC8 MOV ECX,EAX
00443528 FF52 48 CALL DWORD PTR DS:[EDX+48]
do those 3 which were cut out by my jump, and then return to the code after my jump... so... i should do it after the edx mov or what? i have absolutly no idea how any of this works soooo.... also, is there any way for me to determine what chars are causing the depth>200 errors, i ran a script on the db and no chars have more than 120 items in their inventory, except mine which i was testing with...

horyfilipe
28.01.2006, 04:37
tontor, ill be grateful if you take a look at https://postpacific.mmorpg-game.online/forum/viewtopic.php?p=30406#30406

thanks

horyfilipe
28.01.2006, 17:31
weird
[php:1:20bbbe55d6]
Server Up Time Sat Jan 28 14:08:52 2006

Current Time : Sat Jan 28 15:15:24 2006

Elapsed Time : 0 days 1 hours 6 minutes 32 seconds
IOBufferPool - 12082

[(1496) 2006/01/28 15:15:24]: =======================
an Access Violation in module Unknown at 001b:54878aa2.
start at 2006/1/28 14:08:51
Read from location 00000001 caused an access violation.

Registers:
EAX=fffe824b CS=001b EIP=54878aa2 EFLGS=00010282
EBX=0d024ab1 SS=0023 ESP=6efafdf0 EBP=6efafe14
ECX=00000057 DS=0023 ESI=96336934 FS=003b
EDX=379c5078 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
af e6 9f e7 8f e8 7f e9 5f ea df e3 cf e4 bf e5
Stack dump:
6efafdf0: 9a38541c 00000002 0d024ab1 6efafde0 6efafe4c 6efafdf0 6efafe4c 005ac6b0
6efafe10: ffffffff 6efafe58 00503181 fffeba4b 7a990101 7a990101 9a38541c 00000002
6efafe30: 7a990150 00000001 000120fa fffeba4b 0d024ab1 e76c07cc 6efafe28 6efafeb8
6efafe50: 005acdf0 ffffffff 6efafec4 0050fa78 9a38541c 7a990163 08a9f5dd 9a38541c
6efafe70: 77e6bb6d 00000010 6efafedc 00000010 71c02572 000002b0 6efafea0 71c0575e
6efafe90: 00000000 08a9f5da 00336710 000003e5 6efaff78 00000017 006c0794 31be8fec
6efafeb0: 7a990150 6efafe68 6efafee4 005ad778 ffffffff 6efafef0 00539866 08a9f5dd
6efafed0: 9a38541c 77e6bb6d 6efaff0c 6efafeec 6efafecc 6efaff6c 005afaa0 ffffffff
6efafef0: 6efaff78 0053be2a 00000017 00000001 0053cbe6 00000001 00000017 9a38670c
6efaff10: 00000000 00000000 3fce2288 00000000 00001000 00010000 bffeffff 00000003


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
IconAction <--
User::IconAction()

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :




[/php:1:20bbbe55d6]

vex
29.01.2006, 10:59
EDI again - something with stack...
i am already post this - tontor promise to look at this. we have nothing to do except waiting

Aspire
29.01.2006, 18:55
Server Up Time Fri Jan 13 21:16:19 2006

Current Time : Fri Jan 13 22:18:12 2006

Elapsed Time : 0 days 1 hours 1 minutes 53 seconds
IOBufferPool - 9939

[(1608) 2006/01/13 22:18:12]: =======================
an Access Violation in module L2server.exe at 001b:0053a121.
start at 2006/1/13 21:16:09
Read from location 6683fb44 caused an access violation.

Registers:
EAX=680368d6 CS=001b EIP=0053a121 EFLGS=00010202
EBX=6699fb14 SS=0023 ESP=6699f990 EBP=680387f0
ECX=00000002 DS=0023 ESI=6683fb44 FS=0038
EDX=00000002 ES=0023 EDI=680368d4 GS=0000
Bytes at CS:EIP:
f3 a4 8b f8 8b 44 24 1c 0f be 00 85 c0 0f 85 c2
Stack dump:
6699f990: a1856f24 680367e0 6699f9d8 a195436c 004dfbcb 680367f2 00001ffe 00603805
6699f9b0: 6699fa1c 00000001 a1856f24 a195436c 00000356 00000395 6699f9b4 6699fa00
6699f9d0: 005ab7b0 ffffffff 6699fa0c 004dfca8 006037cc 6699fa1c 00000001 a1856f24
6699f9f0: a195436c 00000000 000000cb 6699f9e8 6699fd90 005ab7c0 ffffffff 6699fd9c
6699fa10: 004ffabd a1856f24 006037cc 05f00403 00014302 0002420a fffff278 00000000
6699fa30: 481077cf 6699fbc4 00000002 00000000 00000021 00000000 0000096b 000009c3
6699fa50: 000009bd 0000025f 00000160 0000094a 00000040 00000000 00000000 00000000
6699fa70: 00000000 00000000 00000126 0000023e 00000000 00000000 0000007a 00000055
6699fa90: 0000007a 00000055 0000007a 00000055 0000007a 00000055 da65ba81 3ff6915f
6699fab0: 4e25d2cf 40008cb4 00000000 401e0000 00000000 40380000 00000001 00000000


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOObject::TimerDispatch(bool bRootLoop) <--
void CThreadLocalTimer::Dispath <--
void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
User::TimerExpired() <--
User::SendCharInfo() <--
FOR ALL NEIGHBOR USER FAST RECT <--
void CSocket::Send(const char* format, ...) <--
void CSocket::SendV(const char* format, va_list va)

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :

Thread[2] (good): Lock Stack :

Thread[3] (good): Lock Stack :



[(1608) 2006/01/13 22:18:12]: *ioc.cpp:665(Sat May 15 01:37:29 2004) exception

Having the same problem

This is related to sql injection fix, but my hijack checks the return address to make sure CDBSocket::SendV is the calling function, appears somewhere along the line something is incorrect. I'll take a look at it sometime.
Stil crashing :cry:

testdude
30.01.2006, 06:21
[Inventory_server.cpp][110] Push failed. because g_SharedIteme.GetObjectSP failed.
[User.cpp][3669] FindObject Failed(spams about 5000 times)
then....
depth>200 at file[Inventory_server.cpp], line[703]
[c:\serverservice\l2server\ThreadSafeLibrary.h][100] referencing NULL object.
[Creature_server.cpp][68] item in invenroty is null.
crash, i checked the EXACT timestamp of the log of these, to actions of players, nothing is out of the ordinary that would cause this... :| and, the code i put in to check for the null must work, otherwise it would not say the "item in invenroty is null" thing... cos thats what the code returns to if its null... so i dont know.. i really need help with this cos its crashing my server every 5 minutes... ive had probably a max of 4 hours uptime...

vex
01.02.2006, 23:59
Hey, tontor! There is some news on IconAction and messed stack?

testdude
02.02.2006, 00:17
just wondering.. anyone else get this?...

erver Up Time Wed Feb 01 15:33:13 2006

Current Time : Wed Feb 01 15:50:18 2006

Elapsed Time : 0 days 0 hours 17 minutes 5 seconds
IOBufferPool - 14415

[(2364) 2006/02/01 15:50:18]: =======================
an Access Violation in module Unknown at 001b:00210027.
start at 2006/2/1 15:33:11
Write to location de000500 caused an access violation.

Registers:
EAX=005b9c38 CS=001b EIP=00210027 EFLGS=00010a82
EBX=00000000 SS=0023 ESP=71f1fdc0 EBP=71f1fe08
ECX=2821c61c DS=0023 ESI=94c7116c FS=003b
EDX=00602c04 ES=0023 EDI=2821c61c GS=0000
Bytes at CS:EIP:
00 05 00 05 00 de 01 08 00 00 00 00 00 fc e3 8f
Stack dump:
71f1fdc0: 00440894 31c58fec 94c7116c 00000000 71f1fdbc 71f1fe04 005a7040 00000000
71f1fde0: 71f1fe10 004ad8b9 4010930a 31c58fec 94c7116c 00000000 71f1fdc4 71f1fe4c
71f1fe00: 005a4200 ffffffff 71f1fe58 0050a5ff 2821c61c 00000000 71f1fe00 79da0bfc
71f1fe20: 00000002 83983df0 71f1fe64 000153be 000242ea fffff2c0 713704d8 006c07d4
71f1fe40: 4010930a 00000000 71f1fe1c 71f1feb8 005ad3c8 ffffffff 71f1fec4 0050fa78
71f1fe60: 79da0bfc 83983e03 00f5e606 79da0bfc 77e6bb6d 00000001 71f1fedc 00000000
71f1fe80: 71c02572 7158b3d8 71f1fea0 71c0575e 000003e5 00f5e603 71452e38 000003e5
71f1fea0: 71f1ff78 00000014 006c0794 31c58fec 83983df0 71f1fe68 71f1fee4 005ad778
71f1fec0: ffffffff 71f1fef0 00539866 00f5e606 79da0bfc 77e6bb6d 71f1ff0c 71f1feec
71f1fee0: 71f1fecc 71f1ff6c 005afaa0 ffffffff 71f1ff78 0053be2a 00000014 00000001


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
ActionPacket <--
CCreature::Action()

Thread[0] (ahehe): Lock Stack :

fear my uptime!

vex
02.02.2006, 00:46
may be try to lower IOBuffer?

testdude
02.02.2006, 01:31
ill try.. but i think my friend tried that, and then the server ran out of iobuffers b4 it could crash :|
lowered it to 5k, still crash every 5 - 20 minutes, same ccreature:action shit

scott
02.02.2006, 06:06
"tontor patch" not crash server. its hardware

vex
02.02.2006, 14:22
or something else, but no tontor patch

vex
04.02.2006, 12:56
I'm sorry, Tontor, but i still have IconAction some times (or IconAction have me). Not posting big report againg , but say that EIP contain some shirty value again and aging different: EIP=f1e2e800, and so Read from location f1e2e800 caused an access violation.

demon
22.02.2006, 12:22
tontor is it possible to post code to revert pet fix (the original code) or tell me offset

demon
23.02.2006, 09:58
? hello

midnight
07.03.2006, 18:03
03/07/2006 09:58:xx.xx0, WARNING: Possible exploit attempt ACCID:12954 CMD:[bypass -h ????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????????????????? ?????????????????????????????????????????????????? ???????_????????????????????????????????????????? ????????????????y???????????????????????????????¡ ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????O??????????????????????????????????? ??????????¡?????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????~??????????????????????????? ??????????????????????#???????????????????????O??? ?????????????????????????????????????????????????? ????????????????????¡??????[??????????????????????????????????????????].

new exploit??

Shawnmb
08.03.2006, 03:40
No, that just looks like he's using a client-side HTM with tons of question marks or other data, the end bracket is there so it looks like the request was filtered, not that it would get you anywhere if it went through...

Attary
12.03.2006, 18:03
Dear, Tontor-san :wink:
You made a perfect patch and i have no idea how to use my server without it.
But, Tontor, with recent dll versions my server crashes every start/end siege. With previous to vxx.xx.06 dll my server crashes on siege with 50/50 chances =).
And without your patch server works correct and does not crash.

Each crash caused by this or very similiar error:
Elapsed Time : 0 days 1 hours 50 minutes 35 seconds
IOBufferPool - 1286

[(10660) 2006/03/11 21:41:33]: =======================
an Access Violation in module L2Server.exe at 001b:0053aa21.
start at 2006/3/11 19:50:56
Write to location 00000000 caused an access violation.

Registers:
EAX=72b6e4b0 CS=001b EIP=0053aa21 EFLGS=00010297
EBX=729613c0 SS=0023 ESP=70fefd7c EBP=70fefdb0
ECX=00000007 DS=0023 ESI=78db6bd4 FS=003b
EDX=7815ee38 ES=0023 EDI=000000c9 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 33 c9 89 88 10 20 00 00 c7
Stack dump:
70fefd7c: 004df8de 000000c9 78db6bf0 78db6bf8 77e6ba12 0002a554 169138d4 0000189d
70fefd9c: 78db6bd4 70fefd80 70fefe04 005ab7a0 ffffffff 70fefe10 0043f75a 729613c0
70fefdbc: 729613c0 0000189d 91f950bc 004f0a15 78db6bd4 004df860 729613c0 00000168
70fefddc: 03493808 00000000 70fefe20 00000168 03493808 00000000 70fefd84 70fefde4
70fefdfc: 2b965320 70fefdd8 70fefe38 005ac440 ffffffff 70fefe44 00491572 005c4680
70fefe1c: 0000001d 00000000 03493808 178cd728 946b69d8 00000000 70fefe20 70fefe68
70fefe3c: 005a7430 ffffffff 70fefe74 00539505 00000000 00000000 178ce6c8 178cd728
70fefe5c: 178cc844 178cb7e0 70fefe50 70fefed0 005afa60 ffffffff 00000000 0053a241
70fefe7c: 00000001 00000000 00000000 70fefedc 178cd728 174d0e58 00000002 0053c19e
70fefe9c: 4eee6625 00000000 77e6bb6d 0006fc80 0053aa74 7815ee44 7c82f4c3 9a2fdbb4


ver = Jun 8 2004____15:38:30 thread id=2

void IOThread_common(void *arglist) <--
void CIOObject::TimerDispatch(bool bRootLoop) <--
void CThreadLocalTimer::Dispath <--
void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CL2Time::TimerExpired(int id) <--
void BroadCastToAllUser(const char* format, ...) <--
FOR ALL OBJECT IN OBJECT MAP <--
in_code <--
ASYNCHRONOUS_SERIALIZE_FAST_IMPL(CSocket, AsyncSendConstBuffer, CIOBuffer*, pBuffer)

Thread[0] (good): Lock Stack :

Thread[1] (good): Lock Stack :

Thread[2] (ahehe): Lock Stack : RW ReadLock(378616020[169138d4])

Thread[3] (good): Lock Stack :

Can your patch cause this error?
I will very much appreciate whether any hint or complete solution.

mwg
07.04.2006, 21:05
Hello all
I have two questions:

1st: the question concerns that how to use all these patches and dll. Here we shall assume, I downloaded new dll, what I need to make with it? To replace old dll? Or again to start patch.exe?
I apologize, can already be about it somewhere wrote here, but I have thumbed through 35 pages and have not found. Or can it is bad searched.

2nd: Used dll from xx.xx.2005 in current 1,5 months and a server worked just fine. 5 and more days uptime.
Did not change anything except for npcdata.txt and ai.obj, and here more recently a server as have changed - the maximum of 1,5 day works no more than day.
In what a problem?
Sorry 4 my English.
<rus>
Кароч есть два вопроса: вопрос касается того как использовать все эти патчи и dll.
Вот предположим, я скачал новую dll, что мне нужно сделать с ней? заменить старую? или же снова запустить patch.exe

И второй: Использовал dll датированную xx.xx.2005 в течении 1,5 месяца и сервер работал просто прекрасно. 5 и более дней аптайм.
Не изменял ничего кроме npcdata.txt и ai.obj, а вот совсем сервер как буд-то всбесился работает не более суток, максимум 1,5 суток
</rus>

drzoom
07.04.2006, 21:37
У некоторых и то если меньше суток работает - это хорошо:)

mwg
07.04.2006, 22:52
<rus>
Да ничего хорошего, мне кажется... :( было же так прекрасно...
</rus>
Simply I complain...

vex
09.04.2006, 05:02
Наивный ))

Digital
09.04.2006, 15:44
hmm.. just out of curiosity... i do hope tontor's still with us on the fourm :S

toolpunk
09.04.2006, 18:31
i don't think he's still with us...
haven't seen him on irc for a long time now :(

SlayerX
09.06.2006, 17:36
does anyone have last patch uploaded? the old attatchment link is gone:
https://postpacific.mmorpg-game.online/forum/download.php?id=834

mgsxman
12.06.2006, 11:10
yeah guys the attatchment link is gone :((
pls any 1 share latest patch
p.s : thx for ur help
AND BIG THX TO TONTOR !!!

Silentz0r
12.06.2006, 19:18
Here.

EDIT: Weird can't upload it again in the attachments.

heres a link with the tontor's patcher.

http://www.wca.com.ve/silent/tontor_patcher.rar

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
122805-dll_176_138.rar — 28732 байт

mgsxman
12.06.2006, 20:35
Big THX dude !!!

kepler001
12.06.2006, 22:14
thxx

wton
15.06.2006, 07:13
404 File Not Found: The File files/patch_133_124.rar does not exist.


:(

Silentz0r
15.06.2006, 07:41
http://www.wca.com.ve/silent/tontor_patcher.rar

wton
15.06.2006, 19:59
THX very much ^^...

sinus
28.06.2006, 16:49
Problem with Clone, overbuff, html in C4 anydoby have Tontors patch for C4?

frta14
28.06.2006, 19:05
is the same patch...

sinus
28.06.2006, 19:23
didnt work.... didnt start path console and Clone etc working :(

toolpunk
28.06.2006, 20:49
you have to run the patcher ;)
only copying the dll to your l2server folder isn't enough...

sinus
28.06.2006, 21:47
i run ;)

sinus
04.07.2006, 16:41
ppl... i have found tontor patch witch start with my server but Clone and Dupe has working.... Anyboby can help?
:(

Muroff
04.07.2006, 18:05
у тебя с4?
have C4?

sinus
04.07.2006, 19:24
yes
äà

Muroff
05.07.2006, 05:14
я тут где то встречал как переделать для с4 что то там с переименованием длл. поищи на форуме. я к сожалению уезжаю, времени нет /:)

sinus
05.07.2006, 05:16
спасиб попробую, но пока не находил :(
tnx i will try to search

Koner
06.07.2006, 02:59
http://img95.imageshack.us/img95/8735/shot000238nm.th.jpg (http://img95.imageshack.us/my.php?image=shot000238nm.jpg)
Who can explain this? :?
And how to fix it?

elcapo
06.07.2006, 05:45
response: Packet injection.

Stinker
06.07.2006, 11:12
Help me fix clone with linex.dll , tontor patch no work.

silence_
06.07.2006, 20:27
Koner: Simply go to Itemdata under your scripts, and change on item valakas necklace enchant = 555 to enchant = 0

Koner
07.07.2006, 03:30
response: Packet injection.
Yes, i know, but how fix this shit? O_o

silence_
08.07.2006, 23:44
response: Packet injection.
Yes, i know, but how fix this shit? O_o
Omfg are you blind or you are blind?
Open itemdata and go to valakas_necklace item and edit enchanted=0 from enchanted=555 that it probably is.
U choose an avatar, believe in it too man.

Truffe
09.07.2006, 10:13
I don't really see how editing itemdata would help.
He doesn't pay attention to your answer because it's totally worthless.

Domzelan
09.07.2006, 11:34
Koner i think it can be SQL Injection - try fix your WEB scripts...

Koner
09.07.2006, 21:10
Koner i think it can be SQL Injection - try fix your WEB scripts...
It's not sql injection (i check it), this Packet injection.

evets
31.07.2007, 11:09
anyone that got the files still? and maybe can reshare em ? :)

JimGR
15.10.2007, 11:32
Can someone reshare plz?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 15th October 2007, 14:32. Открыть источник (https://web.archive.org/web/20090214114919id_/http://www.postpacific.com:80/archive/index.php/t-2152-p-3.html).

emanuel
15.10.2007, 11:34
Can someone reshare plz?



this is for C1 Only , not C4 :D

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 15th October 2007, 14:34. Открыть источник (https://web.archive.org/web/20090214114919id_/http://www.postpacific.com:80/archive/index.php/t-2152-p-3.html).

sandeagle
19.12.2007, 09:39
thx so much....greating

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 19th December 2007, 12:39. Открыть источник (https://web.archive.org/web/20090214114919id_/http://www.postpacific.com:80/archive/index.php/t-2152-p-3.html).

XTCee
07.08.2008, 12:47
Anyone feels like resharing this?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 7th August 2008, 15:47. Открыть источник (https://web.archive.org/web/20090214114919id_/http://www.postpacific.com:80/archive/index.php/t-2152-p-3.html).