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)
-   -   Any way to decode a NATS ID? (https://gfy.com/showthread.php?t=805162)

DigitalPimp 02-04-2008 03:01 PM

Any way to decode a NATS ID?
 
Anyone know if it is possible to convert another affilaite's NATS encoded ID to the unencoded version?

GrouchyAdmin 02-04-2008 03:17 PM

http://www.grouchyadmin.com/natsdecode/

Yes, it's possible. It's just a base64 value with the terminators stripped.

DigitalPimp 02-04-2008 05:11 PM

Thanks, so I put in my encoded NATS user name and got a number back, what do I need to do to that number to get my NATS user name?

StuartD 02-04-2008 05:13 PM

Quote:

Originally Posted by DigitalPimp (Post 13739663)
Thanks, so I put in my encoded NATS user name and got a number back, what do I need to do to that number to get my NATS user name?

Heh, for that you'd need the sponsor's database.
It's your database ID.

Jace 02-04-2008 05:18 PM

i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database

so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possible

kristin 02-04-2008 05:32 PM

Quote:

Originally Posted by GrouchyAdmin (Post 13739266)
http://www.grouchyadmin.com/natsdecode/

Yes, it's possible. It's just a base64 value with the terminators stripped.

When I put in my code I get 26:6:1. What is the 26?

The 6 is the program and 1 is the site id. But the 26 from what I know has nothing to do with me as a WM or anything in my backend to associate with anything Yappo/YappoDollars.

DigitalPimp 02-04-2008 05:51 PM

Quote:

Originally Posted by Jace (Post 13739680)
i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database

so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possible

Yeah that is what I wanted, oh well.

Quote:

Originally Posted by kristin (Post 13739746)
When I put in my code I get 26:6:1. What is the 26?

The 6 is the program and 1 is the site id. But the 26 from what I know has nothing to do with me as a WM or anything in my backend to associate with anything Yappo/YappoDollars.

Is it not the database ID of the account? If not, probably the database ID is derived from it somehow.

masterwebmonkey 02-04-2008 06:31 PM

function get_nats_info($decode){
$chars = strlen($decode);
$add = 4 - ($chars % 4);
if ($add < 4) while($add--) $decode .= '=';
list($campaignid, $programid, $siteid) = explode(':', base64_decode($decode));
return $campaignid . ' : '.$programid.' : '. $siteid;
}

the "26" in your example is the defualt campain id for that webmaster account

if the site uses "un-encoded" nats codes look for that ...

the format is USERNAME;26:SITE_SHORT_NAME:PROGRAM_SHORTNAME

masterwebmonkey 02-04-2008 06:34 PM

sorry that should have read

USERNAME:PROGRAM_SHORTNAME:SITE_SHORT_NAME

USERNAME;(campainid):PROGRAM_SHORTNAME:SITE_SHORT_ NAME

GrouchyAdmin 02-04-2008 06:43 PM

I guess everything's already been properly answered.

But, no, as stated, without the mapping of accountid to account, and programid to program you can not convert someone else's data accurately.

fuzebox 02-04-2008 07:12 PM

Quote:

Originally Posted by kristin (Post 13739746)
When I put in my code I get 26:6:1. What is the 26?

Campaign ID silly :winkwink:

kristin 02-04-2008 09:20 PM

Quote:

Originally Posted by fuzebox (Post 13740113)
Campaign ID silly :winkwink:

Yeah, I'm retarded.


All times are GMT -7. The time now is 02:23 PM.

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