Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "mlm is shit"
So, some time ago, I was working for a complete puckered anus of a cosmetics company on their ecommerce product. Won't name names, but they're shitty and known for MLM. If you're clever, go you ;)
Anyways, over the course of years they brought in a competent firm to implement their service layer. I'd even worked with them in the past and it was designed to handle a frankly ridiculous-scale load. After they got the 1.0 released, the manager was replaced with some absolutely talentless, chauvinist cuntrag from a phone company that is well known for having 99% indian devs and not being able to heard now. He of course brought in his number two, worked on making life miserable and running everyone on the team off; inside of a year the entire team was ex-said-phone-company.
Watching the decay of this product was a sheer joy. They cratered the database numerous times during peak-load periods, caused $20M in redis-cluster cost overrun, ended up submitting hundreds of erroneous and duplicate orders, and mailed almost $40K worth of product to a random guy in outer mongolia who is , we can only hope, now enjoying his new life as an instagram influencer. They even terminally broke the automatic metadata, and hired THIRTY PEOPLE to sit there and do nothing but edit swagger. And it was still both wrong and unusable.
Over the course of two years, I ended up rewriting large portions of their infra surrounding the centralized service cancer to do things like, "implement security," as well as cut memory usage and runtimes down by quite literally 100x in the worst cases.
It was during this time I discovered a rather critical flaw. This is the story of what, how and how can you fucking even be that stupid. The issue relates to users and their reports and their ability to order.
I first found this issue looking at some erroneous data for a low value order and went, "There's no fucking way, they're fucking stupid, but this is borderline criminal." It was easy to miss, but someone in a top down reporting chain had submitted an order for someone else in a different org. Shouldn't be possible, but here was that order staring me in the face.
So I set to work seeing if we'd pwned ourselves as an org. I spend a few hours poring over logs from the log service and dynatrace trying to recreate what happened. I first tested to see if I could get a user, not something that was usually done because auth identity was pervasive. I discover the users are INCREMENTAL int values they used for ids in the database when requesting from the API, so naturally I have a full list of users and their title and relative position, as well as reports and descendants in about 10 minutes.
I try the happy path of setting values for random, known payment methods and org structures similar to the impossible order, and submitting as a normal user, no dice. Several more tries and I'm confident this isn't the vector.
Exhausting that option, I look at the protocol for a type of order in the system that allowed higher level people to impersonate people below them and use their own payment info for descendant report orders. I see that all of the data for this transaction is stored in a cookie. Few tests later, I discover the UI has no forgery checks, hashing, etc, and just fucking trusts whatever is present in that cookie.
An hour of tweaking later, I'm impersonating a director as a bottom rung employee. Score. So I fill a cart with a bunch of test items and proceed to checkout. There, in all its glory are the director's payment options. I select one and am presented with:
"please reenter card number to validate."
Bupkiss. Dead end.
OR SO YOU WOULD THINK.
One unimportant detail I noticed during my log investigations that the shit slinging GUI monkeys who butchered the system didn't was, on a failed attempt to submit payment in the DB, the logs were filled with messages like:
"Failed to submit order for [userid] with credit card id [id], number [FULL CREDIT CARD NUMBER]"
One submit click later and the user's credit card number drops into lnav like a gatcha prize. I dutifully rerun the checkout and got an email send notification in the logs for successful transfer to fulfillment. Order placed. Some continued experimentation later and the truth is evident:
With an authenticated user or any privilege, you could place any order, as anyone, using anyon's payment methods and have it sent anywhere.
So naturally, I pack the crucifixion-worthy body of evidence up and walk it into the IT director's office. I show him the defect, and he turns sheet fucking white. He knows there's no recovering from it, and there's no way his shitstick service team can handle fixing it. Somewhere in his tiny little grinchly manager's heart he knew they'd caused it, and he was to blame for being a shit captain to the SS Failboat. He replies quietly, "You will never speak of this to anyone, fix this discretely." Straight up hitler's bunker meme rage.13
Dad's cousin visits us out of the blue to deliver something.
Let me explain you his character:
1. Dickhead: Looks and acts like it. You'll soon know why
2. Right winger: thinks everyone else except his side is corrupt and he'll save the nation by eradicating rest of us. He literally said that
3. Anti Vax: undergoes life saving surgeries and then bad mouths doctors who saved him for being illiterate
4. COVID-19 denier: I almost lost shit at this point because he puts our lives in danger by not wearing mask or following any rules
5. MLM member: you know where this is going, right? :|
So he starts brainwashing us on different health stuff and destroys our will to live. We all try to be polite and ignore the retard.
And somehow he gets the hint that we are into his healthy lifestyle. Next day (today), he shows up early morning with a bag full of MLM products and gives us an hour long monologue of how we are living a shit life and he is the one who'll achieve Nirvana because he uses those MLM natural products.
We are celebrating Diwali and these are some of our holiest days. We are not supposed to visit someone very early in the morning because everyone does some rituals and also not indulge in fights or arguments. Fucker ruined the new year day for us as the entire atmosphere got dull due to conflict.
He attacked our spiritual/religious beliefs and annoyed so much that dad lost temper and we literally had to kick him out. He still refused to leave and continued his pitch while his way out.
I was avoiding him all the time. However, this was 3rd or 4th time he pitched to us after multiple similar rejections in past.
How can someone be such a shameless ignorant human?
Fucking pathetic pig. I hope he rots in hell with his MLM stuff.
Do you now agree that he is a dickhead?
I have heard MLM is illegal. Let me research around it and take legal action.23
Client wants to see his project so he can provide its content.
The product where this is based upon should be a monthly edition of grouped articles.
I've yet to see content for their concept or even legal text that makes sense.
Same person has no idea of the full concept of what he's asking, imho ending up in a Ponzi (which I've switched to a somewhat more logical system, which just might work, but just isn't a get rich quick scheme anymore as he likes to portray it).
Should I just put on a blank page and be done with it, either way?
- Either he gets it, that he needs to fill up the website's content himself
- or he's mad, that I didn't finish the job (while he's the one needing to provide at this point)
Every project from mlm guys (like amway). They are so confident after the mind trainings but they do not understand shit. They won't stop asking for a favor and they will pay "percentage" of revenue...