Skip to content

Instantly share code, notes, and snippets.

@ujjwalk308
Created September 2, 2014 11:09
Show Gist options
  • Save ujjwalk308/875d10db75bb09c4f977 to your computer and use it in GitHub Desktop.
Save ujjwalk308/875d10db75bb09c4f977 to your computer and use it in GitHub Desktop.
Xiaomi Mi3 and Redmi 1S Flipkart Booking Trick – 100% Working Script
/* Magic Script. But the question is, will this work? :3 FUCK YEAH IT DID, FGT! */
function getMyToken() {
var cookies = " " + document.cookie,
cookieName = "aid";
var index = cookies.indexOf(" " + cookieName + "=");
if (index == -1) {
index = cookies.indexOf(";" + cookieName + "=");
}
if (index == -1 || cookieName == "") {
return false;
}
var lastIndex = cookies.indexOf(";", index + 1);
if (lastIndex == -1) {
lastIndex = cookies.length;
}
return unescape(cookies.substring(index + cookieName.length + 2, lastIndex));
}
var url = 'http://api1.flipkart.com/xmi?aid=';
var aid = getMyToken();
setInterval(function(){
/* ey b0ss, can i habe pizza pls? */
$.ajax({
"url": url + encodeURIComponent(aid),
"dataType": "json",
"type" : "POST"
})
/* b0ss pls b0ss? i want to habe pizza pls */
.done(function (data) {
console.log(data.status);
});
}, 1000); /* *Sending request after 1000ms, you can reduce this further. MORE REQUESTS = UR BAN BRUH, UR BAN!! */
@rahuldesai7777
Copy link

Using a single internet connection on two laptops (one connected through LAN and other through wifi) will generate the same IP address??

@hashroot
Copy link

yes same ip

@NikhilDoWhile
Copy link

Could make it as container, that is rather than limited to one phone could be used to order other phones too. As redmi and Xiaomi keep on launching new products every now and then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment