How Do I Decompile¿

Discussion in 'Computer Science & Culture' started by Jack the Ripper, May 11, 2002.

Thread Status:
Not open for further replies.
  1. Jack the Ripper Registered Member

    Messages:
    18
    Ok, to make it simple I'll explain.

    I'm playing as sort of online hacker game and you have to make it throu certain levels.

    Currently I'm stuck on level 2.

    Please Register or Log in to view the hidden image!



    LAMO coming throu lol


    Anyway, in level 2 you have to decompile to i don't know get the answer and clue to level 3.


    Heres what I've gotten so far by viewing web page off line and and saving it as a swf file.



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    FWS¯p »€ C3™?  Courier New *w°°­0@̿(Username : ‰¯  *w°°­0@̿(Password : Š+ľ?\eˣ_B R¹ī@€5oߺs? ĬĶ0߾(ߛtR )>/"±N±?r3?r Pu‡ªֿؠ?‘e H©–Mhœ'[W$̾ˆ—հ4½⺉1Κϼ˜胳"ŒžJ!䷓cžӍML1wѵ׿Ơ«r?”ڢƒ‡̲y Qʫ®ҩ쀀?&eˣ_B @fߺg: ـ 졾|Q¾¶褙쟜vR|^Dbœc:䧺䔠 돕·C‘°µ¸°º̹b½°њSܿ٭\ט}6r ,Š»0½’F$杂T?!ꣿj,>¹„€!5oߺYΆퟋ{oŸo­€

    Please Register or Log in to view the hidden image!

    {‘X§Xιι(:Õm䬝n?–Lͫ“>K¬ϖ+ۀ¥=ýšՍq‡ӧ/k€,ʂȫ³ ٤bgV'3l 鏕Q`?ퟀ\P–¹„€5n?–s4¬>LX¯ltV”W5ƟMœ½®³( "®̯d‘‰9§P•gHz¨ᅫ”‹„©–Mhœ'[C€n'徸* ~geʶ¸½¶Բšī´ª{ ퟀ­¹$Ͽq_¢湃Y癫?fdQ€“Ʉ<Ža©©†.ퟑGQ¿Heˣ_B @3̀oߺg: ـ 졾|Q¾¶褙쟜vR|^Dbœc:䧺䔠 돕¬±¿? &– txtUsername– Try2HackI– txtPassword– NokiaIsGoodI?ƒLLeVeLL3.html_self? ɵݕ厾UC ¿] pSΛ̾p½£Š€_Tݠ-͕ḖE쀨d|—8–»GО’PਅP]n ¬ɭᆋ¸ހ‰  + w°@ @̿(txtUsernameŽ ɋž>’ OE4†  + w°@ @̿(txtPasswordŠ Pfe@


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~


    My current dedcompiler on hand is called Commview.

    First, How do I decompile and second. How do I get it into commview to decompile?


    Thanks for any help.

    Please Register or Log in to view the hidden image!

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Reid Registered Senior Member

    Messages:
    97
    You got the username and password there, guess thats what they are asking for. Try opening that .swf file in a hexviewer so you can see what the actual characters are

    hehe, or if you read further down
    txtUsername – Try2Hack – txtPassword – NokiaIsGood
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Jack the Ripper Registered Member

    Messages:
    18
    Thankyou

    Thankyou but I need to decompile it because inside it it the clue to level 3.

    Please Register or Log in to view the hidden image!

     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. Jack the Ripper Registered Member

    Messages:
    18
    ok

    Ok, never mind I see what your saying.

    So where can I find a hexviewer?

    And thankyou for helping

    Please Register or Log in to view the hidden image!

     
  8. Jack the Ripper Registered Member

    Messages:
    18
    That didn't work

    All I got was this with a hexviewer so that didn't work.......














    00000000 D0 CF 11 E0 A1 B1 1A E1-00 00 00 00 00 00 00 00 ................
    00000010 00 00 00 00 00 00 00 00-3E 00 03 00 FE FF 09 00 ........>.......
    00000020 06 00 00 00 00 00 00 00-00 00 00 00 01 00 00 00 ................
    00000030 01 00 00 00 00 00 00 00-00 10 00 00 02 00 00 00 ................
    00000040 01 00 00 00 FE FF FF FF-00 00 00 00 00 00 00 00 ................
    00000050 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000060 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000070 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000080 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000090 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000A0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000B0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000C0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000D0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000E0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000000F0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000100 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000110 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000120 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000130 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000140 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000150 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000160 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000170 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000180 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    00000190 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001A0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001B0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001C0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001D0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001E0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
    000001F0 FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF ................
     
  9. Jack the Ripper Registered Member

    Messages:
    18
    But your right

    But your right so thankyou.


    I still need to learn how to decompile.
    lol

    Please Register or Log in to view the hidden image!

     
  10. Jack the Ripper Registered Member

    Messages:
    18
    So how did you get the user and pass?

    It would really help me if you told me how you actually got the user and pass.

    This came from Flash.
     
  11. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    Which game is it exactly?
     
  12. Reid Registered Senior Member

    Messages:
    97
    This game

    I looked at that .swf file and couldnt see any hints to level3.
    Level3 was easy though, tip is to use a packet sniffer
     
    Last edited: May 13, 2002
  13. Jack the Ripper Registered Member

    Messages:
    18
    Why??

    Why even post ehre Reid if your not going to learn or teach?

    I still have yet to see anyone come close to explaining how to decompile.

    Not that I don't appreciate everyone's input; but is it to much to ask for a simple answer to a simple question or must we continue to skate around thinking we're better then others simply because we hold some sort of elite knowledge that can be found in any common book?

    Let me guess your repply.

    Please Register or Log in to view the hidden image!



    Buy the book?





    Give me the fuckin name and I would.
     
  14. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    Okay, if we're going to do this properly, we better let people know what a Decompiler is.

    Firstly when a person uses a language like C/C++ they usually write their work in script. A format that can be viewed and altered easily at the disgression of a programmer.

    Now this might be very good for a human writing a program, but when it comes time to execute and run the program, the script can take alot of time to execute because all of the lines of coding put into it.

    For instance I can remember someone telling me how many billion lines of source code went into the making of XP. Now this is code that programmers can look at, but once it's compiled it becomes like a .DLL file or an .EXE, which is a mixture of encryption to stop prying eyes pulling it apart and compression for faster processing, especially on multi-threaded systems. (systems that run more than one "process" at a time.)

    (This is the main reason why "Bug Spotting" and "Patching" takes so long to innitiate, as the more lines of code you have, the more time it takes to find and patch the problem. Sometimes the problem is just because a programmer used a work around rather than actually programming in full just to cut the time down on the overall project.)

    Well there are Compilers built into most packages to do with C++, which can turn the source code into a program.

    There are then near languages like PERL, that you can write a script and it when ran will be compiled by the system it's run upon and then executed. (In fact PERL 5.005 can have a standalone executable created, as there is a process to convert your PERL script into a C++ executable.)

    This is where the Decompiler comes in, Since you've got the "End result" program, and it's all compressed and encoded to run faster through the processor, a Decompiler can be used to restore that form back to it's scripted version.

    There are many different decompilers, but in the most case some programs might use certain "customised" processes that the decompiler doesn't pick up on, so you could end up having to guestimate what fits in there.

    As for using a Decompiler, in most cases you just open up the Decompiler and load the program you want to decompile to it.
    Well unless your running in command line, then you'll need to know what extra commands you need to run on your compiler. (always run verbose)
     
  15. Jack the Ripper Registered Member

    Messages:
    18
    Cool

    That was much better thankyou.

    Please Register or Log in to view the hidden image!

     
  16. Reid Registered Senior Member

    Messages:
    97
    Jack, I don't know how to decompile a shockwave file, if I did I would tell you, and how I got the password and username, well read your very first post to this thread
     
  17. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    I know it's possible to pull some info from loading the SWF through import into Flash. The problem is though that it might lose some of it's information depending on what version of Flash created it originally.

    I had to remake a whole website from a .swf, when what Ireally needed was an .fla file. The .swf must have been from an earlier version of flash and it compressed everything into one layer and ran it all with all the commands for stops and processing removed.

    I'm sure that someone probably has programmed a true decompiler for .swf, but you have to understand that compressed into the file is the binary of images etc.

    (Just mentioning this since you re-brought the .swf mention to the surface)
     
  18. flipshark Registered Member

    Messages:
    1
    I'm new to the boards, actually this is my first post.

    Jacktheripper, I will decompile your swf file for $40 USD if your interested, This is the cheapest price I can find for any flash decopiling software (below)

    http://www.sothink.com/flashdecompiler/order.htm

    They do have a free download which will let you decopile so of the appilication for free
     
  19. Adam §Þ@ç€ MØnk€¥ Registered Senior Member

    Messages:
    7,415
    Welcome to here, flipshark.
     
  20. Shan Registered Member

    Messages:
    1
    Reid: Give URL to some free Packet Sniffer ^^
     
  21. kaduseus melencolia I Registered Senior Member

    Messages:
    213
    for level 2 - you don't need a disassembler for this level.
    Load the .swf into wordpad, you then get the username and password - it keeps geting changed when people post the answers.
    Level 3 is quite tricky - use windows explorer to find everything in the internet cache downloaded from the site, the password is in one of the files.
    I can't help with level 4 my JRE isn't working, try JAD to decompile the java class.
     
  22. Reid Registered Senior Member

    Messages:
    97
  23. testify Look, a puppy! Registered Senior Member

    Messages:
    508
    I did this thing about 4 months ago and got it all done, except for the last step. The last step involves going onto IRC, and getting into an eggdrop bot through one of it's backdoors. I wrote down the answers somewhere. If I find them I'll be sure to post, or post an address to the answers.
     
Thread Status:
Not open for further replies.

Share This Page