Advertisement
Guest User

Untitled

a guest
Aug 7th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.59 KB | None | 0 0
  1. ERRORRESUME('1');
  2. SET('PREFIX', '{PARAM0}');
  3. SET('COUNT', '{PARAM1}');
  4. SET('PASSWORD', '{PARAM2}');
  5. SET('DOMAIN', '{PARAM3}');
  6. IF(GET('DOMAIN'), '=', '', SET('DOMAIN', 'pokemonptc.tk'), PASS());
  7. WC_ClearCookies();
  8. SET('INDEX', '');
  9. LOG('Program Starts');
  10. LOG('Please wait');
  11. SET('JSON', '{  "AuthType": "ptc",  "GoogleRefreshToken": null,  "PtcUsername": "<USERNAME>",  "PtcPassword": "<PASSWORD>",  "GoogleUsername": null,  "GooglePassword": null }');
  12. WHILE(LENGTH(GET('INDEX')), '<', GET('COUNT'),
  13.    WC_ClearCookies();
  14.    SET('PG', WC_MethodPage('https://club.pokemon.com/us/pokemon-trainer-club/sign-up/', 'GET', '', ''));
  15.    SET('MTH', MI_Add(SO_RandomNext('12'), '1'));
  16.    SET('DD', MI_Add(SO_RandomNext('27'), '1'));
  17.    SET('YY', MI_Add(SO_RandomNext('25'), '1980'));
  18.    SET('TOKEN', SO_TagMatchSingle(GET('PG'), 'name=''csrfmiddlewaretoken', 'value=''', ''''));
  19.   SET('DOB', JOIN('-', GET('YY'), GET('MTH'), GET('DD')));
  20.   SET('PS', JOIN('', 'csrfmiddlewaretoken=', GET('TOKEN'),'&dob=', GET('DOB'), '&country=ID&country=ID'));
  21.   SET('PG2', WC_MethodPage('https://club.pokemon.com/us/pokemon-trainer-club/sign-up/', 'POST', GET('PS'), 'referer=https://club.pokemon.com/us/pokemon-trainer-club/sign-up/'));
  22.   SET('TOKEN', SO_TagMatchSingle(GET('PG2'), 'name=''csrfmiddlewaretoken', 'value=''', ''''));
  23.   SET('INDEX2', SO_RandomString('3'));
  24.   SET('PS2', JOIN('', 'csrfmiddlewaretoken=', GET('TOKEN'),'&username=', GET('PREFIX'), GET('INDEX2'), '&password=', SO_UrlEncode(GET('PASSWORD')), '&confirm_password=', SO_UrlEncode(GET('PASSWORD')), '&email=', GET('PREFIX'), GET('INDEX2'), '%40', GET('DOMAIN'), '&confirm_email=', GET('PREFIX'), GET('INDEX2'), '%40', GET('DOMAIN'), '&public_profile_opt_in=False&screen_name=', GET('PREFIX'), GET('INDEX2'), '&terms=on'));
  25.   SET('PG3', WC_MethodPage('https://club.pokemon.com/us/pokemon-trainer-club/parents/sign-up', 'POST', GET('PS2'), 'referer=https://club.pokemon.com/us/pokemon-trainer-club/parents/sign-up'));
  26.   IF(GET('PG3'), 'CONTAINS', 'Thank you for creating an account',
  27.      SO_AppendFile(JOIN('', 'Bots\', GET('PREFIX'), GET('INDEX2'), '\config\auth.json'), REPLACE(REPLACE(GET('JSON'), '<USERNAME>', JOIN('', GET('PREFIX'), GET('INDEX2'))), '<PASSWORD>', GET('PASSWORD')));
  28.      SO_AppendFile(JOIN('', 'Bots\', 'StartAll.bat'), JOIN('', 'START PokeMobBot.exe ', GET('PREFIX'), GET('INDEX2')));
  29.      LOG(JOIN('', 'Username ', '', GET('PREFIX'), GET('INDEX2'), ' Password ', GET('PASSWORD'), ' (please wait for auto email activation)'));
  30.   ,
  31.      LOG(GET('PS2'));
  32.   );
  33.   SET('INDEX', JOIN('', GET('INDEX'), '1'));
  34. );
  35. LOG('Program Ends');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement