Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Fix for the file viewing html exploit (https://postpacific.loc-online.com/showthread.php?t=1444)

tontor 13.08.2005 11:53

Fix for the file viewing html exploit
 
I've made a patch to fix the exploit referenced at https://postpacific.loc-online.com/f...pic.php?t=1545 . This patch also includes my teleport crash fix, and has been tested on C3 and C1 servers. I will give admins time to patch their servers before discussing this new exploit.

This patch should work on any C1/C2(untested)/C3 server, including ones already patched with my tp fix, but I recommend patching a fresh copy regardless.

Metalmurphy 13.08.2005 11:58

Will this patcher work on any l2server? Couse my .exe already has quite alot of changes.

p.s- nice patcher xD

tontor 13.08.2005 12:01

It should. I've tested it on a 172sf exe and a plain sina exe.

flakka 13.08.2005 12:01

Damn that was quick! :shock:

Nice work!

Closing the other thread. I guess we can continue the discussion here. :wink:

zabbix 13.08.2005 12:02

about hex values?

anrysys 13.08.2005 12:03

Good work... Realy good

tontor 13.08.2005 12:06

zabbix: give me a few minutes and I will update this post with the changes in hex. edit: Err I made a new post instead of editing this one.

anrysys 13.08.2005 12:16

http://game-ix.rv.ua/devel/L2Server-...file-fixed.rar

Here is my fixed

tontor 13.08.2005 12:24

Replace Old: bytes with New: bytes at the following offsets.
Offset 0x1154B9:
Old: 899C 2424 0100 00
New: E9AA F70F 0090 90
Offset 0x214C54:
Old: 9090 7000 6F00 7300 6900 7400 5700 6100 7200 6500 4800 6F00
7500 7300 6500 4900 7400 6500 6D00 7300 2800 7500 6E00 7300
6900 6700 6E00 6500 6400 2000 6900 6E00 7400 2000 6E00 4300
6800 6100 7200 4900 4400 2C00 2000 5500 7300 6500 7200 2A00
2000 7000 5500 7300 6500 7200 2C00 2000 6900 6E00 7400 2000
6E00 5700 6100 7200 6500
New: 2E00 2E00 0000 5C00 0000 3A00 0000 9090 9090 9090 899C 2424
0100 0060 9090 9090 8D94 24A0 0300 0068 544C 6100 52E8 E3A4
F7FF 83C4 0885 C075 3A8D 9424 A003 0000 685A 4C61 0052 E8CA
A4F7 FF83 C408 85C0 7521 8D94 24A0 0300 0068 5E4C 6100 52E8
B1A4 F7FF 83C4 0885 C075 0861 9090 E9F7 07F0 FF61 9090 E901
08F0 FF90 9090 9090 9090

zabbix 13.08.2005 12:27

thanks, tontor
excellent work

demon 13.08.2005 12:27

tontor which bugs are fixed with this ? only teleport_1 ?

toolpunk 13.08.2005 12:34

hmm...
due 2 flakkas post and the overall info id say all known ;)
i think even the 1 u mentioned

tontor 13.08.2005 12:44

This patch fixes the teleport crash bug and the remote file viewing bug. It is not a complete html exploit fix, so you still need extra checks in ai.obj and what not.

I already have a complete l2server.exe html exploit fix implemented in my head, I just need time to put it into asm and test it. That will probably be the next fix I release, assuming no other serious exploits are found before then.

demon 13.08.2005 12:46

dont worry :p i will post all new exploits ^^ hehe

flakka 13.08.2005 13:58

Quote:

Originally Posted by demon
dont worry :p i will post all new exploits ^^ hehe

Good. :D

badjoe 13.08.2005 15:09

nice work tontor !
(btw I got the L2NPC.ini from official servers but there was no password in there :P and script files are just to large to get that way :P)

DarkCyber 13.08.2005 15:41

better get l2server.exe :D

lamnh 13.08.2005 17:47

I dun have this line :

9090 7000 6F00 7300 6900 7400 5700 6100 7200 6500 4800 6F00
7500 7300 6500 4900 7400 6500 6D00 7300 2800 7500 6E00 7300
6900 6700 6E00 6500 6400 2000 6900 6E00 7400 2000 6E00 4300
6800 6100 7200 4900 4400 2C00 2000 5500 7300 6500 7200 2A00
2000 7000 5500 7300 6500 7200 2C00 2000 6900 6E00 7400 2000
6E00 5700 6100 7200 6500

my line is :
650070006F00730069007400570061007200650048006F0075 00730065004900740065006D007300280075006E0073006900 67006E0065006400200069006E00740020006E004300680061 007200490044002C00200055007300650072002A0020007000 55007300650072002C00200069006E00740020006E00570061 0072006500

Have I need to change it ? tontor? THX

anrysys 13.08.2005 17:55

Replase it...

supplier 13.08.2005 18:17

tontor, pretty good.
But can you explain which hex'es for teleport bug and which are for file-view-bug?

