No one's probably going to be able to help because this perl itself does nothing but run an external command /usr/bin/faalsoft-oscamlast (presumably some sort of license or "copy protection" helper, given the obfuscation) with the argument "Q0IpKxohIQU9aC8MJg==" (possibly base64 encoded from the look but decoding doesn't provide anything elucidating). There are two pairs of pipes set up before the call is done and it reads back perl code from the first pipe presuming no output was produced on the second. Unless you had the code returned (stored in $UnxmOTO after the subroutine call) there's nothing here to "decode". As to the block of data after the __END__ it doesn't look to be accessed in this code at all (unless I've overlooked something; it's getting past bedtime . . .).

Edit: Really other than the terrible formatting and garbage names used, there's nothing particularly "obfuscated" about this code in and of itself and it's pretty trivial. Any "magic" or real work done is by whatever payload the executable returns (which could of course be further obfuscated, or jump through another layer (e.g. calling the command with a different argument/key to produce another different chunk of code that does something else), or . . . . Maybe that returned code is doing something with the DATA filehandle and the rest of the trailing blob. /shrug

The cake is a lie.
The cake is a lie.
The cake is a lie.


In reply to Re: decode a file by Fletch
in thread decode a file by 3N3RGY

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.