541
submitted 10 months ago* (last edited 10 months ago) by nave@lemmy.zip to c/lemmyshitpost@lemmy.world
all 46 comments
sorted by: hot top controversial new old
[-] xusontha@ls.buckodr.ink 119 points 10 months ago

revenue is 30+bilion

Apparently still can't afford a server...

[-] jasep@lemmy.world 25 points 10 months ago

That is disgusting

[-] chiliedogg@lemmy.world 8 points 10 months ago* (last edited 10 months ago)

Or the contractor they hired for the site wasn't granted the access to the assets they needed, and this hacky workaround got the job done.

[-] BEEKAYRANDEE@kbin.social 108 points 10 months ago

It reminds me of a story that a web developer who found out that other sites were hosting his game by linking back to his website in an iframe and using it to make money off of ads. He made a check that if any calls are being made to the game from an iframe, replace the game with an image of goatse.

https://www.pcgamer.com/websites-stole-and-monetized-a-free-browser-game-so-the-designer-replaced-it-with-goatse/

[-] LinkOpensChest_wav@lemmy.one 28 points 10 months ago

This is the best kind of justice

[-] flambonkscious@sh.itjust.works 3 points 10 months ago

Fucking glorious!

[-] WindowsEnjoyer@sh.itjust.works 10 points 10 months ago

Had to Google what is goatse... 😅

[-] FlyingSquid@lemmy.world 11 points 10 months ago

Kids today, not knowing their gaping anuses when they hear about them...

[-] drathvedro@lemm.ee 6 points 10 months ago* (last edited 10 months ago)

For those that don't know

NSFW

 \      \
=(🫱🌸🫲)=
/   /🍆\  \

[-] Korne127@lemmy.world 6 points 10 months ago

I didn't know what goatse was before, but this is so beautiful; thanks for the link!

[-] bfg9k@lemmy.world 97 points 10 months ago

There should be fines for doing this, it's like opening a store inside a public library and getting surprised when people are like 'stop mooching off a public service'

[-] mypasswordis1234@lemmy.world 86 points 10 months ago* (last edited 10 months ago)

Imagine some guy working at InternetArchive replacing that file with anything else.

For example, the JS code redirecting the user to pornhub 😂

[-] jaybone@lemmy.world 9 points 10 months ago

Or grabbing bank account info.

[-] whaleross@lemmy.world 62 points 10 months ago

My guess is that at some point some poor web dev or web admin screwed up big time and with a heart rate nearing the colibri fluttered in panic above their laptop in attempts to restore the site, finding great relief that there was a snapshot in the archives and did not have enough presence to fix all the links to get it back online asap.

[-] GoosLife@lemmy.world 26 points 10 months ago

....and he didn't think to download the files and host them properly instead? Surely this must be some kind of fallback or the user is actually browsing the internet archive, no?

[-] bus_factor@lemmy.world 37 points 10 months ago

They're suggesting that they copied the HTML file, but that the archived one had modified references pointing to archive.org, which they did not notice and therefore didn't change. So now the file fetches resources from the wrong place.

[-] kautau@lemmy.world 8 points 10 months ago

Probably the production version of JS broke something on that page, getting the infrastructure team involved in “we now need to host multiple JS versions” was scary, especially if they fucked something up, so easier to modify the code on that page to point to the archive.org snapshot of the JS

[-] InfiniWheel@lemmy.one 56 points 10 months ago

Reminds me of that period where most of Wikipedia's traffic were for an image of a flower because some program used it as a network test

[-] veroxii@lemmy.world 24 points 10 months ago

Or when Netgear just randomly picked university of Wisconsin as the NTP server for all it's cheap routers. https://pages.cs.wisc.edu/~plonka/netgear-sntp/

[-] JohnnyBGod@lemmy.world 4 points 10 months ago

Thanks for that interesting read!

[-] flambonkscious@sh.itjust.works 3 points 10 months ago

Wow, really? That's awful... Software really should come with a bill of materials to assist with inventory and audit. Obviously we're a long way from that ideal

[-] redcalcium@lemmy.institute 44 points 10 months ago

Why would they do such a thing? The wayback machine is not actually that fast.

[-] jmcs@discuss.tchncs.de 24 points 10 months ago

It only needs to be downloaded once. I would be more worried about security since this is a bank.

I'm very curious how they got into this situation though. It seems someone copied parts of an archived page.

[-] XEAL@lemm.ee 6 points 10 months ago

They archived their own page and are using Internet Archive as a relay?

[-] jmcs@discuss.tchncs.de 10 points 10 months ago

It's more likely someone inexperienced used the internet archive to recover something they deleted by accident - I assume Barkley's uses some form of source versioning, as banks are usually a mess but not to the point of not storing their code properly, so we can exclude someone with any real experience. The question would then be how it got to production. Again, banks are a mess but regulations around software that handles anything related to money demand that changes to production be peer reviewed.

[-] EnderMB@lemmy.world 7 points 10 months ago

