24 ms·
I reverse engineered McDonalds’ internal API
- lurker619 6y agoHope this wouldn't be prosecutable as hacking?
- dogma1138 6y agoIt is, but more likely he’ll get fired by his current employer which according to his Twitter profile is Yelp.
- geoffpado 6y agoFired? If Yelp has any sense, they’ll add this as a feature. “Ice Cream Available” status on all McDonalds Yelp pages.
- swarnie_ 6y agoYou don't willingly fuck with Ronald's lawyers. The soulless Muppets are brutal even when dealing with Hippies. Imagine what they would bring down on a semi-legitimate business like Yelp.
- ransom1538 6y agoFederal and state [1] (depending). Computer Fraud and Abuse Act of 1984. Easy to prosecute, jury wont understand anything. The penalties are horrific Related, Terminator (1984) was also released during this year. https://casetext.com/statute/kentucky-revised-statutes/title-40-crimes-and-punishments/chapter-434-offenses-against-property-by-fraud/unlawful-access-to-a-computer/section-434845-unlawful-access-to-a-computer-in-the-first-degree https://casetext.com/statute/kentucky-revised-statutes/title...
- devxpy 6y agoOh boy, such fun. The chrome inspector is probably the most awesome thing about browsers. For mobile apps, it takes a lot more gymnastics, and you have to use something like Charles proxy. But once you get the API, it's very exciting and can potentially save you a lot of money in API subscriptions!
- monksy 6y agoWhat's the chance this guy becomes the next Aaron Schwartz. (RIP.. but big corps don't play)
- deleted 6y ago[deleted]
- mkl95 6y agoI think someone at McDonalds may lose their job because of this.
- brokenmachine 6y agoOr... they could just modify the API a little and keep the guy who has learned something that didn't really cost them anything, and that a new hire is unlikely to know. But you are right, corporations do usually prefer to behave in a psychopathic manner.
- Nbox9 6y agoYou’re essentially asking what the chance that the author kills themselves in the near future. It would be poor taste to speculate on that.
- Wingman4l7 6y agoNo, I think they're referring to the part where Aaron was "made an example of" by an overzealous prosecutor.
- nsxwolf 6y agoWell they did throw in "RIP". Which can be used in a non-literal way, but considering the context here...
- chordalkeyboard 6y agoContext being that he was driven to suicide by overzealous prosecution.
- saagarjha 6y agoWhile humorous, this seems actively malicious and I don't think McDonalds will look at it very favorably…
- petters 6y agoIt definitely is malicious if he actually places orders. Jail seems like a possibility if every restaurant actually is affected.
- Nextgrid 6y agoWouldn't he need to pay to actually place the order though?
- blacksmith_tb 6y agoNot on an internal API I wouldn't think - he's just spoofing that volume of orders from registers, as if customers had walked into all stores and all ordered the same ice cream simultaneously.
- gremlinsinc 6y agoIt's more like they ordered from mobile, but didn't checkin/pickup so they're not wasting food or $$. > to clarify how this works: mcdonald's keeps track which locations have a broken machine, I'm merely querying for those - no order gets executed, no ice cream is actually wasted
- RobRivera 6y agoYes, another case of a little whitd lie to grab eyeballs. Drafting an order and placing an order are 2 distinct states of an order
- fareesh 6y agoIf he's just triggering "Add to Cart" and the system responds with "Ice Cream Machine Broken" then it's relatively less harmful. As he says, it probably messes with their data. Unlikely that he's spending $18000 per minute.
- aliabd 6y agoFrom creator[1]: “I reverse engineered mcdonald's internal api and I'm currently placing an order worth $18,752 every minute at every mcdonald's in the US to figure out which locations have a broken ice cream machine” [1] https://twitter.com/rashiq/status/1319346264992026624 https://twitter.com/rashiq/status/1319346264992026624
- duxup 6y agoHard to imagine that lasts long...
- samtheprogram 6y agoIt seems the first explanation given wasn’t entirely accurate (or is at least misleading), as they continued roughly 50 minutes later: > to clarify how this works: mcdonald's keeps track which locations have a broken machine, I'm merely querying for those - no order gets executed, no ice cream is actually wasted Maybe in reality, the order is created, but not actually “placed” in order to query the above info? Or maybe the first tweet was simply clickbait... https://twitter.com/rashiq/status/1319358458429345795?s=20 https://twitter.com/rashiq/status/1319358458429345795?s=20
- morenoh149 6y agoClickbait for sure
- corentin88 6y agoWhat I’m understanding is that the order is placed, meaning it’s in checkout. But he’s not actually fulfilling it, meaning he didn’t ordered/paid for ice creams for real.
- city41 6y agoSomeone on Twitter also mentioned ice cream orders don't actually get filled until you arrive at the restaurant (which does make sense), providing an extra fail-safe for this.
- zachrose 6y agoThe map in the Twitter thread doesn’t seem to support this, but from the cities listed on the page it seems like the colder cities have more broken ice cream machines.
- schoolornot 6y agoNot sure where this data is coming from but for months now I've been ordering ice cream through the McDonalds app only to find out when I get there that the machine is broken and that they can't cancel or refund the order, which ultimately results in a stressful cash refund. It's happened multiple times at various locations around Manhattan. Eventually I'll just use this method to get 30-day cash loans on my credit card.
- deleted 6y ago[deleted]
- ThinkBeat 6y agoTake it from someone who has spent a few summers troubleshooting, fixing, flushing and cleaning soft serve ice cream machine. If they are not working one day do not go back there and buy ice cream. There are few employees who are trained to maintain and clean those thing at McDonald's. If they get gross they usually just turn them off which cuts the cooling and then it gets very very nasty. Getting a bellyache is the bear to hope for. Disclaimer. I didn't work for McDonald's and it was two decades ago. It still puke a little if I even see people eating it 3 hours I'm a closed kiosk at 31C cleaning out machines is a nightmare. The smell is horrible. But they didn't allow opening the flaps and letting air conditioning since it would be optically and stinkwise off putting for customers
- cvhashim 6y agoMcDisgusting
- majewsky 6y agoWorst. ATM. Ever.
- fma 6y agoWell if you keep doing this and your credit card gives like a 5% cash back on restaurant purchases...this is virtually free money?
- 6y ago
- geocrasher 6y agoMischievous Maven Makes Marvelous McDonalds Map Denoting Delicious Dairy Deliverability
- swarnie_ 6y agoThe link is already down.... Who has an archive?
- itake 6y agonot down for me. I noticed Twitter can have issues with Firefox. Maybe its a browser problem?
- heavyset_go 6y agoWorks for me.
- Ragnis 6y agoIt seems that Twitter doesn't always work on Firefox. The Tweet says: > I reverse engineered mcdonald's internal api and I'm currently placing an order worth $18,752 every minute at every mcdonald's in the US to figure out which locations have a broken ice cream machine Accompanied by a link to https://mcbroken.com/ https://mcbroken.com/
- barnabask 6y agohttps://mcbroken.com/ https://mcbroken.com/ is fine right now
- 533474 6y agoHe wouldn't have tweeted it if it was malicious -- he could have even kept it secret. What is it with HN? little pranks, reverse engineering, vulnerabilities, free ice-cream. I do not condone crime but let's be honest, he could have made money with his findings online...the person is just letting his curiosity go wild. If Yelp wants to fire him I'd take him in my company any day.
- deleted 6y ago[deleted]
- 533474 6y agoSarcasm aside -- I hope this guy is joking for real...
- jawns 6y agoYou probably have a different definition of malicious than most of us. What you're thinking is, "Did he do this to break things at McDonald's or actively hurt them in some way?" But if he's hitting an internal API and creating a bunch of fake orders for the purpose of gathering data, that's malicious, whether or not it breaks anything on McDonald's side.
- whatshisface 6y agoWhen will this guy realize that the only acceptable pastime for hackers, post-2020, is having long discussions that involve the word "policy" many times?
- 533474 6y agoIt is all hipsters now; hackers having fun not for profit r long gone in another era. Lets see how fast this kid gets himself behind bars for trying to outwit a corporation. I agree that he overdid it but he might only see his wrongdoing in hindsight. I'm glad my comment picked up some steam; we are too locked in chains behind rules nowadays, kids can't have a little fun anymore. He can be a valuable asset to any company than falling in the hands of real criminals behind bars
- briefcomment 6y agoThis site is so clean. If the creator sees this, or if anyone else has the knowledge or pointers, I would like to know how to create a basic one page site with a map interface just like this one. I have zero programming experience for reference.
- et-al 6y agoThe most basic version of this would be an Google Maps embed, but you'll quickly run into styling and interaction limitations. Not the author, but McBroken looks to be built with Mapbox's Javascript library, so you'll need to break out a text editor. They have some good starter docs here: https://docs.mapbox.com/mapbox-gl-js/example/simple-map/ https://docs.mapbox.com/mapbox-gl-js/example/simple-map/ You can learn a lot by signing up for an API key from Mapbox and tweaking their example code. They even provide online editors so you don't even need to work with an HTML file locally (though I'd still recommend that for permanence). No React, no Webpack needed!
- briefcomment 6y agoThank you. Do you think the side panels (especially the dynamic one on the left) are a part of the Mapbox interface, or something separate?
- rkv 6y agoSomething separate (ie. custom code). You can use "Inspect Element" in your browser to confirm.
- et-al 6y agoAs rkv said, that's a list built in React. The elements (store locations) in the list are filtered by what's in the map's viewport. There are also mouse event handlers on the list and on the map which trigger interactions between the two. This site receives all its data via vector tiles [0]. So as you pan around, you fetch basic visual map information (what the geography looks like) and McDonald's data at the same time. [0] https://docs.mapbox.com/vector-tiles/specification/ https://docs.mapbox.com/vector-tiles/specification/
- alexchamberlain 6y agoIsn't this very illegal?
- balls187 6y agoNot a Lawywer: What law is he breaking (relative to both the US and Germany)? In US criminal law, there is the Computer Fraud and Abuse Act, which has very specific narrow provisions, including the test of "has to intentionally cause damages to a computer system part of interstate or foreign commerce." Which does not apply here. McD's would have to pursue, instead, a civil case, based around a EULA or ToS, tantamount to breach of contract, and to recover damages. I would assume that Ronald McDonald Esq would just issue a form Cease and Desist, and call it a day.
- alexchamberlain 6y agoUnder the Computer Misuse Act in the UK, unauthorised access is enough, especially if it impedes other uses from legitimate access. (IANAL either mind)
- brokenmachine 6y agoCould that really be considered unauthorised access, considering it's a public-facing API that every customer interacts with?
- ergocoder 6y agoJust bcause my house's door is open, it doesn't mean you can come in. Making a mistake once or twice is fine. Attempting to enter my house 18,000 per minute? Yeah, it is probably illegal. But I'm not a lawyer neither are you.
- ev1 6y ago> [DMCA] section 1201 creates a potential legal obstacle for a researcher or coder if a software vendor employs mechanisms that control the way copyrighted software or other materials can be accessed or used. Many people think of section 1201 as prohibiting cracking digital rights management schemes (DRM). However, the language of section 1201 prohibits more than breaking traditional “copy-protection” mechanisms applied to DVDs and digital video downloads. It also prohibits breaking “access controls”. Software vendors have argued, or are likely to argue, that techniques such as authentication handshakes, code signing, code obfuscation, and protocol encryption all qualify as “technical protection measures” protected by the DMCA. EFF has an interesting take: https://www.eff.org/issues/coders/reverse-engineering-faq https://www.eff.org/issues/coders/reverse-engineering-faq
- jawns 6y agoSome details here: https://www.producthunt.com/posts/mcbroken https://www.producthunt.com/posts/mcbroken A commenter asks: "How are you funding the $18k per minute this requires?" He replies: "I'm actually not paying for it! just placing an order." I'm not sure how he's placing an order without payment information, or if he is providing payment information, how he's managing to not get charged for successful orders (when the ice cream machine is not broken). Perhaps the payment doesn't go through until he arrives to pick up the order?
- ceejayoz 6y ago> Perhaps the payment doesn't go through until he arrives to pick up the order? Correct, and the order doesn't start being prepared until you hit the "I'm here" button on the app, either. I once forgot to hit "I'm here" and they were confused because, to the store, it didn't exist, so there's no harm to the stores at all here.
- jawns 6y ago> so there's no harm to the stores at all here Maybe not in terms of them preparing the food ahead of time and not getting paid for it. But there's substantial potential for harm if this clogs up the ordering system and affects their ability to fulfill other orders.
- ceejayoz 6y agoIf one (canceled!) order per store per minute clogs the McDonalds ordering system, they've got bigger problems.
- 0xffff2 6y agoWhat's the point of even ordering through the app then?
- ceejayoz 6y ago1. It's still fairly convenient; I find it easier than verbally ordering. 2. I believe it's the only way to get curbside pickup instead of going through the drive through. 3. It functions as a loyalty card; there's always $1 large fries, you get a free coffee drink after every 5, etc.
- saagarjha 6y agoSeems like the website has folded under the load and is McBroken itself ;)
- aliabd 6y agoAFAIK, reverse engineering APIs isn’t illegal. [1] There are some (VC backed) start ups that are open about doing it. Teller API is an example. [2] [1] “Reverse engineering generally doesn't violate trade secret law because it is a fair and independent means of learning information, not a misappropriation. Once the information is discovered in a fair and honest way, it also can be reported without violating trade secret law.“ https://www.eff.org/issues/coders/reverse-engineering-faq https://www.eff.org/issues/coders/reverse-engineering-faq [2] “We reverse engineer these apps to discover their secret API contracts and then implement clients for them.” https://teller.io/ https://teller.io/
- jawns 6y agoPlacing bogus orders using a reverse-engineered API, however, is likely illegal. Especially at the speed and scale at which he is purportedly doing it.
- deleted 6y ago[deleted]
- throw_m239339 6y ago> AFAIK, reverse engineering APIs isn’t illegal. [1] No, but unauthorized access to a remote server can be. Just because something is unsecured doesn't give one the right to access it. Anyway I would not take that gamble personally and risking indicted federally for computer fraud. https://criminal.findlaw.com/criminal-charges/hacking-laws-and-punishments.html https://criminal.findlaw.com/criminal-charges/hacking-laws-a... I'm not a lawyer and neither are you.
- mhh__ 6y agoIn some jurisdictions I think they basically have a blank cheque to get you on any misuse (https://www.legislation.gov.uk/ukpga/1990/18/contents https://www.legislation.gov.uk/ukpga/1990/18/contents)
- DenseComet 6y agoWhat in the world is Teller? Are they an actual company with an actual product? The authentication demo on their website is the exact same as Plaid Link, down to the wording. There isn't even a sign up link or pricing page, but they've somehow raised 4 million dollars [1]. https://techcrunch.com/2020/01/27/teller/ https://techcrunch.com/2020/01/27/teller/
- transfire 6y agoLOL! It's so ridiculous that this is a problem so often. I was in McDs once when the service guy was there. I overheard him say it would be $9,000 to fix just the shake side of the machine. I thought to myself, "That's a lot of milkshakes! There's a grocery store in the same parking lot... gallon of ice cream, some milk, and a blender. Problem solved."
- cm2012 6y agoYep, and two folks in a garage can build FB in a week, its just a DB right?
- m0zg 6y agoI mean, the OP is literally right - ice cream + milk in a blender results in a better milkshake. Try it sometime. That's how milkshakes are made at a lot of the other restaurants.
- cm2012 6y agoYep and a social network is literally just a database with some pages attached. People make them all the time in basic programming classes.
- m0zg 6y agoDon't be dense. What I described is the _official_ and _correct_ way to make milkshakes that you will find in any decent cookbook. You've responded with false equivalence.
- quickthrower2 6y agoMCD optimise for speed and throughout though.
- m0zg 6y agoThroughput of a broken shake machine is zero.
- jacobsenscott 6y agoThis site is now McBroken? McDonalds must have patched their api.
- bartread 6y agoIt's working: it's just slow, presumably because we've hugged it nearly to McDeath. Also a shame the only country it supports at the moment is the US because I could really do with checking whether the ice cream machine at the McDonalds up the road is working or not.
- siltpotato 6y agoAh yes, I hate it when McHacker-News readers McSlashdot a McWebsite. Seriously, there needs to be a PSA about this for technical forums whenever a link is detected: "This forum has $N readers, and about $FRAC of them will click on this link. Are you sure the site you are linking to can handle it?"
- swyx 6y ago> McDeath shush! we do not speak the name of the Scottish play on stage
- jacobsenscott 6y agoWTF is wrong with ice cream machines? It isn't just mcdonalds where they are almost always broken. I don't remember that being the case when I was a kid.
- gruez 6y agoThis question comes up frequently on reddit, and the oft repeated reasoning is: 1. the machines need to be cleaned every n hours 2. there's no failover 3. you're likely to visit the mcdonalds at the same time (eg. getting home from work) so if you're unlucky with timing, the machine would appear to be always broken from your perspective.
- ThePadawan 6y agoI don't know how old you are, but growing up in the 90s, my dad (a food scientist) was mostly fine with me eating crappy fast food once in a while. The only hard rule he had was "never eat soft serve ice cream". Before technology was all there, the machines back then were apparently nightmares in terms of safety.
- jessaustin 6y agoThey were good for our immune systems! Kids these days don't know how easy they have it!
- ThePadawan 6y agoI do have Ulcerative Colitis. The research is still out on how the Hygiene Hypothesis supports its occurrence. Personally, I'd have liked to climb more trees and eat more dirt.
- wnissen 6y agoJust a note, the machines are not broken, they have shut themselves down for sanitary reasons. Ice cream, as a food that is very close to neutral in pH and without much in the way of preservatives, is a common source of listeria bacteria. To prevent serious health issues, the machine must be sanitized regularly. As I understand it, the process is involved, and any given McDonalds may not have a person with the time and skills to complete it. So the machine shuts itself down rather than produce an unsafe product. This is translated to "broken" when you order ice cream.
- missedthecue 6y agoHow hard is it to devise an ice cream machine with a simpler sanitation process?
- cm2012 6y agoConsidering McDonalds is on the forefront of food automation tech, probably harder than you think.
- madeofpalk 6y agoI would have imagined someone in technology (or at least enough to read HN) would understand the hidden complexities of things they're not intimately familiar with
- tosh 6y ago> to clarify how this works: mcdonald's keeps track which locations have a broken machine, I'm merely querying for those - no order gets executed, no ice cream is actually wasted https://twitter.com/rashiq/status/1319358458429345795 https://twitter.com/rashiq/status/1319358458429345795
- deleted 6y ago[deleted]
- ar0b 6y agohttps://www.youtube.com/watch?v=E0ZxgI59_Ak https://www.youtube.com/watch?v=E0ZxgI59_Ak Employee showing how the machine shuts down
- jhfdbkofdcho 6y agoThe site is down, Is that ironic?
- brokenmachine 6y agoSomeone should write a script that checks if it's up every minute.
- banana_giraffe 6y agoIt actually took me a while to figure out that the resulting website (https://mcbroken.com/ https://mcbroken.com/) actually shows broken / not broken by color. Not a complaint, just pointing it out in case others are as confused as I was.
- netsharc 6y agoHah, now that you mention it... That site is not red-green colorblind friendly.
- deleted 6y ago[deleted]
- nullc 6y agoA friend of mine who managed multiple McDoanlds 20 some years ago says he would never eat ice cream at mcdonalds ... unless he'd just cleaned the machine himself. Apparently they get gross pretty fast and a lot of the staff is not especially good at cleaning them.
- macintux 6y agoAs other commenters have noted, this is old information. The machines now sanitize themselves, which is apparently why so many are down at any given time.
- nullc 6y agoThanks for the correction! I mentioned the age of my information for fear it might be outdated. I'm glad to hear that it is.
- slg 6y agoI don't have much sympathy for a huge corporation like McDonalds, but isn't this is kind of an asshole move by the developer?
- deleted 6y ago[deleted]
- _peeley 6y agoFurther down the thread he mentions that no order gets executed, he's just querying. I guess still making trouble for anyone using that data, but at least nothing's going to waste.
- slg 6y agoThat just leaves me with more questions. What does he mean by "executing" an order? He used the word "placing" before. Is he placing the order and then immediately cancelling? Or is he just putting items in his cart? Why such the high dollar total on the order? Is it a single order at every store every minute? Does it really need to be that frequent? Regardless, it annoys me when I see developers abuse semi-public APIs as it just ends up being a motivating factor to close things off more. There is most likely some developers working for McDonalds who have been scrambling as a response to what this guy is doing. It isn't nice to create unnecessary work for others just so you can have a little fun.
- teddyfrozevelt 6y agoIf you've never used the McDonald's app, then you can place an order, but the store doesn't receive it and do anything until you arrive at the store and it detects that you're there. During this period, you can cancel the order. My guess is that's what he's doing.
- deleted 6y ago[deleted]
- qmarchi 6y ago
- joegahona 6y agoI might suggest the words "Broken" / "Not Broken" in addition to the small red/green dots.
- deleted 6y ago[deleted]
- 40four 6y agoI think there is some confusion as to what he means by 'placing an order'. First of all, he's not ordering anything. At best he is loading these items into a shopping cart, who knows, maybe that's not even necessary depending on how the API is setup. Second, it's not $18K worth of product are every location. He is almost certainly adding one value menu ice cream cone (or maybe chocolate sundae) from, one from each location. These cost between $1-$1.50 depending on location. A quick search says there are probably just shy of 14K location in the USA, and based on these assumptions, the ~$18K 'order' works based on these assumptions. So, in essence he is filling the 'basket' with one ice cream cone, one at every location, and checking the results of which locations are willing to fulfill the order. I don't think this is malicious like some have imagined. It's silly, and fun, and I was happy to come across it today!
- varenc 6y agoDigression: If you're red/green colorbind, the https://mcbroken.com https://mcbroken.com website is pure frustration. All the dots look the same to me. Fortunately the iOS accessibility color filter works wonders. After enabling that (in deutan mode) I now see green and gray/purple dots.
- macintux 6y agoI knew iOS had a strong accessibility story, but I had no idea it could compensate for color blindness.
- floatingatoll 6y agoIt can’t restore color perception (you’ll still have reduced color bandwidth versus someone who isn’t), but it can rewrite the visual spectrum being fed to the display onto narrower bands that sidestep the colorblindness gaps. Especially valuable when paired with the Magnifier mode that lets you look through the rear camera on the screen.
- ryankrage77 6y agoAndroid can do it to, under the accessibility settings you can have greyscale and various other colour modes
- Thorrez 6y agoWindows 10 can do it too. It's called "Color filters". Both "Red-green (green weak, deuteranopia)" and "Red-green (red weak, protanopia)" work to allow me to use the site. The second one is more visible, but also much more distorting. Also I've now enabled the hotkey (win+ctrl+c).
- bytematic 6y agoRed/green are pretty common status colors. What would you suggest, perhaps different shapes?
- 6y ago
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- LeoPanthera 6y agoThe actual map is at https://mcbroken.com/ https://mcbroken.com/ And this headline is spectacularly un-useful. It's a map of which McDonalds have a working ice cream machine, obtained by attempting to place an ice cream order at every single store through the API. (The order doesn't actually complete if you don't pay for it, so no ice cream is wasted.)
- peter303 6y agoOne red dot in my city is closed down franchise. I guess not yet removed from corporate computers.
- markstos 6y agoI ran the McBroken data through the Spatial Equity Data tool. It found McDonalds are slightly overrepresented in white areas while locations with broken ice cream machines skew Black and low-income. https://twitter.com/MarkStosberg/status/1319363954385297411 https://twitter.com/MarkStosberg/status/1319363954385297411
- parliament32 6y agoConsidering that all of these machines come up/down cyclically and automatically for sanitizing (pasteurizing) purposes, as described higher ITT, you're a great example of how data can be massaged to drive whatever narrative you want.
- Liquix 6y agoHuh. I read higher up that they were more likely to remain off if there was not an employee with the time/skills available to sanitize it.
- shadowgovt 6y agoYou're assuming fleetwide homogeneity. It's possible that there's a disproportionate number of machines in minority areas misconfigured. It's possible that there's a disproportionate number of machines in minority areas that are old-style manual-clean. It's possible that there's a disproportionate number of machines in minority areas disabled for some other reason (ingredient supply disruption? Demand not worth the cost of keeping the machine on all the time?). It is, indeed, possible that there is correlation without causation. But the real answer is "We don't know why, and huh, isn't that interesting."
- parliament32 6y agoIf they're automatically reporting via API to the online store, so the author can check the status in his script, they're all the same model with auto-sanitize. The old manual clean models always report online, then the customer gets rejected and refunded when they actually go pick up their order, as mentioned elsewhere in the thread about some NYC locations. Nice try, but you know, burden of proof on the accuser and whatnot.
- rashiq 6y agoOriginal author here: the phrasing placing an order was probably wrong - mcdonald's lists the products they're currently out in their api. I'm just querying for those. No ice cream was harmed in doing this.
- thatsnotmepls 6y ago> I'm currently placing an order worth $18,752 every minute Do you have to have a cart in order query for broken machines? If not, why was it mentioned in the tweet?
- royaltjames 6y agoBecause it's hilarious to quantify and state. Why ask ridiculous questions?
- Aeolun 6y agoThat’s one word to describe it. Personally I find it to be in spectacularly bad taste.
- jackric 6y agoBecause it's one extra feather on the scales of increased cynicism about what you see online. Clickbait culture is toxic
- tacLog 6y agoLegitimate question, how and why is clickbait culture toxic? I am not creating it or defending it. I am just a little confused what you mean by that exactly.
- general_pizza 6y agoNot original commenter but I think jackric already alluded to the increased cynicism that develops from clickbait. Personally, when I see so many ppl giving up honest and nuanced statements/opinions for hyperbole in order to gain views/likes, it's disappointing.
- pkulak 6y agoSo I guess this guy doesn't know what "reverse engineer" means? He seems to think it means "use".
- person_of_color 6y agoanything for twitter fame eh?
- the_only_law 6y agoWell, I suppose it it's not a public API he may have had to o some work to analyze and piece together conventions, parameters, etc. Personally I just refer to this basic stuff as "analysis".
- pkulak 6y agoYeah, I think my comment is not so great, as you could totally call this reverse engineering. Kind of an off-the-cuff reaction on my part that wasn't very considered.
- deleted 6y ago[deleted]
- zxcvbn4038 6y agoCan we repurpose this to find which locations have McRib? Improve upon https://mcriblocator.com/ https://mcriblocator.com/ which seems to be more of a crowdsourced approach?
- jackcosgrove 6y agoYou could use a McRib dashboard as a mini-Bloomberg terminal for pork futures.
- sillysaurusx 6y agoFor reverse engineering, I highly recommend learning burp suite. (This is a bit like saying "Just learn vim!" in terms of learning curve, since the curve is basically a wall, but it's well worth it.) E.g. I was curious how TPUs actually work -- the low-level protocol, built on protobufs. But burp suite is only good for analyzing HTTP. No worries, a couple plugins later and I was good to go: https://twitter.com/theshawwn/status/1315638127772405761 https://twitter.com/theshawwn/status/1315638127772405761 You'd be shocked the amount of information you get when you merely look at the traffic. Chrome devtools is nice, of course, but it's not an intercepting proxy; you can't (easily) capture every request, modify it, replay it, see how the webserver responds to malformed input, etc. Burp repeater makes all of that super easy. Unfortunately the power is hidden behind a rather unfriendly UI, with some unfriendly defaults (the very first thing everyone wonders is, "why did burp cause my website to freeze?" answer: it starts up in intercept mode, so that's actually a sign that things are working; but you have to turn off intercept mode to actually get it to do useful things / see a bunch of requests). Emacs users might feel at home, at least. :)
- deleted 6y ago[deleted]
- winddude 6y agocool!
- rathel 6y agoThis map uses OpenStreetMap-based map tiles (this style is called OSM Bright) served from MapTiler. But the attribution (see https://osm.org/copyright https://osm.org/copyright and https://www.maptiler.com/cloud/terms/ https://www.maptiler.com/cloud/terms/ ) is not there. Could someone ping the author on Twitter, as I don't have an account? Thanks.
- fandroid 6y agoMcDonalds declined to retain me as a consultant when I reported issues with their Mary AM Johnson API holes. I probably should have marketed myself in a more formal fashion.
- zadkey 6y agoMore than whether the icecream machines are broken, I get a clear picture of just how ubiquitous McDonalds are.
- punnerud 6y agoI guess he used the API from the app, add a large order and try to go to checkout. If McDonald want to avoid angry customers they alert that the item is out of stock, before finalizing the purchase. He then automatically do this for every store to check if the machine is working or not.
- efitz 6y agoHacking fake orders worth thousands of dollars against a major corporation? This guy is likely to end up in McJail.
- warent 6y agoInteresting, there's a location off the coast of San Francisco in the pacific ocean called "Morocco Mole Lab Pacific Ocean, Pune" Anyone know what that's supposed to be? Maybe a dummy location for test data?
- tosh 6y agohttps://hanna-barbera.fandom.com/wiki/Morocco_Mole https://hanna-barbera.fandom.com/wiki/Morocco_Mole
- grimli333 6y agoThere’s also a Knight Rider Lab in the Atlantic Ocean. Michael Knight is so cool his secret base has a McDonald’s. I wonder how KITT gets there though.
- yra9ry 6y agoIt's PMEL
- indigochild 6y agoHow? PMEL is located in Seattle. According to their website, they have a location in Newport, Oregon also. What do they have here? I can't even find an island or something near this location on Google Maps.
- sethammons 6y agokinda reminds me, another dev and I at a hackathon several years ago were able to reverse engineer Uber's API; probably did it on android. We were able to real-time map _all_ Uber drivers anywhere with their name. Pretty sure we had to set a geofence.
- miguelmota 6y agoI assume this is perfectly legal right? otherwise there could be a McLawsuit.
- DominikPeters 6y agoThe McDonald’s app for iOS does aggressive jailbreak detection, probably for the exact reason we’re seeing here: their API has terrible security. I wonder what’s the worst one could do with it, like order things for the price of $0.00?
- ttamslam 6y agoHere's a very interesting podcast episode about a (sort of) related stunt with domino's: https://gimletmedia.com/shows/reply-all/z3hgd2 https://gimletmedia.com/shows/reply-all/z3hgd2 tl;dl: Domino's receives a HUGE number of online orders for a $2 coke to be picked up in person. Reasons are unclear.
- thomasfl 6y agoThat is a lot og McDonald restaurants. A lot more than here in Norway.
- Tade0 6y agoI have never encountered a "broken" ice cream machine and this makes me wonder how clean were the ones that prepared my orders?
- discardable_dan 6y agoBut can I write a shell script to purchase a big mac?
- iamalsaher 6y agoDid he give any details on what he reverse engineered
- PrinceKropotkin 6y agoWhy? Who cares? It's an API of zero consequence or value except to mcdonalds. I seriously doubt anyone who uses to corresponding app will give a shit. Why not target a state unemployment interfaceor something that actually matters to literally anyone? What a waste of engineering effort.
- InfiniteRand 6y agoSemi related to this McDonalds has surprisingly high quality standards for the software of their ice cream machines, for one company I talked to I think they required 100% branch coverage
- sebcat 6y agoQuip worth thinking about[1] from the twitter thread[2]: > it's incredible to me that a $5 digital ocean box can serve traffic for 200k unique visitors and yet there's startups out there who deploy their landing pages with kubectl [1] IMO [2] https://twitter.com/rashiq/status/1319462542163496960 https://twitter.com/rashiq/status/1319462542163496960
- pelasaco 6y agoI almost liked the discussion, but then somebody tries to transform it in a huge social debate https://twitter.com/MarkStosberg/status/1319363954385297411 https://twitter.com/MarkStosberg/status/1319363954385297411
- thrownaway954 6y agoso does this mean that mcdonalds has publicly accessible api exposed to the internet?
- B1aZer 6y agoDo not share twitter links ffs!
- burntoutfire 6y agoThey must do something differently here in Poland, because I don't think that, over many years of semi-regularly buying ice cream (mostly McFlurry) in McDonalds, I've been told even once that they can't make it because the machine is broken/under maintenance.