nats url decoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JD
    Too lazy to set a custom title
    • Sep 2003
    • 22651

    #1

    nats url decoder

    anyone know how or has something that will decode a NATS url?
  • mortenb
    Confirmed User
    • Jul 2004
    • 2203

    #2
    Yes, but why would you need it?

    Comment

    • QualityMpegs
      Confirmed User
      • Feb 2003
      • 3521

      #3
      to easily steal people's referral codes and replace them with their own?

      PAYSITES CATEGORIZED AND THUMBNAILED BY NICHE - 69767780

      Comment

      • Nathan
        Confirmed User
        • Jul 2003
        • 3108

        #4
        As of NATS v3 this is a nats code:

        list($data, $tourid, $subid1, $subid2, $adid) = explode(',', $natscode);
        $chars = strlen($data);
        $add = 4 - ($chars % 4);
        if ($add < 4) while($add--) $data .= '=';

        list($campaignid, $programid, $siteid) = explode(':', base64_decode($data));
        "Think about it a little more and you'll agree with me, because you're smart and I'm right."
        - Charlie Munger

        Comment

        • mortenb
          Confirmed User
          • Jul 2004
          • 2203

          #5
          I doubt that, but no matter why he needs it the data you get from decoding a nats url is pretty uninteresting.

          We all know that the nats urls can come in two forms. The encoded and the clear text.. The thing is that the encoded version is not just an encoded version of the clear text version - it encodes some id's instead.. Which would be pretty useless to most of us..
          Last edited by mortenb; 05-08-2006, 12:39 PM.

          Comment

          • JD
            Too lazy to set a custom title
            • Sep 2003
            • 22651

            #6
            Originally posted by QualityMpegs
            to easily steal people's referral codes and replace them with their own?
            no. I want to see the real ID behind an encoded NATS url

            Comment

            • StuartD
              Sofa King Band
              • Jul 2002
              • 29903

              #7
              Originally posted by Nathan
              As of NATS v3 this is a nats code:

              list($data, $tourid, $subid1, $subid2, $adid) = explode(',', $natscode);
              $chars = strlen($data);
              $add = 4 - ($chars % 4);
              if ($add < 4) while($add--) $data .= '=';

              list($campaignid, $programid, $siteid) = explode(':', base64_decode($data));
              It sure is a good thing you set up this GFY board to answer questions and do support
              This is me on facebook
              This is me on twitter

              Comment

              • Juilan
                Sultan of Swing
                • Feb 2004
                • 15141

                #8
                You can't crack the code, it's in Navaho.
                My Best Converting VOD Sponsor |

                Comment

                Working...