Skip to main content
August 23, 2008
Question

Decompiling CFC applications

  • August 23, 2008
  • 2 replies
  • 1158 views
One of the original programmers at the company I work for now compiled some of the CFC applications we use for our shopping cart software. There have been some changes that have come up that require us to modify those components, but the original source code can't be found on the server.

I figure this is probably a sensitive subject since I don't think it's something people like to openly discuss reverse engineering of software, but luckily it is our software. Is there any way we can go about getting the original code?
    This topic has been closed for replies.

    2 replies

    Inspiring
    August 27, 2008
    > If your application is running a CFC, then odds are the CFC is on the server.
    > What happens if you restart your server? Does the CFC still run? CFC's are
    > not considered a true object oriented set of programming, if you have the
    > actual CFC file, then you may edit it.

    Unless of course - as the OP says - it's been compiled.

    You can decompile the Java byte code with a Java decompiler (use Google),
    but you cannot restore if from there to CFML. It's a one way trip.


    To the OP: how did you lose your source code? You've got a serious
    procedural (in the "work place" sense not the "programming paradigm" sense)
    problem there, which you ought to be looking at. Where's your source
    control?

    --
    Adam
    August 27, 2008
    If your application is running a CFC, then odds are the CFC is on the server. What happens if you restart your server? Does the CFC still run? CFC's are not considered a true object oriented set of programming, if you have the actual CFC file, then you may edit it.