• Rhoeri@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 days ago

    So, a bunch of trolls got hacked? I’m not sure how I’m expected to feel about this, but frankly, I’m not feeling anything at all.

  • vga@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    edit-2
    3 days ago

    I posted an amused and positive comment on the orange site about this and in 2 minutes got a threat about me getting hanged in the near future. Tech bros be panicing.

  • kingthrillgore@lemmy.ml
    link
    fedilink
    English
    arrow-up
    184
    ·
    3 days ago

    I looked at some of the leaked source code and my god the code smells are so rotten its like they had a dead horse in the back for a while and its developed a stank like an Eric Andre skit.

    It increasingly looks like nobody would maintain this bundle of wax besides under-experienced juniors who threw themselves at it, and apparently after moot sold it, it was never touched. It runs on an extremely old version of FreeBSD and PHP.

    The fact this happened now as opposed to any time in the past decade is, I have no words.

    • Elrecoal19@lemmy.world
      link
      fedilink
      English
      arrow-up
      56
      ·
      3 days ago

      I wanna bet attackers probably thought it would be maintained by one or several of the most no-life, chronically-online users of the web… or that they would be waiting for an attack to get revenge in their typical unhinged way… and it turned out no one was maintaining or watching it at all XD

    • Realitätsverlust@lemmy.zip
      link
      fedilink
      English
      arrow-up
      50
      arrow-down
      3
      ·
      3 days ago

      I mean, the source code looks a lot cleaner than WordPress, which is an incredibly sad statement.

      Kill WordPress now.

      • futatorius@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours ago

        I’m unconvinced that it’s even possible to write clean code in a language as fucked-up as PHP.

        • Realitätsverlust@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          12 hours ago

          Your opinion was correct like 10 years ago. PHP7 made a lot of fixes to many of the problems it had and PHP8 improved on it even more. And if you slap a framework on top of it, like laravel, PHP looks awesome.

      • ProtecyaTec@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        Really though, it doesn’t.

        Github -> WordPress

        Github -> 4chan

        I absolutely hate the way 4chan formats their HTML + PHP intermingling in views. That’s not to say WordPress doesn’t do this as well, but oh man in a much better, cleaner, and more sparingly way. The 4chan imageboard view Github -> 4chan is absolute chaos. Why this wasn’t rewritten is beyond me. That’s just the first thing I see as I peruse the source, I can’t imagine it gets much better from here.

        Here’s a fun exercise: What’s the deepest nest in this loop? Github -> 4chan Bonus points: What’s the deepest nested statement in the whole source?

        • Realitätsverlust@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          2 days ago

          but oh man in a much better, cleaner, and more sparingly way

          I don’t think we’re looking at the same source code. The first thing I see in wp-activate.php:

          function wpmu_activate_stylesheet() {
          	?>
          	<style type="text/css">
          		.wp-activate-container { width: 90%; margin: 0 auto; }
          		.wp-activate-container form { margin-top: 2em; }
          		#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
          		#language { margin-top: 0.5em; }
          		.wp-activate-container .error { background: #f66; color: #333; }
          		span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
          	</style>
          	<?php
          }
          

          This isn’t better nor cleaner. This is a disaster. A function that stops PHP execution halfway-through, outputs some text and then restarts PHP execution? Hell, I’ve been in the PHP ecosystem for over a decade now and I didn’t even know this was possible and I wish that knowledge was still hidden from me.

          Maybe I was wrong by saying that the 4chan source code is better than wordpress, fair. Maybe I should just say both are abominations, I will not judge which one is better and both should be discarded and forgotten.

          • bufalo1973@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            This has been possible since the very beginning of PHP.

            I won’t say if this is the best way now. I haven’t touch PHP in the last 2 decades.

          • ProtecyaTec@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 day ago

            I completely disagree.

            Intermingling PHP and HTML is one of PHP strengths. The processing/executing difference you’re describing is almost always negligible due to how PHP is optimized (specifically for this kind of thing - outputting HTML to the browser sometimes).

            Seriously, compare this to the 4chan image board view we really aren’t looking at the same source code. In comparison, the WordPress function is blocked, purposeful, together. It’s a single CSS block output all at once. On the otherhand, in the linked 4chan discussion board PHP file, it echos as strings, broken up by multiple conditionals, and is difficult (even from an IDE perspective on highlighting) to tell where a block starts and where it ends (again due to it being echo’d in strings, and broken by conditionals). Trying to modify this blocked CSS is going to be wayyyyyyyyyyyyyyyyyyyy easier than trying to modify a bunch of printed HTML strings broken up by multiple nested conditionals. Plus it’s just straight-up easier to read and straight-forward to understand what the function does right away.

            To harp on this even more, one of the benefits of blocking HTML in this way is IDE highlighting. In your example, if you were to pop that into a modern IDE like VSCode, it’ll highlight tags and allow collapsing like a normal HTML doc. It’ll probably even highlight the CSS as expected. On the other-hand, by echoing / printing HTML strings, IDEs aren’t going to highlight these things as HTML since they’re PHP strings, and in the case of the imageboard, it’s going to struggle finding matching open/end tags due to PHP strings and broken conditionals. I’d much prefer the WordPress example over echo / printing multiple lines of HTML strings (this is really a pet-peeve of mine).

            I can’t think of a single system that doesn’t “stop PHP executing” at some point to output HTML in some way. Maybe an app that dynamically pulls it’s views in through JS I guess.

            For comparison to future readers, this is just a small portion of the imageboard which goes on like this for another 600 lines:

            	if( $resno ) {
            		$closed = $log[$resno]['closed'] || $log[$resno]['archived'];
            		
            		if( !$stripm ) {
            			$msg .= '<div class="navLinks mobile">
            	<span class="mobileib button"><a href="/' . BOARD_DIR . '/" accesskey="a">' . S_RETURN . '</a></span> <span class="mobileib button"><a href="/' . BOARD_DIR . '/catalog">' . S_CATALOG . '</a></span> <span class="mobileib button"><a href="#bottom">' . S_BOTTOM . '</a></span> <span class="mobileib button"><a href="#top_r" id="refresh_top">' . S_REFRESH . '</a></span>
            </div>';
            		}
            
            			if( !$stripm ) $msg .= '<div id="mpostform"><a href="#" class="mobilePostFormToggle mobile hidden button">' . S_FORM_REPLY . '</a></div>';
            	} else {
            		if( !$stripm ) $msg .= '
            <div class="navLinks mobile">
            	<span class="mobileib button"><a href="#bottom">' . S_BOTTOM . '</a></span> <span class="mobileib button"><a href="/' . BOARD_DIR . '/catalog">' . S_CATALOG . '</a></span> <span class="mobileib button"><a href="#top_r" id="refresh_top">' . S_REFRESH . '</a></span>
            </div>
            <div id="mpostform"><a href="#" class="mobilePostFormToggle mobile hidden button">' . S_FORM_THREAD . '</a></div>';
            	}
            

            Formatting and structure is important for a readable framework / project and longevity. 4chan had none of this - Moot took the bag and ran and whoever took it over just left left the PHP standards/organization in 2003.

            • Realitätsverlust@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              ·
              8 hours ago

              Intermingling PHP and HTML is one of PHP strengths

              Eeeh, no. It’s a bad practice in 2025. That was a good thing a decade ago.

              Trying to modify this blocked CSS is going to be wayyyyyyyyyyyyyyyyyyyy easier than trying to modify a bunch of printed HTML strings broken up by multiple nested conditionals. Plus it’s just straight-up easier to read and straight-forward to understand what the function does right away.

              True. But I was just looking at the source code of wordpress for 30 seconds. I could probably find worse.

              To harp on this even more, one of the benefits of blocking HTML in this way is IDE highlighting.

              Which isn’t a problem if you use a template engine - as you should in modern applications.

              I can’t think of a single system that doesn’t “stop PHP executing” at some point to output HTML in some way.

              Not a single modern system does that. It’s terrible practice and won’t even pass automated code reviews with sane settings.

              • ProtecyaTec@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                7 hours ago

                Not a single modern system does that. It’s terrible practice and won’t even pass automated code reviews with sane settings.

                What you’re talking about is semantics. At a base level, whether you use a templating engine, include / require, or just straight up mix HTML / PHP - PHP “stops execution” to output to the browser. The few exceptions to this that I can think of is if it’s instead handing off that responsibility to JS or some other frontend processor.

                Templating engines are cool. They make it easier to separate your views from logic. It makes interloping more straight-forward and possibly more maintainable (though, not always - Engines don’t save from bad practices), but I do not agree that it’s defacto. I think the strength of PHP is it’s ease to just jump into it and get something working, right “out of the box”. The ease of mixing PHP and HTML is a boon from an entry level aspect. Low entry level leads to wider adoption, leads to more discussions, more volunteers for FOSS, more bug reports, more more more.

                I could create a vanilla PHP application that organizes views just as well without a templating engine which could be understood by someone with baseline PHP knowledge - that’s good thing. It’s inherit to PHP and I won’t need to worry about keeping any templating library updated or ported to a new engine. In my made-up vanilla app, I wouldn’t do what 4chan did in their views, but I may do what WordPress does in your example because, used sparingly, in an organized application, it’s not that big of a deal. For the most part though, I do like to keep my HTML views and my PHP logic separate in an MVC kind of way either through templating or just straight up includes.

    • gamer@lemm.ee
      link
      fedilink
      English
      arrow-up
      21
      ·
      3 days ago

      I looked at some of the leaked source code

      Where? I’d be interested in looking through it too

  • RememberTheApollo_@lemmy.world
    link
    fedilink
    English
    arrow-up
    102
    arrow-down
    1
    ·
    3 days ago

    Start linking up 4chan IDs to real rich people like Musk or republican officials and watch trump start calling for the death penalty for the hacker.

    • riodoro1@lemmy.world
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      2
      ·
      3 days ago

      It’s that incel elon musk starting all those facebook porn threads on /b/.

      I think you guys have a weird idea of what 4chan is.

        • driving_crooner
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          3 days ago

          Did 4chan had usernames and so? Wasn’t it’s deal that ir was anonymous?

          • TheTetrapod@lemmy.world
            link
            fedilink
            English
            arrow-up
            13
            ·
            3 days ago

            Some of the boards use a system called tripcodes, which are essentially a username and password in one that are used when writing individual posts. It allows people to prove that they’re the same person across multiple posts, without anything as identifying as a user profile attached.

            • driving_crooner
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              I always tough that they were cookie-generated, like you wnter the cookie assign a code for you that eventually go off. Pretty lame them pretending to not have user names while doing it.

              • SSTF@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                1 day ago

                Tripcodes are not automatically applied. Default posting was anonymous, but a user could optionally post with a tripcode name.

                Some boards like /pol/ introduced post IDs where a randomly generated code would follow your anonymous name within a thread, so others could see which comments within a thread were the same person. That system wasn’t site wide though, and it wasn’t a persistent account.

              • WhyJiffie@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 days ago

                Pretty lame them pretending to not have user names while doing it.

                doesn’t this essentially make it an opt-in system to user names?

    • Gigasser@lemmy.world
      link
      fedilink
      English
      arrow-up
      50
      ·
      3 days ago

      The hackers who took 4chan down come from an imageboard known as soyjak.party or “the sharty”. They are unironically, in terms of politics, more far right, and in terms of culture, far worse than 4chan from what I’ve heard and seen from the website.

      • andros_rex@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        3 days ago

        Yeah - the real freaks left because moot dated like Brianna Wu or something stupid and weird like that. 8chan was the place for a bit.

        4chan is owned by an anime figma company at the moment - i think Nendroid?

  • opus86@lemmy.today
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    The 4chan Captcha never worked for me, so I stopped trying years ago. I used to go there to troll trolls when I was in a mood.

  • dandelion@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    57
    ·
    3 days ago

    Question: what is the significance of /qa/, why was the board banned in the first place, and why did the hackers bring it back?

    • FeelThePower@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      65
      arrow-down
      3
      ·
      edit-2
      3 days ago

      qa was my favourite 4chan board probably ever. it was a random board like /b/, but strictly SFW. so, they were the creatives of the site. the soyjak memes you see everywhere started there. they got into fights with other boards but it came to a boiling point when they raided 4chans LGBT board, and as a result qa was closed. they moved to another website. that website, or rather one of its users, then spent about a year navigating the very outdated freebsd from a decade ago running on 4chans servers until he was able to access the PHP admin panel, re-open /qa/, and then nuke all files on the server except the homepage. which itself now seems to return an SQL error.

        • FeelThePower@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          26
          arrow-down
          1
          ·
          3 days ago

          its a website referred to as the party, but im not saying the actual name due to the fact that it regularly gets spammed with csam and other violent things of the nature, its really a lawless land and its hosted in russia. its not hard to find if you look on twitter or something. even as someone who went on qa before, i have never wanted to step foot there, its not the same.

            • FeelThePower@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              kissu.moe is where most of the original qa migrated to, aka the people who were there before it started to become a raiding board. it even has its own version of qa there now which is really nice and they have drawing threads and talk about anime and stuff.

        • wizardbeard@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          36
          arrow-down
          1
          ·
          edit-2
          3 days ago

          When the protests against scientology happened. Long before it was sold. Long before MAGA or the politics board were even a concept. It didn’t die immediately from them, but it was the start of a measurable drop in discussion quality that never stopped.

          The “protests” devolved into some of the cringiest irl meetups of online communities I have ever come across (yes, worse than dashcon), and it caused so much media attention that it accelerated the “eternal september” problem the site always had exponentially.

          Motherfuckers forgot the golden rule about “hiding your power level”, which at the time at least meant doing your best to appear relatively normal in public and went full “I’m a horribly socially maladjusted mess with bad hygiene who can only communicate via tired memes, look at me! Look at me! I know memes! Haha longcat is long am I right?”.

          A lot of people remember the cringe of reddit’s “When does the narwhal bacon?” forced meme attempt at the world’s most embarassing “secret pass phrase” bullshit. The scientology “protests” were significant orders of magnitude more cringe.

          4chan was never a secret club, but the sheer agressiveness of non-tolerance towards obviously new posters helped to maintain a very low bar of “quality”. I’d argue that’s needed to maintain any semblance of a community on an entirely anonymous image board that has minimal moderation. Shitty threads would get saged relentlessly, eating up the maximum comments a thread could have and drowning out any discussion in the shitty thread, all without bumping it back up to the top. Hit the reply limit and the thread slides off the bottom, gone forever.

          “Lurk moar, faggot” was the phrase of the time. Stop posting until you figure out how things work around here.

          But as more and more people unfamiliar with what shitty community existed came in, there hit a point where they outnumbered the old guard, and the already low quality of discussion tanked.

          /b/ used to have discussion threads about all sorts of shit. Actual thought provoking stuff now and then. Funny stories. Occasionally legitimately good OC. It was the breeding ground for most of the memes and meme formats that spread to the internet at large. Mudkipz, rickrolling, EFG (the progenitor of trollface and rage comics), lolcats, advice animals. All /b/.

          Now it is almost entirely people sharing photos of women they know that they’ve downloaded off the ladies’ social media accounts to jerk off to. Previously they would have been chased off to the dedicated porn (or softcore) boards using fire, pitchforks, and spam of the most digusting images the internet had until the posters got the message. Or at the very least they would have been bullied into a single thread at a time instead of taking over almost every thread on the board.

          Instead it has all devolved to the absolute lowest common denominator.

          /b/ (and by extension 4chan as a whole) has always been a cesspit. I’m not trying to deny that. There’s screenshots out there of it back when the post count hadn’t breached 1000 that show that it was shit even in the very very beginning. Back when it was almost exclusively m00t, W.T. Snacks, and their friends from Something Awful. That said, it used to be engaging to scroll through because you could stumble upon some legitimately good discussion. It hasn’t been worth even trying to look for good discussion on /b/ for well over a decade.

          The retro videogames board was a brief shining return to quality for a few years after it was created, even managed to find, back up, and translate some things that had been lost media. The DooM threads used to be the place to be for new DooM wads. Even that board’s pretty shit now too.

          • Brutticus@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            All of these things are correct, but I would like to posit there was a specific era when it actually became intolerable, and that was about 2013 or so. It was a gradual process, but you noticed more and more “normal threads” getting hijacked and brigaded. Baw threads, or threads where people would post tumblr core sad images (mostly about missing ‘her’) got hijacked by incels (who said something like, “shes fucking chad bro” although the incel vocabulary had yet to be calcified.) You laugh you lose (YLYL) threads got brigaded by people “banana posting” or flooding the thread with images of a specific meme of a banana opening his peel like a trench coat and “exposing” himself to a pair of apples. It was boomer shit, but their alleged point was that YLYL was cringe.

            Now, were Baw and YLYL cringe? Maybe. But they were also like, “normal” threads. Normal users would come and post normal content. YLYL threads (and their cousins, Epic threads) were how board culture was preserved, posting collages of greentext posts of particularly noteworthy threads or stories or interactions. The point wasn’t to point out cringe. It was to radicalize young male users who self identified as unlucky in love, to degrade board discourse so no one wanted to even post in “culture” threads, and to either radicalize the young and impressionable who might be receptive to Nazi messaging, and to push away those that were not. 4chan always tolerated Nazis, and there is an old proverb against it.

            Moot used to get a ton of hate from the Nazis, because he actually tried to police them. I don’t know if they targeted him or just got lucky, but they had been trying to get rid of him of a while. He left after users found his girlfriend was cheating on him, and posted the photos on 4chan. months later, trump descends a golden escalator…

          • Rooty@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            3 days ago

            I used to frequent the /tg/ board, it had people making homebrew conceptual RPGs - the kind of stuff that the indie RPG scene pretends to have invented. Sorry to see the site go, but it was inevitable.

            • Brutticus@lemm.ee
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              I miss /tg/. it held out longest from the /pol/ siege. Like nazis would still be there, but it was still a place where you could talk about games and be reasonably sure people wouldn’t talk about nazi shit. I lurked until maybe the first Trump election, whereas I had given up on the rest of the boards long before.

        • Brutticus@lemm.ee
          link
          fedilink
          English
          arrow-up
          16
          ·
          3 days ago

          I wonder about this sometimes.

          Poole knew he had a contentious base of users. I remember in 2013 or 2014, 4chan users posted photographic evidence his gf was cheating on him, and I think it broke him. I dont blame him for selling the site, but 18 months later… I wonder if Moot knew he was holding back the end of the world.

          • FolknForage@lemm.ee
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            3 days ago

            I wonder if Poole has done any interesting interviews on the intersection of 4chan and the modern fascist propaganda machine it bred.

            • Brutticus@lemm.ee
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              I have this dream that one day I’ll like, sit next to him on an airplane and have a chance to ask him.

        • Duamerthrax@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 days ago

          Around then for me. Hiroyuki allowed /pol/ to happen when moot tried it and ditched it quickly. Too many people started thinking their farts didn’t stink. I went there for anime discussions when every other popular site was a hugbox.

    • Naevermix@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      3 days ago

      No, the people who come there are retarded. They will still be retarded in a week or a month from now.