Hacking Dominos Coupon Generator – Free Dominos Pizza Coupons & Discounts

After multiple failed attempts to place an order of pizza and getting tired of taking follow-ups from folks at Axis Bank and Bill Desk (the gateway that  takes care of Dominos's online pizza orders) , I was frustrated a lot. Then , I came across Domino's Slot machine coupon generator. An innocent looking random coupon generator that is purely JS based and is easily hackable. NOW I AM NOT SAYING I HACKED IT AND ORDERED FREE PIZZA's , the payment gateway sucks soo much that I didn't ordered anything. But yes, I do have something to share with you.

Fire up your Google Chrome (that's enough) and open

http://pizzaonline.dominos.co.in/slot-machine/process-slot.php

You will see the Coupon Generator, fill in the captcha and play it, in normal circumstances , chances are -

  • You will win a coupon , if you are feeling lucky, you can try once more and then if you win again, you will have to deal with the final discount coupon you get.
  • You will get a "Try Again", you can try till the case 1 is fulfilled.

Go to Dominos Coupon Generator

Lets turn the tables ,fire up developer console by pressing F12 .

Fireup Developer Console - the prohack.com

navigate to scripts – > slot.jsGo to Slots.js - theprohack.com

Open slots and navigate to this code

change values - theprohack.com

and change the attempts value to anything you wish

change values - theprohack.com

 

Now navigate to this code

change values - theprohack.com

and change the value to 1

change values - theprohack.com

Now time to change duration values

$('#slot'+(slots+1)).animate( { backgroundPosition:"(0px "+bgPos+"px)"}, { duration: (10000+(slots*500)), complete: function(){
limit++; //console.log(limit);
if(limit == 4){

 

Change the subjected function to

$('#slot'+(slots+1)).animate( { backgroundPosition:"(0px "+bgPos+"px)"}, { duration: (1+(slots*1)), complete: function(){
limit++; //console.log(limit);
if(limit == 4){

once done , slot timers and duration will be ultra quick.

Press Ctrl + S and click on Start / Try Again and see the results : ) Cool huh ? 

Now tinker with some innocent looking functions for your experiment : ] and enjoy.

Check this For loop and especially check for #slot values and value of i , also, some crazy things can be done by changing the pixel values

if(buttonState == 'Try Again' || buttonState == 'Please wait...'){
               var i=1;
               for(i=1;i<=4;i++)
               $('#slot'+i).css('background-position','0px 0px');
           }

Or Look for this function

$.post('process-slot.php',{ session_id : session_id},function(json){               
                var slot_result = slot_result_desc = ''; var limit = slots = 1;

 

Now again, I wont be divulging much here : P , you can modify completely the way the slot generator works and generate according to your whims : ] Work your way out.

Jackpot - theprohack.com - hacking Dominos Coupon Generator

 

PS : I did went into the site looking for coupons by being a Dominicon but the coupons there are just pathetic and almost same for all the traits like lazycon/freebicon etc.

Back to Cybernating.

12 Responses to “Hacking Dominos Coupon Generator – Free Dominos Pizza Coupons & Discounts”

Rafaybaloch said...
August 13, 2012 at 2:59 AM

Unique one my friend. 


b2 said...
August 20, 2012 at 4:37 PM

anybdy,,,,, found it working???


Rishav said...
August 24, 2012 at 5:11 PM

I am not able to edit scripts in chrome. Can you please tell me how to do it?


Harsh said...
September 6, 2012 at 8:07 PM

kindly explain how to save the javascript after changing and how to apply the changes effectively. Ctrl+S not working or maybe i dont understand it properly.

Thanks in Advance
Harsh


mmm said...
September 12, 2012 at 4:44 PM

hey can u help me i don't know js really, but wanna have a jackpot what should i change?


random said...
September 15, 2012 at 12:36 PM

Yeah, You can edit to play it for fun ! But you can't get the slot to generate a jackpot.


Tushar said...
September 15, 2012 at 6:14 PM

It is not working....dude.::))


anon said...
September 27, 2012 at 6:42 PM

brilliant


Holy Comet! said...
October 5, 2012 at 7:41 PM

Won't really help because the result is generated by process-slot.php
Our slot.js is only trying to fetch the values and prepare the UI. So this can just manipulate UI, not actual results.
But of course, we can modify slot.js and keep doing brute force on it till we win :P


Gaurav Goel said...
October 6, 2012 at 8:42 AM

Awesome!! I found it too. :-) I love the chrome's javascript console.


gulshandotrugby said...
November 6, 2012 at 5:59 PM

how to edit duration values


gulshandotrugby said...
November 6, 2012 at 6:00 PM

how to edit duration values


Post a Comment

Need to say something ? Spell it out :)

All Rights Reserved by Pro Hack . Copyright 2008 - 20011. Template by Bloggermint .