334
Meta
6y

This may be limited to Germany:

Apparently you can get free vouchers (from 2 to 5 euros in value) on the website "pizza.de".

There is a lottery kind of game right now on this URL: https://pizza.de/casino/

If you just open the developer console and run "win()", you "win" the game and can enter your phone number to get your voucher 🤔

What idiot programmed this?
What idiot reviewed this?
What idiot put this live?

Comments
  • 28
    Wow just tried that for the sake of fun.I don't even live in Germany.
    That was fun.Maybe you should contact pizza.de and tell them what you found
  • 26
    Someone learning maybe... At least that's what I hope, if we're talking about a senior developer then the world is falling apart
  • 3
    LOL. 😄
  • 59
    I will eat free pizza for a week, then tell them
  • 29
    I think a few years back you could add anything as a pizza topping (or product) by just invoking some js method like .add(“something bogus”, 1.99). And yes, 1.99 was the price. 😄
  • 38
    Hope they deliver to Bulgaria.
  • 30
    @Picard Did they check for negative prices? 😁
  • 9
    Dont tell them. Nooooooo i want pizza. (gave my 2 euros here)
  • 0
  • 4
    Wtf I hate JavaScript
  • 2
    @theannomc1 I think they cannot sue you unless you are accepting T&C where they forbid it. Not 100% sure though
  • 38
    Maybe the Developer Added it on purpose to leave it as backdoor for himself 🤔
  • 12
    It's a feature
  • 1
    Oh my freaking god, this is insane xD
  • 3
    what kind of sorcery is this!!!???
  • 34
    Senior developers do it. I have seen something similar where someone has a function loginSuccess where you can just pass the user ID and it would log you in.

    I contacted them and told them about it.

    His reply was, no body knows it. Don't tell it to others or we sue you.
  • 10
    Did you mean:

    What genius programmed this?
    What genius reviewed this?
    What genius put this live?
  • 8
    @intromatt they will if you find the maximum delivery range js property 😄

    "in Berlin: hey Erhan! there's a order from bulgaria, pizza.de says you have to deliver it. 😳 "
  • 2
    shites, you can't use the same phone number twice -_-'
  • 4
    It still works! Sending out vouchers to friends and family!
  • 8
    The console output suggests to me that this is not entirely unintentional.
  • 5
    @hrombach Or he's just forgetten to remove his console.log
  • 1
    Holy shit ur actually right
  • 1
    Dude it's kinda like pizza huts survey: you find out a store number, you get 10$ off 20+ order whenever
  • 1
    Thanks for sharing
  • 6
    Another error, if you open in a private tab you can play as many times as you want '-'
  • 1
    @henseiderv you can’t reuse the same phone number though
  • 2
    @zmzmuazzam98 100% do this, they'll probably give you a reward of some kind
  • 6
    This is just lead gen tool. They want to get you ordering and will upsell. I have built fake competitions like this before which are cheatable in console. No need for backend because they client just wanted people to order using the code.
  • 2
    The 404‘d the site.
  • 1
    This is fun because they just got free advertising to all our German friends on here
  • 0
    @AlexDeLarge oh, c'mon! I went through all those comments to look if someone made that joke already and of course you did! Damn!
  • 0
    It's seriously still exposed xD ?
  • 1
    I think they just fixed it 😟
  • 2
    I guess if you tell them you can convert from a black hat to a pizza hat.
  • 0
    I do not like Javascript, but it is still not bad. Codes on entertainment sites are always terrible. See what code is here : https://rocketpayz.com/uk-online-ca... . This is very funny)
  • 0
    I don't think you can make money this way
  • 0
    Such business conversations are interesting to me and I always consider any sources of income available to me. But I also utilize games to increase my money. I started playing online, and it was a terrific way for me to make money. In this situation, this source has truly been a blessing. It assist in selecting the best choice https://www.ninjacasino.com/ I can now learn about all the benefits and drawbacks of each position thanks to this.
  • 0
    You need to play only in legal and licensed online casinos, then there will be no problems. There are many opinions of different users on the Internet about the online casino license. I personally believe that this should be treated objectively and impartially, because if there is such an organization that gives permission for the operation of gambling clubs, and, moreover, operates legally, and is also in demand, then it has the right to its activities. It also issues licenses to legal online casinos and gambling houses that operate in accordance with accepted regulations and therefore, in most cases, within the framework of the law.
Add Comment