Decompiling....
Results 1 to 5 of 5

Thread: Decompiling....

  1. #1
    Banned
    Join Date
    Oct 2001
    Posts
    1,463

    Question Decompiling....

    Is there a way to decompile a program... Nothing big like Windows or Linux but a crack for a program to see how it works.... Im thinking of stydying encryption algorithms...... And IMHO crackers must know a lot about the stuff to make keygens and the such...
    Share on Google+

  2. #2
    Old-Fogey:Addicts founder Terr's Avatar
    Join Date
    Aug 2001
    Location
    Seattle, WA
    Posts
    2,007
    Basically... not really. Once you have a program in machine code (I.E.: Executable format) it is near-impossible to re-create it in the original programming language, because it could have been done so many ways in the first place. (Some VB versions were an exception to this, I'm talking generalities here)

    So you can't "decompile" code, but you CAN "disassemble" it. This means changing it into ASSEMBLY LANGUAGE, not C++, not Java, not VB, no high-level languages. That's just too complicated. So if you know assembly, you might be able to get an idea of what some simple programs do, but for the more complicated things, forget it, it would take years.
    [HvC]Terr: L33T Technical Proficiency
    Share on Google+

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Posts
    138
    Sounds like a good boredom project for me, maybe write an assembly tutorial on disassembling programs? Just a thought......but I think I will stick with the firewall stuff first!

    Cheeseball
    http://www25.brinkster.com/cheeseball

    -- Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment--
    Share on Google+

  4. #4
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716

    Thumbs up

    MS-DOS executables with the COM extension can
    be unassembled by the DEBUG command.

    DEBUG <filename> enter
    U enter

    this will display the assembly language mnemonics
    for the machine language of the program.

    studying short simple programs with this method
    is one of the best ways to learn what's
    really going on inside the computer.

    For more sophisticated, high level programming/debugging,
    every programming language/system usually
    comes with a debugger. They can single step through
    a program, but as far as I know, decompiling is an art, not a science.
    That is, no program will decompile in a fully automated fashion unless
    all debugging symbols are embedded in the prog.

    Such symbols aid developers in debugging, but are stripped
    out when programs are released on the market.
    I came in to the world with nothing. I still have most of it.
    Share on Google+

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Posts
    232

    --?--

    If you want to find out how peograms work, you can always use a debugger like SoftICE by NuMega to find out how it works and what it uses for security.
    Welcome to Hell , where we have served more than all of the fast food chains put together! And the number grows everyday! Stay tuned!
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •