in reply to Re^2: Breaking a Filter::decrypt like source filter
in thread Breaking a Filter::decrypt like source filter

It's trivial to patch Perl to display the source code it parses.
  • Comment on Re^3: Breaking a Filter::decrypt like source filter

Replies are listed 'Best First'.
Re^4: Breaking a Filter::decrypt like source filter
by olego (Acolyte) on Jan 24, 2007 at 21:13 UTC
    Now we're talking!

    I've been trying to build an own Perl executable in a way it will work with the filter (was easy after all, just had to add the filter as static extension, but remember, I virtually don't have any knowledge on C, building Perl from source etc)

    Now with this step taken, can you give me a hint where/how I can patch Perl to print out the decrypted source code?

      No, I know very little about Perl's guts. Each of do, require and eval can compile and run code. I'd start with them. The code that handles these would be in a pp* file.