Results 1 to 27 of 27

Thread: VB.NET decompiler available?

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    Talking VB.NET decompiler available?

    Using Java decompiler, one can get back source code from .class file. Since .NET also followed same footsteps as in Java and EXEs are compiled to MSIL, is there any way to hack the .NET source code from EXEs?

    Thanx
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: VB.NET decompiler available?

    Originally posted by sbasak
    Using Java decompiler, one can get back source code from .class file. Since .NET also followed same footsteps as in Java and EXEs are compiled to MSIL, is there any way to hack the .NET source code from EXEs?

    Thanx
    from EXEs ??
    If that possible , it would be disaster !

  3. #3
    Hyperactive Member
    Join Date
    Dec 2002
    Location
    The Big D
    Posts
    310
    You can turn the 'exe' back into straight C# very easily using Anakrino. In fact, at every Microsoft .NET summit I have attended, the speaker demonstrated Anakrino. Anakrino is a free project and I think they even have a link to the source code. No hacking required.

    Without obfuscation, .NET exe's aren't really safe for desktop distribution.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Then I would steal other efforts and publish my own projs with additional stuff ! I guess with .NET no way for Piracy ,oop I mean privacy .

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Give me the link plz ?

  6. #6
    Hyperactive Member
    Join Date
    Dec 2002
    Location
    The Big D
    Posts
    310
    Just do a google search for anakrino.

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Here is the link : http://www.saurik.com/net/exemplar/

    I've tested on small proj and it worked unfortunately ! Is that shortcoming in .NET ? absolutely it is .

  8. #8

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    I heard that ultimate output from VB.NET or C# should be same. So, in what language the decompiler converts the source code??
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by sbasak
    I heard that ultimate output from VB.NET or C# should be same. So, in what language the decompiler converts the source code??
    It converts MSIL to the source code (C# in this case ).

  10. #10

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    see this site

    http://www.remotesoft.com/salamander/

    they also offer decompilation!!! And they also offer obfuscation!!!

    So you all need to obfuscate your code - your code is never safe!

    Then why do people write code in .NET???
    Last edited by sbasak; Mar 21st, 2003 at 08:57 AM.
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  11. #11
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by sbasak
    see this site

    http://www.remotesoft.com/salamander/

    they also offer decompilation!!!

    Then why to people write code in .NET???
    Now , I wanna all big projs that coded by .NET , you know why !
    Damn , this is the stupidest thing MS had done !


  12. #12
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    There are products called obfuscators that can prevent this decompilation.

    also you can use the ngen.exe tool that comes with .NET to compile to native machine language.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  13. #13
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Cander
    There are products called obfuscators that can prevent this decompilation.

    also you can use the ngen.exe tool that comes with .NET to compile to native machine language.
    Good news Cander .
    Are those tools in the IDE ??
    Thanks .

  14. #14

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    Is ngen.exe is included with VS.NET by default.

    Also, if it compiles EXE to platform specific, I think it should be faster than normal .NET EXEs. Isn't it?
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  15. #15
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    1)ngen comes with the .NET framework. which means yes iot sohlud be with your VS isntall

    2) I have heared conflicting reports on that. some say faster, some say slower. so i dont know.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  16. #16
    Addicted Member Zealot's Avatar
    Join Date
    Jul 2002
    Location
    Lisboa, Portugal
    Posts
    206
    Is there any tutorial for ngen?

  17. #17
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    no tutorial required


    ngen.exe path_and_filename_of _compiled_IL_assembly

    pretty simple
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  18. #18
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    anakrino worked fine for me but...isnt there a way to convert an entire EXE to a C# proj? is that see each method at a time in a big project sucks :\
    \m/\m/

  19. #19
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by PT Exorcist
    anakrino worked fine for me but...isnt there a way to convert an entire EXE to a C# proj? is that see each method at a time in a big project sucks :\
    No need I think , you can hack EXEs plus Dlls without being lazy to save it to another file or wait for progressbar . It's on the fly !
    Have you seen any .NET programmes (big big ones) just to play with them ?

  20. #20
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    tyes i've saw! the .NET framework itself! wouldnt it be gorgeous to have the project of a win form for example?!
    \m/\m/

  21. #21
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Sounds pathetic !

    hmm , I don't believe it's possible by the way ! For some reason or another MS will never let you look at Cryptography , Drawing , Security , or even Text Classes for example . Man , thye spent billions of dollars for development of .NET Framework .

    As I remember , I've seen in download.com an online gaming tool built with .NET Tech . I'll have look for it !

  22. #22
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    lol i can see the System.Windows.Forms namespace and see its classes so it is possible
    \m/\m/

  23. #23
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by PT Exorcist
    lol i can see the System.Windows.Forms namespace and see its classes so it is possible
    Umm , What tool did you use ??

  24. #24
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    that thinggy someone said in this topic..anakrin or a thing like this..lol
    \m/\m/

  25. #25
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    this is a method from a Form Class:
    \m/\m/

  26. #26
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Yeah I know , it did it but not with all classes and methods as I said atleast . It looks like C++ code ! What kind of idiot MS is ?

    Man , I wanna build my own classes out of that . lol

  27. #27
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm C++ code? that code was MSIL code and this tool let's u convert it to C# or C++.NET code lol sorry if i didnt understand ur question lol
    \m/\m/

Posting Permissions

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



Click Here to Expand Forum to Full Width