Metalmurphy 13.08.2005 19:22

Quote:

Originally Posted by badjoe
nice work tontor !
(btw I got the L2NPC.ini from official servers but there was no password in there :P and script files are just to large to get that way :P)

why didnt u get l2server.ini then? or something small? honestly do u really think ppl believe u? ;)

Sundh 13.08.2005 19:45

can even understand how a person can find a bug like htm help bug etc.

aseren 13.08.2005 21:10

Quote:

Originally Posted by Sundh
can even understand how a person can find a bug like htm help bug etc.


Trust me , some people are working around the clock to find
exploits like these

elcapo 13.08.2005 22:01

tontor, really nice work.

all my cash for u.

tontor 13.08.2005 23:27

lamnh: As anrysys said you can just replace it.

supplier: The hex for the file view bug I posted on the first page of this thread, and the hex for teleport bug I posted at https://postpacific.loc-online.com/f...=1532&start=15 .

There is a slight overlap as lamnh noticed, but it is only 2 bytes, 9090, which is insignificant.

badjoe: I was hoping that there would be no size limit and this would be a bug that got us all C3 full server, but knew that would be too good to be true :)

anrysys: Thank you for all the information and files you have shared. :D

lamnh 14.08.2005 03:42

THX anrysys and tontor , but have I still need disable help.htm? I disable it by hex nwindow , THX

djvogans 14.08.2005 04:35

tontor ... you got cash .. your cool ....

Alien003 14.08.2005 05:43

Quote:

Originally Posted by lamnh
THX anrysys and tontor , but have I still need disable help.htm? I disable it by hex nwindow , THX

client side fix's really dont help, what is keeping them from using a non hexed nwindow?

badjoe 14.08.2005 05:56

Quote:

Originally Posted by Metalmurphy
Quote:

Originally Posted by badjoe
nice work tontor !
(btw I got the L2NPC.ini from official servers but there was no password in there :P and script files are just to large to get that way :P)

why didnt u get l2server.ini then? or something small? honestly do u really think ppl believe u? ;)

I got L2NPC.ini ... why should i need l2server.ini ?
and lol I really don't mind if people believe me or not...


@tontor: yes would have been too easy :P

SoaPy 14.08.2005 06:23

Quote:

Originally Posted by badjoe
Quote:

Originally Posted by Metalmurphy
Quote:

Originally Posted by badjoe
nice work tontor !
(btw I got the L2NPC.ini from official servers but there was no password in there :P and script files are just to large to get that way :P)

why didnt u get l2server.ini then? or something small? honestly do u really think ppl believe u? ;)

I got L2NPC.ini ... why should i need l2server.ini ?
and lol I really don't mind if people believe me or not...


@tontor: yes would have been too easy :P

then you can download all script folder too xD

lamnh 14.08.2005 08:44

Quote:

Originally Posted by Alien003
Quote:

Originally Posted by lamnh
THX anrysys and tontor , but have I still need disable help.htm? I disable it by hex nwindow , THX

client side fix's really dont help, what is keeping them from using a non hexed nwindow?

Because I disable help.htm before tontor release this fix.

midnight 14.08.2005 17:36

when i apply the fix, some summons can't use the skill.

SoaPy 14.08.2005 17:38

Quote:

Originally Posted by midnight
when i apply the fix, some summons can't use the skill.

:|, why ?

midnight 14.08.2005 17:55

i dont know

tontor 15.08.2005 01:58

Quote:

Originally Posted by midnight
when i apply the fix, some summons can't use the skill.

Which ones? Also who is your original l2server.exe from?

Professor F 15.08.2005 03:30

viewing server files useless:
i'll try to explain my point:
i've got:
..\l2server\l2server.ini
..\NewAuth\etc\config.txt
..\L2NPC\L2NPC.ini
..\L2logD\l2logd.ini
..\CacheD\l2cache.ini
from a real server (not owned by me!)
but there's NO psw/log to db
so there's 2 cases:
1.none server ini needs this info
2..\L2NPC\L2NPC.ini points to dir without npc.exe
and this's a solution.....(let alone ..\dbscript\ doesnt exist...)

SoaPy 15.08.2005 03:52

you dont need to put a sql user and password in l2npc or in another of l2 config files.

Professor F 15.08.2005 03:54

Quote:

Originally Posted by SoaPy
you dont need to put a sql user and password in l2npc or in another of l2 config files.

exactly what i mean
but:
server asks this on first run, but doesn't on second and so on...maybe registry....but it's hard to access by html exploit...

midnight 15.08.2005 11:46

Quote:

Originally Posted by tontor
Quote:

Originally Posted by midnight
when i apply the fix, some summons can't use the skill.

Which ones? Also who is your original l2server.exe from?

I'm using nobugL2Server=qblue1000 from 99nets for C2.

lamnh 15.08.2005 18:43

After I hexed my L2server , l2server crash 4 times in 30 minutes , dun know why .


All times are GMT. The time now is 16:24.