Barclays isn't a small bank, either. They hire hundreds, if not thousands of software engineers. I'm shocked such a change made it into prod.

My guess is that their front-of-house website is managed by an agency. UK companies love using agencies for shit like this.

[-] Korne127@lemmy.world 2 points 10 months ago

Even if someone was that ineperienced to not know how source versioning works (which I honestly can't really imagine in a critical programming-related job), why wouldn't they just download the JS file from the Internet archive and put it on the own website again?

[-] stown@lemmy.world 4 points 10 months ago

Probably at least as fast as a banking site.

[-] bouh@lemmy.world 1 points 10 months ago

I've seen it used as backup for dead links.

[-] eluvatar@programming.dev 33 points 10 months ago

Honestly the archive should rate limit the request based on the Referer, then their website would slow down and become unusable without actually breaking anything.

I also wonder, if they're this incompetent, could someone... Break their website?

[-] dynamojoe@lemmy.world 17 points 10 months ago

Isn't it appropriate to change the file to something offensive to prevent the leeching?

[-] ChaoticNeutralCzech@feddit.de 13 points 10 months ago

This was likely discovered when the file refused to load (perhaps because archive.org was blocked by network admins). (Yes, the firewall provider Kernun classifies it as anonymous proxy)

[-] lwuy9v5@lemmy.world 12 points 10 months ago

God I can't imagine why anyone would every do that intentionally. What about when you need to update the file...? How do you know which version is served??

[-] CouncilOfFriends@slrpnk.net 6 points 10 months ago* (last edited 10 months ago)

My first thought when I read post was of playing with the hinged mirrors of a medicine cabinet and forgetting which reflection is real

[-] Borkingheck@lemmy.world 11 points 10 months ago

I don't know what any of this means. Can I get a dumbed down explanation?

[-] _dev_null@lemmy.zxcvn.xyz 46 points 10 months ago* (last edited 10 months ago)

A website can be composed of a bunch of files that your browser downloads and then renders to what you see on your device.

One common type of file contains javascript code (aka js assets), which can sometimes be relatively large, like several megabytes (MB). If a website gets hit by a lot of users, those MBs add up, and can chew through the bandwidth allotted for the given website. Consuming more bandwidth can cost more money for the website operator, who pays a hosting company for the website's resources (disk space, compute time, network bandwidth).

To help alleviate this, and to also make these downloads faster around the world, Content Distribution Networks(CDN) exist. The idea is that you upload your large files to the CDN, have your website link to the CDN for big files, and now browsers pull big files from the CDN when the website is loaded instead of the website's host itself. However, contracting with a CDN costs money too, just maybe not as much as a web host charges for hitting bandwidth overages.

Another important component to note: archive.org is a non-profit that in part has a web crawler whose entire purpose is to periodically take a snapshot of every website on the internet. This isn't just a screen cap of each website either, it's a copy of all of the files that actually compose the website. This is an oversimplification, but is good enough for the concluding example that follows.

So back to the case in the OP. What the dev did, was choose not to pay for and utilize a CDN to link to, but rather used archive.org's copy of large file(s) to link to. So when a user loads the website, all of the bandwidth hogging files are being served for free from archive.org. But it's really not free from archive.org's perspective, since they're the ones ultimately paying for the bandwidth.

edit: Added the crawler bit.

[-] aes@lemm.ee 25 points 10 months ago* (last edited 10 months ago)

You download a copy of a photo I took to your computer.

I have a website that lets people see the photo, it's a popular website

Except that photo on my website doesn't point to a copy of that photo on one of my computers, it points to the copy on yours.

Millions of people visit my website, and each time they do, they download your copy of my photo.

Uploading that photo to millions of computers across the world fucks up your internet service. You could also switch out my photo for another one, maybe even an offensive one,, but my website would still point visitors to it.

In the original post, this is what a multibillion dollar corporation, a bank, did to a not-for-profit service that keeps a historical record of the internet.

I hinted at the security implications of what happened, but explaining that would make the analogy too complex.

[-] Aceticon@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

Lets go a little beyond merelly hinting at the security implications:

  • The files being hosted by that 3rd party are Javascript, which is code that runs on the browser.
  • Barclays is a bank.

So people go to the website of a bank and their browser receives code from a 3rd party with whom the bank has no contract and who have nothing in place to obbey the level of security that is required by a banking site.

This is way more "interesting" that the photo from that example of yours (which doesn't have any executable code, only data, being fed to very mature image decoding libraries so it's many times harder to find exploits for it than for code)

Consider the implications of getting the Barclays website to serve (from the point of view of a user) what can easilly be malware...

[-] aes@lemm.ee 3 points 10 months ago* (last edited 10 months ago)

Fair, although explaining a potential vector for a hypothetical XSS attack and its implications to someone who doesn't know what Javascript is sounds like information overload

[-] ichigo@lemmy.world 3 points 10 months ago
this post was submitted on 28 Oct 2023
541 points (99.1% liked)

Lemmy Shitpost

26236 readers
4705 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS