RE: [PHP] Reverse Engineering of Smarty

2006-02-06 Thread Finner, Doug
 -Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 2:47 PM
To: [EMAIL PROTECTED]
Cc: PHP-General
Subject: Re: [PHP] Reverse Engineering of Smarty

On Sun, 2006-02-05 at 01:12, Sumeet wrote:
 Rory Browne wrote:
  If you don't have backups, then:
  
   1: Why do you not have backups?
   2: Are you insane?
 
 hmm. totally uncalled for 

I don't know that it's uncalled for. I think Rory was drawing to
attention that not having some kind of backup of important code is
tantamount to incompetence. I would have to agree with Rory that if the
code was important enough to seek a method of reverse engineering to
retrieve the original, then some kind of system should have been in
place long ago. Might I suggest CVS? I would have to say that are you
insane is a bit softer on the ego than are you a complete moron.

Cheers,
Rob.
--
=
Interesting thread.  I'd suggest that what this thread really gets to an
important issue - how to _ask_ a question.  The orignal poster asked a
question but didn't provide enough information for the list to really
respond properly.  If you have backups and know you can restore from
backup and want to learn if you can reverse engineer something for
grins, well then say so and help the group provide you useful
information rather than whack you about the head and shoulders for
failing to properly backup your system.

Great resource here --
http://www.catb.org/~esr/faqs/smart-questions.html

OK, I'm off to tilt at other windmills.

Doug Quixote...

___
This e-mail message has been sent by Kollsman, Inc. and is for the use
of the intended recipients only. The message may contain privileged
or confidential information. If you are not the intended recipient
you are hereby notified that any use, distribution or copying of
this communication is strictly prohibited, and you are requested to
delete the e-mail and any attachments and notify the sender immediately.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Max Schwanekamp

Zareef Ahmed wrote:

 Accidentally I got deleted all of my php code in one of my application, I was 
using smarty and its compiled directory has the code in its native format.
Is there any way so I can do some type of reverse engineering to bring back my 
original code?


No, Smarty's compiled PHP is strictly for the output.  There is little 
connection (or there shouldn't be anyway) between your application php 
and the compiled php that Smarty produces when it parses a template file.


--
Max Schwanekamp
http://www.neptunewebworks.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Rory Browne
If you don't have backups, then:

 1: Why do you not have backups?
 2: Are you insane?
 3: What filesystem, and file recovery techniques have you researched/attempted?
 4: Why do you not have backups?
 5: Are you insane?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread tedd

Hi All,

 Accidentally I got deleted all of my php code in one of my 
application, I was using smarty and its compiled directory has the 
code in its native format.


Is there any way so I can do some type of reverse engineering to 
bring back my original code?


Any suggestion?

Thanks in advance.

Zareef Ahmed



Yeah, like that's what happened.

tedd

--

http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Sumeet

Rory Browne wrote:

If you don't have backups, then:

 1: Why do you not have backups?
 2: Are you insane?


hmm. totally uncalled for 

--
Sumeet Shroff
http://www.prateeksha.com
Web Design and Ecommerce Development, Mumbai India

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Patrick Aljord
There is unfortunately no way to reverse your code back, the only
thing you can do is google for file recovery techniques or just
recode the whole thing. If you don't have time for that, maybe
something like http://www.joomla.org/ could save your day.

Hope that helps

Pat

On 2/5/06, Zareef Ahmed [EMAIL PROTECTED] wrote:
 Hi All,

  Accidentally I got deleted all of my php code in one of my application, I 
 was using smarty and its compiled directory has the code in its native format.

 Is there any way so I can do some type of reverse engineering to bring back 
 my original code?

 Any suggestion?

 Thanks in advance.

 Zareef Ahmed


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
 Original Message - 
From: Rory Browne [EMAIL PROTECTED]
To: Zareef Ahmed [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Sunday, February 05, 2006 8:39 AM
Subject: Re: [PHP] Reverse Engineering of Smarty


If you don't have backups, then:

 1: Why do you not have backups?
 2: Are you insane?
 3: What filesystem, and file recovery techniques have you
researched/attempted?
 4: Why do you not have backups?
 5: Are you insane?

NO I am not insane.. but it happens sometime...
I have recovered it from my file system

Zareef Ahmed

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Robert Cummings
On Sun, 2006-02-05 at 01:12, Sumeet wrote:
 Rory Browne wrote:
  If you don't have backups, then:
  
   1: Why do you not have backups?
   2: Are you insane?
 
 hmm. totally uncalled for 

I don't know that it's uncalled for. I think Rory was drawing to
attention that not having some kind of backup of important code is
tantamount to incompetence. I would have to agree with Rory that if the
code was important enough to seek a method of reverse engineering to
retrieve the original, then some kind of system should have been in
place long ago. Might I suggest CVS? I would have to say that are you
insane is a bit softer on the ego than are you a complete moron.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
Hi All,

  A lot of  talk on that topic.

Actually project was very small, Accidentally deleted that,  was going to
restore it from backup on other filesystem, then just thought that there
must be something that can restore from compiled code. So ask the question
in this prestigious group,

Rightly I got good adjectives ;)

Well I am using CVS for all of my projects and do regular backups. Above all
filesystem restore is also available in most of such cases.

Lets close this thread,  we people really have many meaningful questions to
answers.

  Zareef Ahmed



- Original Message - 
From: Robert Cummings [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: PHP-General php-general@lists.php.net
Sent: Sunday, February 05, 2006 2:46 PM
Subject: Re: [PHP] Reverse Engineering of Smarty


 On Sun, 2006-02-05 at 01:12, Sumeet wrote:
  Rory Browne wrote:
   If you don't have backups, then:
  
1: Why do you not have backups?
2: Are you insane?
 
  hmm. totally uncalled for 

 I don't know that it's uncalled for. I think Rory was drawing to
 attention that not having some kind of backup of important code is
 tantamount to incompetence. I would have to agree with Rory that if the
 code was important enough to seek a method of reverse engineering to
 retrieve the original, then some kind of system should have been in
 place long ago. Might I suggest CVS? I would have to say that are you
 insane is a bit softer on the ego than are you a complete moron.

 Cheers,
 Rob.
 -- 
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'

 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Rory Browne
On 2/5/06, Sumeet [EMAIL PROTECTED] wrote:

 Rory Browne wrote:
  If you don't have backups, then:
 
   1: Why do you not have backups?
   2: Are you insane?

 hmm. totally uncalled for 


Are you insane? isn't considered rude where I'm from or anywhere I've
been?

If I'd wanted to be insulting there are a lot worse things I could have
said.

I also wanted to draw attn to the fact that backups aren't a bad thing (tm)