Users browsing this thread: 3 Guest(s)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resource/python - files unpacked^^
06-24-2009, 10:36 PM,
#1
Resource/python - files unpacked^^
I have today found out, that these files are packed as ZIP .

You have to change before the headers of the files inside the ltp files (It Starts with the String LTP and these you will find often in the files).

If you compare you have only to change the first 4 bytes of these things to ZIP Headers (and dont forget the end byte).

I have done this work for you, and here you can download and extract it normal (it consists maaaaany pyc files , Python binarys).

http://stepload.de/uploads/eBsDD5cFPlmgH...index.html
Reply
06-24-2009, 10:45 PM,
#2
RE: Resource/python - files unpacked^^
And same for resource/string_table here :

http://stepload.de/uploads/eBsDD5cFPlmgH...index.html
Reply
06-24-2009, 10:57 PM,
#3
RE: Resource/python - files unpacked^^
Told ya that they where "zipped" files! xD. Is was pretty easy to seee, xD:

<header><name><data><header>... xDDDDDDDD

Awesome finding dude!

AngelAngel

This opens my mind in future things.. (doodling like homer) Big Grin

Wanna work with files, wanna work with files!, wanna! Big Grin

Dude i got an examn to pass yest, damn you xDDD!
Reply
06-25-2009, 12:26 AM,
#4
RE: Resource/python - files unpacked^^
hate ya! xDD.

According to findings, this pyc files match to a 2.3 compiled python bytecode.

That may be (better said "might be") de-compiled using some libs available on 2006 which, of course, only ran on linux OS's. So here we go, trying some Linux machine to put the decompyle in there.

String looks weird with a big file and several minifiles

Monolith looks like the game logic for some calculations and so.
Standard looks like... ummm standard python libs for functions, dunno why they zipped as it were "secrets" :S

Not sure about what info could be extracted from this.. but... i want to know.CoolTongue
Reply
06-25-2009, 08:22 AM,
#5
RE: Resource/python - files unpacked^^
Tried on a debian linux box, using libraries... no luck xD.

At most, you can get the functions and some description of the params, but it looks awfully similar to asm code xD.

Dunno where this leads to hehe.

Maybe there are more files on the folders that are zipped too.... worth checking a bit....

(after checking)
seems... nope xD!
No more files with that structure.
Reply
06-29-2009, 04:41 PM,
#6
RE: Resource/python - files unpacked^^
Most of this thread looks like it's paraphrasing Bay's guide. But you followed the directions wrong. Read 'em over again.

Proof of concept...

http://www.megaupload.com/?d=T7269GNH
Reply
06-29-2009, 04:42 PM,
#7
RE: Resource/python - files unpacked^^
i have these little buggers decompiled somewhere...not much info in it tho, just some clientside checks
and i doubt these "serverside" scripts are active now...because look at this
discovery.clientConsolePrint(sentence.subject.locator, "You need the 'Disarm Traps' ability.")
discovery.clientConsolePrint(sentence.subject.locator, 'Hint: in the console, type \'AddAbility "DisarmTrapsAbility"\'')
That never happens does it ? So i guess its only when MXO is running as both server and client, from the really really old days.
Reply
06-29-2009, 06:38 PM,
#8
RE: Resource/python - files unpacked^^
That doubt could be fast resolved rajkosto.
If we take Filemon-itor, we could check if *.ltp files are accessed.

And i told ya... they are. But just called like if they were a dir (i.e. resource/python/standard/XXXX.YYY file) which of course on an standard and unpacked client doesnt exist.

why? dunno
Reply
06-29-2009, 06:58 PM,
#9
RE: Resource/python - files unpacked^^
of course they are accessed...the effects and timers and stuff is used from them
i was talking about serverrules.pyc
Reply
06-30-2009, 01:11 AM, (This post was last modified: 06-30-2009, 01:13 AM by Bayamos.)
#10
RE: Resource/python - files unpacked^^
I believe the whole client console print function displays in the console, NOT the player chat box. So conceivably this stuff could be being executed but we would not have a way of knowing.

The server_rules.pyc is still used. Why they keep CR1 legacy code in I don't know, maybe they are scared of breaking something. But we decompiled versions before and after Februrary. In order to fix the admin abilities exploit, they released an emergency patch which added 1 line of code to server_rules.pyc, which checked that a player's "grant tree" contained an ability that was attempting to be executed. Prior to this the server just assumed item grants were activating the right ability.

But the bottom line is that while editing these files might let you do a few things like pull up old UI, they would have had to make a serious mistake for anything useful to be possible. The server install reputedly contains copies of Monolith.ltb and gameobjects.pkb, so to modify behavior the server's copy would have to be changed.
Reply


Forum Jump: