How can we help you today? How can we help you today?

Unable to decompile ASP.NET precompiled site

Hi,

Am consulting for a company whose source code got taken down by a malicious developer, they're left with only the contents of the web server ie; the published ASP.NET website files. The structure seems to be that each aspx page's code behind is compiled into a separate dll (of the format App_Web_{aspxfile}.{some id}.dll in addition to a number of class library DLLs....while the class libraries reflect easily, the decompilation of the code behind files doesn't go through, with the following errors (amongst others, ton of files! But the following are common)

System.NullReferenceException: Object reference not set to an instance of an object. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2592, offset:270 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2587, offset:340 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2584, offset:4181 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2583, offset:672

OR

System.IndexOutOfRangeException: Index was outside the bounds of the array. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6043, offset:41 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6031, offset:67 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6017, offset:27 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2927, offset:362 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 2583, offset:445

Any ideas would help! Don't need a perfect version of the source, but need to get at the logic to recode a few functions without starting from scratch if possible.

Thanks and best regards,
Nikhil
Nikhil Soneja
0

Comments

2 comments

  • Clive Tong
    If you are happy to, could you zip up (some) of the files and email them to me: clive DOT tong AT red-gate DOT com.
    Clive Tong
    0
  • Nikhil Soneja
    Sounds good, will just get the go ahead form the company and send those across to you, much appreciated!
    Nikhil Soneja
    0

Add comment

Please sign in to leave a comment.