GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   nats url decoder (https://gfy.com/showthread.php?t=607365)

JD 05-08-2006 01:04 PM

nats url decoder
 
anyone know how or has something that will decode a NATS url?

mortenb 05-08-2006 01:25 PM

Yes, but why would you need it?

QualityMpegs 05-08-2006 01:32 PM

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

Nathan 05-08-2006 01:35 PM

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));

mortenb 05-08-2006 01:37 PM

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..

JD 05-08-2006 01:48 PM

Quote:

Originally Posted by QualityMpegs
to easily steal people's referral codes and replace them with their own?

:321GFY no. I want to see the real ID behind an encoded NATS url

StuartD 05-08-2006 01:50 PM

Quote:

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 :upsidedow

Juilan 05-08-2006 01:52 PM

You can't crack the code, it's in Navaho.


All times are GMT -7. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123