the new PS4 jailbreak is sort of hilarious

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 1.4K

  • @LowLevelTV
    @LowLevelTV  7 หลายเดือนก่อน +169

    wanna get good at programming? check out lowlevel.academy and get20% off lifetime access. or dont. im not a cop

    • @EvanTech-v3q
      @EvanTech-v3q 7 หลายเดือนก่อน +7

      I love my programing looking like it was written in 2005 and horid function names.

    • @Kane0123
      @Kane0123 7 หลายเดือนก่อน +3

      Did you say your name is Ed instead of Low Level Learning for the first time? Classic Ed move to sneak that in

    • @R00kTruth
      @R00kTruth 7 หลายเดือนก่อน +1

      I believe any system can be jail broken, via the ethernet port....and of course some smart developers,

    • @brianmo2611
      @brianmo2611 7 หลายเดือนก่อน +1

      going off on a limb here but i would say they wrote the code in that manner to make it harder for people to read on purpose.

    • @mu11668B
      @mu11668B 7 หลายเดือนก่อน +1

      That "im not a cop" at the end makes everything 10 times more sketchy 🙂

  • @AhnkInside
    @AhnkInside 7 หลายเดือนก่อน +1520

    Please don't give Me a heart attack and call 2006 "20 years ago." It was only 18 years ago.

    • @dogdicer1153
      @dogdicer1153 6 หลายเดือนก่อน +18

      Those kids are middleschoolers tho, right?

    • @AndrewBlade
      @AndrewBlade 6 หลายเดือนก่อน +71

      @dogdicer1153 people born in 2006 have either graduated highschool or are about to graduate 😔

    • @dogdicer1153
      @dogdicer1153 6 หลายเดือนก่อน +5

      @AndrewBlade another weird one was that i experienced the last kids born in the 90's and the first kids born after 9/11 both graduating while i was in highschool. My graduating year was half kids before and after 9/11. That one usually makes people feel old considering im 6'3 and look older than I am. Time waits for no one

    • @mudskie4394
      @mudskie4394 6 หลายเดือนก่อน +12

      @@AndrewBlade 2002 person here, I'm in 4th year now, bout to graduate college next year

    • @Laurinchen2
      @Laurinchen2 6 หลายเดือนก่อน +15

      @@dogdicer1153 Bro tried to sneak their height into a comment reply and thought we wouldn't notice 😭😭😭

  • @RadikAlice
    @RadikAlice 7 หลายเดือนก่อน +2335

    This is more normal than what it took to hack the Wii. Which was a figurative and literal, pair of tweezers

    • @Notevenmad955
      @Notevenmad955 7 หลายเดือนก่อน +225

      Probably equally as insane as the tweezer hack on the wii, was doing a man-in-the-middle attack on the pcie bus of the ps4.
      The same team that did the tweezer hack on the wii used an fpga board(connected to the ps4 apu) and another PC(where the ps4 “chipset” was connected) and connected those 2 using 115200baud serial(kinda downgrading PCIe to 0.00002x)

    • @crism8868
      @crism8868 7 หลายเดือนก่อน +267

      Man. When I hacked my PSP, I did by loading images of eggs to it that make it crash lol
      Those were the day am I right

    • @RadikAlice
      @RadikAlice 7 หลายเดือนก่อน +30

      @@Notevenmad955 As painful as it sounds, makes perfect sense

    • @SystemError-wb2vi
      @SystemError-wb2vi 7 หลายเดือนก่อน

      @@Notevenmad955 nerd

    • @BrostroTheWizard
      @BrostroTheWizard 7 หลายเดือนก่อน +15

      Holy f*ck I forgot doing that. good times indeed.

  • @MSThalamus-gj9oi
    @MSThalamus-gj9oi 7 หลายเดือนก่อน +1841

    People who wrote code like that in 2006 had likely been coding since the 80s, or were heavily influenced by those who had been. I've also been writing code since the 80s, though, so I can tell you that by 2006, single letter variable names were frowned upon, but abbreviations like "buff" were still common place.

    • @VonCarlsson
      @VonCarlsson 7 หลายเดือนก่อน +174

      "buf" is still common and that's a good thing

    • @Vaalin
      @Vaalin 7 หลายเดือนก่อน +141

      But think of all the bytes you could save by shortening your variable names!

    • @jbinmd
      @jbinmd 7 หลายเดือนก่อน +87

      Even in the 80s we were trained to use descriptive variable names. Did we do it? Arguably. I mean, buf isn't that bad.

    • @Tomyb15
      @Tomyb15 7 หลายเดือนก่อน +35

      The code shown for the exploit used the exact same naming conventions....
      It's not that bad

    • @DiarrheaBubbles
      @DiarrheaBubbles 7 หลายเดือนก่อน

      Did you just graduate Hack Reactor 30 minutes ago?
      Single letter variable names have always been frowned upon.

  • @nomore6167
    @nomore6167 7 หลายเดือนก่อน +504

    "...you have jailbroken your PS4; you can put your own apps on there, you can load your own software, and the PS4 is now effectively yours to do whatever you want with" - Which is exactly the way it should be for hardware which you purchased with your own money.

    • @SouthParkStudio
      @SouthParkStudio 5 หลายเดือนก่อน +21

      @@nomore6167 buy a PC if that's what you want lol

    • @maniau
      @maniau 5 หลายเดือนก่อน +63

      @@SouthParkStudio both 😎(Jailbroken ps4 and PC)

    • @SouthParkStudio
      @SouthParkStudio 5 หลายเดือนก่อน +27

      @@maniau this what a man of culture looks like ladies and gentlemen.

    • @excalibur2640
      @excalibur2640 4 หลายเดือนก่อน +7

      Unspoken agreement is we give u a high powered piece of hardware for a discount but we own u forever

    • @Saplingbat
      @Saplingbat 4 หลายเดือนก่อน +29

      @@SouthParkStudio Sony isn't going to fuck you, and also tell me you've never had to fight windows to get your computer to do what you want, without telling me.

  • @theondono
    @theondono 7 หลายเดือนก่อน +1054

    “You can tell this is from ‘07 because of the variable names”
    The Go team in complete shambles 😂

    • @mignon9230
      @mignon9230 7 หลายเดือนก่อน +17

      Bro, that was cold, but so true... hahaha

    • @PaulFisher
      @PaulFisher 7 หลายเดือนก่อน +11

      don’t talk about when the design of Go as a language looks like it came from

    • @brentonbills5946
      @brentonbills5946 7 หลายเดือนก่อน

      I came to write this 😂

    • @NatiiixLP
      @NatiiixLP 6 หลายเดือนก่อน +10

      Ironically, Go guidelines tell you to use fully worded variable names, but contrary to OP's claim, no one in the world is silly enough to _not_ shorthand the most common variable names. So, no, "buf", "r", "w", "p", "f" are all perfectly normal and universally understood. It is a Clean Code practice to write silly long names, and Clean Code has been repeatedly proven to be an absolutely atrocious practice that dramatically reduces productivity in any meaningful project, much like literal adherence to the likes of Scrum methodologies or excessive application of design patterns to every triviality. All of this is corporate rubbish that no one honestly follows because everyone quickly realises how impractical it is. There is a reason why Java is universally seen as the greatest corporate brain-rot language.

    • @theondono
      @theondono 6 หลายเดือนก่อน +1

      @@NatiiixLP It's called a joke. I use my fair share of shorthand variable names when appropriate!

  • @kinnikuzero
    @kinnikuzero 7 หลายเดือนก่อน +215

    2:22 no, P is stored in the balls

    • @ezioauditoredafirenze8352
      @ezioauditoredafirenze8352 6 หลายเดือนก่อน

      So is sperm stored in the bladder then?

    • @kindstalin
      @kindstalin 4 หลายเดือนก่อน

      Maybe not if your PP gets Pwned

    • @ronaldmadican2393
      @ronaldmadican2393 4 หลายเดือนก่อน +3

      Sperm is in balls. Pee is in the bladder. Peeing in your spouse is not a good idea!

    • @jhayk
      @jhayk 4 หลายเดือนก่อน +3

      @@ronaldmadican2393 WTF

    • @asphalt2554
      @asphalt2554 3 หลายเดือนก่อน +2

      @@ronaldmadican2393 … 0_0 how do you know that?

  • @lemagreengreen
    @lemagreengreen 7 หลายเดือนก่อน +1746

    You talk about 2006 like it was a long time ago!
    Oh no...

    • @NXE212
      @NXE212 7 หลายเดือนก่อน +123

      The kids born during then can be certified for forklift driving by around this year

    • @kaasbaas9532
      @kaasbaas9532 7 หลายเดือนก่อน +21

      i was 6/7 years old :(

    • @donaldtrump2
      @donaldtrump2 7 หลายเดือนก่อน +9

      I was one years old 😂

    • @ryan.c.s
      @ryan.c.s 7 หลายเดือนก่อน +14

      I wasn't even alive.

    • @shabadrandhawa3829
      @shabadrandhawa3829 7 หลายเดือนก่อน +7

      my age was in the negatives.

  • @kiri101
    @kiri101 7 หลายเดือนก่อน +1064

    Dang, now people who bought devices can run their own code on them

    • @llvn11
      @llvn11 7 หลายเดือนก่อน +242

      The horror

    • @MelroyvandenBerg
      @MelroyvandenBerg 7 หลายเดือนก่อน +183

      so dangerous, right? As if you bought a product.

    • @TUDORMARCU16
      @TUDORMARCU16 7 หลายเดือนก่อน +288

      @@MelroyvandenBerg It's worse than that. It's as if you're owning the product.

    • @AG-ur1lj
      @AG-ur1lj 7 หลายเดือนก่อน +18

      meaningless comment about how we all got the joke he made

    • @igordasunddas3377
      @igordasunddas3377 7 หลายเดือนก่อน +26

      @@TUDORMARCU16 yeah, the elites won't like that!

  • @polite3606
    @polite3606 7 หลายเดือนก่อน +244

    The author of the exploit seems to be TheFlow which has been in the console hacking scene forever (PSP, PSVITA). Thanks for the code breakdown!

    • @LifeWulf
      @LifeWulf 4 หลายเดือนก่อน

      @@polite3606 I knew I recognized that name! I’ve hacked both my PSP and Vita lol

  • @FAKEAXIS
    @FAKEAXIS 7 หลายเดือนก่อน +2790

    Can't believe the Xbox one ended up being the most impenetrable home console ever created.

    • @soggytoast111
      @soggytoast111 7 หลายเดือนก่อน +857

      The achilles heel of the PS4 has really been relying so much on open source modules, especially FreeBSD for the kernel. Every time there is a critical CVE, it's open season for another jailbreak.
      Microsoft has the privilege of being able to build around in entirely closed source environment. It makes reverse engineering a much more daunting task.

    • @ralphard
      @ralphard 7 หลายเดือนก่อน +779

      It also gives you dev mode for $20

    • @tbuk8350
      @tbuk8350 7 หลายเดือนก่อน +471

      The polar opposite is the Wii U, which can be hacked with an SD card and the web browser.

    • @LennyMiller739
      @LennyMiller739 7 หลายเดือนก่อน

      ​@@tbuk8350 Wii is easier to hack and way easier to set up storage

    • @meeponinthbit3466
      @meeponinthbit3466 7 หลายเดือนก่อน +416

      Probably because it's a POS no one is really interested in.
      Being able to softmod a PS4 opens easy piracy to a LOT of less technical gamers.

  • @btarg1
    @btarg1 7 หลายเดือนก่อน +871

    I'm a little disappointed we didn't get to watch you jailbreak your own ps4/5 with this

    • @mbcrump
      @mbcrump 7 หลายเดือนก่อน +1

      th-cam.com/video/YBBEyYsjhCg/w-d-xo.htmlsi=mzGD29gZIcZNNZhZ&t=419

    • @Lamoboos223
      @Lamoboos223 7 หลายเดือนก่อน +44

      Yeah, I wanted to see a demo too :(

    • @psychosomatiqueofficial
      @psychosomatiqueofficial 7 หลายเดือนก่อน +83

      Sony dev in disguise

    • @xChrisyFTWx
      @xChrisyFTWx 7 หลายเดือนก่อน

      Search up Modded Warfare

    • @Tuckdragon
      @Tuckdragon 7 หลายเดือนก่อน

      lookup modded warfare, he got tons of videos on it

  • @istvandjumber6474
    @istvandjumber6474 7 หลายเดือนก่อน +142

    "...and the PS4 is now effectively yours..." sad words, sad world...

  • @crushermach3263
    @crushermach3263 7 หลายเดือนก่อน +118

    bug reported: 2006
    PS4 release: 2013
    PS4 FW 11 release: 2023
    FW 11.02 (Dec 2023) _may_ have fixed it? Unsure.
    This bug was known about 7 years before the PS4 existed and it's still been in there for nearly its entire lifespan. Crazy.

    • @zdspider6778
      @zdspider6778 6 หลายเดือนก่อน

      No, I think the software is from 2006 but the bug was just (somewhat) recently discovered.

    • @jeffmillar5201
      @jeffmillar5201 5 หลายเดือนก่อน

      @@crushermach3263 think you'll find a lot of things are all connected from earliest days when programmers shared code ...stay blessed 💪

    • @prescriptions
      @prescriptions 5 หลายเดือนก่อน +7

      @@zdspider6778 no, the bug is from 2006. it was recently discovered that it could be used on the playstation 4, but the bug was identified and known about since 2006

    • @robthemodYT
      @robthemodYT 5 หลายเดือนก่อน +1

      Oooh I have 11.02 on my PS4.

  • @freedustin
    @freedustin 7 หลายเดือนก่อน +217

    "P comes out of H+1"
    Man...that is not what 4chan told me.

    • @GavinFromWeb
      @GavinFromWeb 5 หลายเดือนก่อน +10

      yeah, i mean, pee is stored in the balls right?

    • @fecal_position6412
      @fecal_position6412 5 หลายเดือนก่อน

      @@GavinFromWeb this is true, but if the p is coming out of the balls then you've got a big problem.

    • @jrfw96
      @jrfw96 5 หลายเดือนก่อน +2

      Glad im not the only one who thought of this

  • @KevinTurner-aka-keturn
    @KevinTurner-aka-keturn 7 หลายเดือนก่อน +186

    That's some nice work, but I spent most of the time here being flabbergasted that a PS4 has a PPPoE client at all.

    • @ryanilari3537
      @ryanilari3537 7 หลายเดือนก่อน +37

      That’s most likely because the PS4 kernel is a modified OpenBSD kernel. They likely just didn’t disable it

    • @TetrisMaster512
      @TetrisMaster512 7 หลายเดือนก่อน +45

      ​@@ryanilari3537 It's based on FreeBSD, but yes, this was just inherited functionality. Weirdly, the PS4's OS is supposedly based on FreeBSD 9, which is from 6 years after this was patched, so I'm guessing they didn't fully rebase on FreeBSD 9 but kept code around from the PS3's OS (also partially based on FreeBSD), which is basically contemporary with the vulnerability.

    • @forbiddenera
      @forbiddenera 7 หลายเดือนก่อน +1

      Exactly what I was thinking like pppeewhat

    • @alexatkin
      @alexatkin 6 หลายเดือนก่อน +1

      @@ryanilari3537 PPPoE is not something you automatically have, it has to be explicitly used. So Sony for whatever reason chose to have this as an option so their console was able to connect directly to your ISP over PPPoE without a router. Quite why anyone would want to do that, I do not know.
      That seems like a bad idea even from just a CPU cycles point of view, given how weak the PS4 CPU is.

  • @unstopabalz
    @unstopabalz 7 หลายเดือนก่อน +323

    Wow this entire exploit is like an overview of my reverse engineering course I just took. Everything from creating shellcode, identifying and exploring buffer overflows, creating ropchains, defeating protections like ASLR, and heap exploitation. The only thing that is missing that would make this exploit and entire course overview is fuzzing and creating scripts in binja/ghidra

    • @hriad
      @hriad 7 หลายเดือนก่อน +45

      waw, a course covering all those aspects of reverse engineering sounds interesting.
      Where can i find this course??

    • @nicolasfuchs3072
      @nicolasfuchs3072 7 หลายเดือนก่อน +2

      @@hriad I would also be interested in that

    • @SFTaYZa
      @SFTaYZa 7 หลายเดือนก่อน

      @@nicolasfuchs3072 yeah cough it up buddy

    • @jjackson4727
      @jjackson4727 7 หลายเดือนก่อน +7

      OP, please bless us w/ the course

    • @_Tea_Tea_Tea_
      @_Tea_Tea_Tea_ 7 หลายเดือนก่อน +3

      Please please please please dont gatekeep the course 😭🙏🏻

  • @gFamWeb
    @gFamWeb 7 หลายเดือนก่อน +117

    Honestly the most surprising thing to me about this is that they have a low level device object for the notification UI. I would think that would be handled by some higher-level API, but I guess not.

    • @gertjan1710
      @gertjan1710 7 หลายเดือนก่อน +17

      Maybe they do and that API makes use of the device as a persistent location.

    • @Axman6
      @Axman6 6 หลายเดือนก่อน +2

      When you build an OS on FreeBSD, you might as well do things the Unix way.

    • @zdspider6778
      @zdspider6778 6 หลายเดือนก่อน +2

      The exploit gives you kernel access. The notification thing this is just for display purposes. The kernel controls _everything._ Like all of the functions to display text and draw sprites and all that is and ever was. They could have made the entire screen blue if they wanted.

    • @gFamWeb
      @gFamWeb 6 หลายเดือนก่อน +2

      @@zdspider6778 I know the kernel controls everything. I'm just surprised that /dev/notification (or whatever it is) is all you need to send a notification. I would have thought it would be more involved (e.g. building up structs, sending it as a message to the userspace process for notifications, etc.)

    • @Keneo1
      @Keneo1 5 หลายเดือนก่อน +1

      Might be there for debugging purposes. Some system that is entirely disconnected from the gui and other services that can keep on showing information on screen even if the entire gui locks up.
      Might even have been designed initially to show its messages on e.g. an lcd display on the front of the device.

  • @luketurner314
    @luketurner314 7 หลายเดือนก่อน +91

    1:16 once jailbroken, "the PS4 is now effectively yours". So before jailbreaking, you can't put your own software on it. If you can't do whatever you want with it, do you really own it?! Even if you bought it, purchased it, paid for it, if you don't have full and total control over the device, do you actually OWN it?! What does ownership even mean these days?!

    • @powerLien
      @powerLien 7 หลายเดือนก่อน +52

      legally, the console hardware is yours, but the software on it is licensed to you by sony, and sony can revoke that license at any time (though I am not aware of any instances where they have done this to anyone). given that the software is installed in such a way that sony hopes you will never be able to modify it without their consent, the hardware is also effectively controlled by them in practice unless you find a way to get past their protections, hence what is said in the video
      that is to say, ownership means what it always has, in a sense, but software companies keep trying to find ways for that to be less useful to you. another good example is with modern games; technically you don't own those either, they're also just licensed to you, and that license can be revoked at any time. I believe it's technically been that way from day 1, but it's only within the last 10-20 years that publishers have gained the ability to actually enforce that through modern DRM
      but also remember: if buying isn't owning, then piracy isn't stealing :)

    • @Brahvim
      @Brahvim 7 หลายเดือนก่อน +11

      @@powerLien Wait, even the OS IS GIVEN under a license?!
      Wow, I want to read the T&Cs on this one!...

    • @powerLien
      @powerLien 7 หลายเดือนก่อน +15

      @@Brahvim windows is like this too. if you change the hardware in your computer too much without reinstalling windows, it will revoke itself, because microsoft bases the validity of a windows license on the particular hardware configuration windows sees when it's first installed
      technically, you don't really own any software that you don't make yourself, even if it's free. what matters is the terms under which it's licensed to you. ex: linux is licensed to you under the GPL, which in practice means it's free forever

    • @moister3727
      @moister3727 7 หลายเดือนก่อน +7

      Eh, Linux is free and fully yours

    • @Zcalyps0
      @Zcalyps0 7 หลายเดือนก่อน

      @@powerLien amen to that

  • @angel_luis
    @angel_luis 7 หลายเดือนก่อน +250

    As note, it was released on 2013, so probably it was coded between 2010-2012, so its not far away from 2006. So it has been jailbroked after 11 years. PS3 was jailbroked after 3-4 years only.

    • @klairm9097
      @klairm9097 7 หลายเดือนก่อน +46

      there has been a lot of other exploits before this one, iirc 4-5 years after release

    • @Trustmage
      @Trustmage 7 หลายเดือนก่อน

      @@klairm9097 flatz jailbroke 1.76

    • @soggytoast111
      @soggytoast111 7 หลายเดือนก่อน +54

      PS4 has been jailbroken many times before on earlier firmwares. This one is just the latest one that works until 11.00.
      Also Sony is constantly patching the software with updates, this bug could have been patched at any point between 2013 and now, but it wasn't because no one knew it was in there until now.

    • @elvendragonhammer5433
      @elvendragonhammer5433 7 หลายเดือนก่อน +10

      True, but what he was referring to is that this exploit was already in the wild in 2006, which is why it the claimed date is roughly correct. There are plenty of other exploits using the same vulnerability, just with different hardware, or ordered increments. Honestly can't wait till PS4 stops getting updates, so we don't ever need 2 worry about patches screwing with custom ecosystems anymore.

    • @zandr0
      @zandr0 7 หลายเดือนก่อน +8

      @@elvendragonhammer5433 Might be a long ways off. Even the PS3 had a recent-ish update. But definitely share the sentiment!

  • @isomeme
    @isomeme 7 หลายเดือนก่อน +227

    A few of us cared about good naming conventions 20 years ago. A very few of us cared 40 years ago. It's good to have more allies today.
    My favorite software joke: The two hardest problems in software engineering are naming, concurrency, and off-by-one errors. 🙂

    • @nutbastard
      @nutbastard 7 หลายเดือนก่อน

      It sounds like there are 11 kinds of people 😉

  • @garrettrinquest1605
    @garrettrinquest1605 7 หลายเดือนก่อน +134

    Someday I hope console makers will realize their stuff is gonna get hacked and just lean into the user freedom angle. Kinda like the stream deck is doing now

    • @DigitalDiabloUK
      @DigitalDiabloUK 7 หลายเดือนก่อน +41

      They do; they just hope the defenses last long enough so they can get to their next iteration without someone breaking it and defeating DRM etc. It's why I suspect Microsoft allowed developer mode on the Xbones, those who want to write games and apps can do so, without having to exploit the whole system, leaving that area only for the pirates to investigate.

    • @vlc-cosplayer
      @vlc-cosplayer 7 หลายเดือนก่อน +39

      The PS3 let you officially install Linux. I think they removed that because they were worried someone would use the Linux environment for jailbreaks...
      But ironically, taking away Linux created a much bigger incentive to jailbreak the console, that is, bringing Linux back 😆

    • @ca_kay
      @ca_kay 7 หลายเดือนก่อน +2

      @@DigitalDiabloUK Wasn't the Switch broken, like, Day 1? You can't defend anything with an OS

    • @mofik26
      @mofik26 7 หลายเดือนก่อน +15

      Yeah, steam is this whole "piracy is a utility issue" thing, provide a good service and it goes away mostly.

    • @t0m_mcc
      @t0m_mcc 7 หลายเดือนก่อน +2

      Eventually though steam servers will one day shutdown, and then do we really own anything?

  • @CortexExists
    @CortexExists 7 หลายเดือนก่อน +144

    You can't just to round 17 years to 20, Aubrey

  • @danielsan901998
    @danielsan901998 7 หลายเดือนก่อน +270

    This is why memory safe languages like rust are bad for user freedom.

    • @talonhackbarth7652
      @talonhackbarth7652 7 หลายเดือนก่อน +64

      LOL

    • @mskiptr
      @mskiptr 7 หลายเดือนก่อน +27

      *that's why BSD should have been under the GPL

    • @matthewrease2376
      @matthewrease2376 7 หลายเดือนก่อน +14

      ​@@mskiptrwhere's the lie?
      This message brought to you by GPL superiority gang

    • @thesenamesaretaken
      @thesenamesaretaken 7 หลายเดือนก่อน +80

      Yeah I've been unironically wondering about this. It's nice that software is less likely to be taken advantage of by malicious third parties, but what do you do when it's the vendor themselves who is the malicious actor?

    • @antonf.9278
      @antonf.9278 7 หลายเดือนก่อน +47

      @@thesenamesaretaken Get out the soldering iron. No software can totally protect it self from the layers of abstractions below it.

  • @fdwr
    @fdwr 7 หลายเดือนก่อน +25

    2:59 "You can tell this code was written in '06 ... naming variables like buf and r and p and h" - Even back in 2006, those were terrible variable names, and coding naming guidelines said to favor readable pronounceable whole words over obtuse fragments (at least I recall the Windows API design guidelines stating that, attempting to correct past blunders :b).

    • @squirlmy
      @squirlmy 7 หลายเดือนก่อน +5

      although, Windows apps are meant to run, and be updated for years. Game consoles, not so much.The only coders looking at this code are trying to hack the console! It's not nearly so desirable to have readable code in the console world (unless you're porting a particular game to other platforms)

  • @PaulFisher
    @PaulFisher 7 หลายเดือนก่อน +71

    3:02: “naming variables things like buf and r and p and h are just, like, terrible naming conventions” don’t let Rob Pike catch you saying that; they’re still acting like you get charged by the byte when you write golang source code

    • @hobbified
      @hobbified 7 หลายเดือนก่อน +3

      You get charged by the character when you read it. The longer the name, the more it distracts you from seeing the shape of the code and understanding what it actually does.

    • @Nekroido
      @Nekroido 7 หลายเดือนก่อน +3

      @@hobbified only if the code itself is short, neatly written, and contains no bugs. I've spent way too much time deciphering unreadable mumbo jumbo in my career just because some bright minds wanted to use up the entire alphabet for variables instead of treating a programming language as, well, an actual language 😅

    • @golangismyjam
      @golangismyjam 7 หลายเดือนก่อน +1

      Short variable names should only be used within very short functions. People are making out like you write all go code like this.
      Calling an integer you are manipulating, i, in a 3 line function for instance.
      If you are using short variable names in any other way, you are doing it wrong.

    • @PaulFisher
      @PaulFisher 7 หลายเดือนก่อน

      @@golangismyjam ideally yes. however, in my dealings with the arbiters of Go style from my time at Google, and from reading the stdlib, there was a strong cultural norm towards shortness for its own sake, even at the expense of what I would judge as readability.

    • @PaulFisher
      @PaulFisher 7 หลายเดือนก่อน

      @@golangismyjam when writing Go code at Google, in my experience the style reviewers for the language strongly pushed authors to shorten variable names in most situations, even beyond the “just a few lines” case (which, in that particular context, I would not find objectionable)

  • @M_reapr
    @M_reapr 7 หลายเดือนก่อน +61

    The algorithm deemed this foreign video as permissable to watch. Even though i dont understand your language you sound very confident so i agree whole heartedly.

    • @AgentSephiroth
      @AgentSephiroth 4 หลายเดือนก่อน +1

      @@M_reapr You dont speak english but can type out a sentence thats more readable than people who speak perfect english??? Huh?

    • @JaxDagger
      @JaxDagger หลายเดือนก่อน

      @@AgentSephirothI mean you speak English and still didn't understand what the user was actually saying 😅

  • @Lelende
    @Lelende 7 หลายเดือนก่อน +52

    You ought to have a series sort of documenting how various consoles and machines were jailbroken sort of like MVG but maybe more code oriented/step by step

    • @itemushmush
      @itemushmush 7 หลายเดือนก่อน +2

      MVG is a king. He gets down and dirty with the code, but this channel is even lower-level than that!

    • @clebbington
      @clebbington 7 หลายเดือนก่อน +1

      agreed!! would be awesome to see a low level oriented console hacking series

  • @bpw
    @bpw 7 หลายเดือนก่อน +15

    You should look at the earlier jailbreaks, it's crazy what has happened over the years to the PS4 with some "fixes" not actually addressing the issue

  • @itwaslikethiswhenifoundit5941
    @itwaslikethiswhenifoundit5941 7 หลายเดือนก่อน +4

    Thanks for doing this rundown! Heap exploits always seem to have to be wildly complex -- building primitives, finding targets, getting rw/exec'ble memory, getting to stack, cleaning up... always nice to get the nickel tour

  • @JoArtsDev
    @JoArtsDev 4 หลายเดือนก่อน +10

    0:17 since 2006? dayum, bug leaks came 7y before the ps4 even released lol

    • @Vegetable-Jesus
      @Vegetable-Jesus 4 หลายเดือนก่อน

      @@JoArtsDev maybe it's a bug from ps3? 🤷‍♂️

    • @KING_STRONGTH
      @KING_STRONGTH 2 หลายเดือนก่อน

      I think he meant 2016. 💀

  • @UnCoolDad
    @UnCoolDad 7 หลายเดือนก่อน +58

    Can work both ways. Sometimes you include code that is so old,it doesn't have any if the newer vulnerabilities in more modern versions of that code 😂

    • @Shonicheck
      @Shonicheck 7 หลายเดือนก่อน +19

      Ah the good'ol "too broken to be lockpicked" strategy

    • @v01d_r34l1ty
      @v01d_r34l1ty 7 หลายเดือนก่อน

      This comment deserves more likes 😂

    • @GavinFromWeb
      @GavinFromWeb 5 หลายเดือนก่อน

      i mean, just run a windows 98 system and you'll get so few viruses. granted, you won't be able to do much on the pc tho, but no viruses.

  • @smartperson1
    @smartperson1 7 หลายเดือนก่อน +7

    0:40 this is the first video I've seen where you introduce yourself as Ed instead of "Low Level Learning". I like Ed a lot better.

  • @casev799
    @casev799 7 หลายเดือนก่อน +89

    So I have already have a broken PS4... Time to have fun with it I gues

    • @FelipeV3444
      @FelipeV3444 7 หลายเดือนก่อน +7

      I'm curious as to how much we'd be able to achieve with this. Cause I'd love to install Linux and Steam on my PS4 and use its GPU for essentially PC gaming lol.

    • @btwiusearch2
      @btwiusearch2 7 หลายเดือนก่อน +18

      @@FelipeV3444 sadly the gpu driver for the ps4 is not shared by sony so on linux you will be using the integrated graphics of the cpu which is horrible for gaming

    • @SanekGamer007
      @SanekGamer007 7 หลายเดือนก่อน +7

      ​@@btwiusearch2linux has been ported to ps4 (currently only for older jailbreaks like 9.00) and it has gpu drivers.
      also ps4 doesnt even have dedicated graphics iirc

    • @btwiusearch2
      @btwiusearch2 7 หลายเดือนก่อน +2

      @@SanekGamer007 sorry i meant gpu acceleration it doesnt have that

    • @btwiusearch2
      @btwiusearch2 7 หลายเดือนก่อน +2

      @@SanekGamer007 i also had linux on a jailbroken ps3 and that too had gpu driver but no graphics acceleration but some one somehow programmed a graphics acceleration driver for the ps3

  • @0dayCTF
    @0dayCTF 7 หลายเดือนก่อน +2

    This is wild! Awesome content as always. So crazy that was around 20 years.

    • @LowLevelTV
      @LowLevelTV  7 หลายเดือนก่อน

      YOOOO my guy! Thank you! 🫡

  • @tredband92
    @tredband92 7 หลายเดือนก่อน +8

    Thanks for the video. My constructive feedback is to zoom in a big more on the code so it’s easier to see in the video. Watching on my phone the code is too small to see. Love the content!

  • @CupoChinoMusic
    @CupoChinoMusic 7 หลายเดือนก่อน +3

    the moment I hear PPPoE I think: Who the fuck would use a PS4 as a DSL modem?

  • @shizeeque
    @shizeeque 7 หลายเดือนก่อน +8

    1:32 a small clarification. PPP and PPPoE are not the same. PPP as you mentioned stands for Point-To-Point Protocol it's a dial-up connection daemon. PPPoE stands for PPP over Ethernet. It's a Ethernet connection daemon using PAP/CHAP for authentication.
    The difference between PPP (pppd) and PPPoE (rp-pppoe) is one used to connect over a landline telephone wire and another (your case) is used to connect over Ethernet.

  • @billytk1225
    @billytk1225 2 หลายเดือนก่อน

    20 years ago most companies didn't want to allow the time for coders to do things properly, they wanted it fast and working so down and dirty code was done all the time. I actually left my job as a programmer (consultant) because too many companies just wanted things patches and fixed fast rather than coded properly so others at a later date would be able to maintain the code without wondering what was going on. I told them if they didn't want it done properly, then I'm not the person they were looking for.

  • @deltacx1059
    @deltacx1059 7 หลายเดือนก่อน +4

    1:14 rather you now actually own the thing, what a concept.

  • @playernoob1249
    @playernoob1249 2 หลายเดือนก่อน +1

    Sony is wierd for keeping pppoe as an option for network connection. But its good that they did it.

  • @invalidation
    @invalidation 7 หลายเดือนก่อน +37

    Thinking readable code wasn’t a standard in 2006… 🤣
    It was a practice that was ignored just as it often is now, and as it was when I got started in the 90’s

    • @DavidCowie2022
      @DavidCowie2022 7 หลายเดือนก่อน +11

      "If it was hard to write, it should be hard to read."

    • @Ty4ons
      @Ty4ons 7 หลายเดือนก่อน

      You can search for Critical Program Reading (1975) to see just how old it is.
      People have been struggling with unreadable source code since the dawn of programming and have tried to figure out solutions.
      Part of it is the background too. If you're used to math then single character variables often feels like the cleanest solution, but in Java it should be a sentence.

    • @lvlinty
      @lvlinty 7 หลายเดือนก่อน +5

      In 2006 Perl still saw regular ( yet dwindling use). Php owned the web and jQuery wasnt really on the scene yet.
      I think a lot of people are confusing 2006 and 2014...

    • @invalidation
      @invalidation 7 หลายเดือนก่อน +6

      @@DavidCowie2022 some developers seem to think that “security through obscurity” is a coding style and applies to job security.

    • @4rumani
      @4rumani 7 หลายเดือนก่อน

      it wasn't ignored "as often as it is today" at all, they obviously cared about it less. are you stupid?

  • @RoraighPrice
    @RoraighPrice 7 หลายเดือนก่อน +1

    I like this guy's approach to talking, he knows he's talking about something complicated but manages to not be condescending and spells things out for us un knowledgeable in his special field

  • @discordiangod
    @discordiangod 6 หลายเดือนก่อน +3

    "Its clear its been written in 06"
    Me still using single letter variables: BD

  • @MikkoRantalainen
    @MikkoRantalainen 7 หลายเดือนก่อน +2

    2:57 I don't know if it's because of my math background but I actually like single letter variable or pointer names within a single function but the public interface (function signature) shall not use single letter names. And the function implementation shall be short enough to only need use of 3-5 variables. The code ends up looking something like
    i = ...
    p = function_argument_x->public_function_name(i);
    return p->next;
    or something like that. Having long names for i and p will not improve readability when you only need to remember the name for the next line. And obviously you choose the single letter to match the function name that was used to set the value of said variable.

    • @hughcaldwell1034
      @hughcaldwell1034 7 หลายเดือนก่อน +1

      I think it probably is a maths thing. My wife says I write code like a mathematician with all the single letter variables. Which is fine because I only code for myself, and usually just to make Python do tedious calculations for me. My CS minor serves my maths major.

    • @MikkoRantalainen
      @MikkoRantalainen 7 หลายเดือนก่อน

      @@hughcaldwell1034 I did CS major and maths minor but I think it makes sense that the end result is almost similar.

    • @hughcaldwell1034
      @hughcaldwell1034 7 หลายเดือนก่อน +1

      @@MikkoRantalainen Yeah, depending on what one is specialising in, it seems to me that a lot of CS is as close as any applied subject gets to pure mathematics. I'm definitely more a fan of the logic and algorithms side of things, proofs and all, than the specific implementation in a system.

  • @kiseitai2
    @kiseitai2 7 หลายเดือนก่อน +2

    The irony is that it is Sony products that made me interested in code security concepts because I had a PSP and exploits like this one or exploits using images (forgot which image format) would happen often enough you always had a chance to switch to custom firmware. I think that has made me a better developer, albeit one disappointed by a lot of current enterprise code or disappointed when my patches to up the number of characters in a password field was rejected… because it was certain to cause issues for customers. Haha. Console exploits to enable CFWs is an insane world!

  • @TheCod3r
    @TheCod3r 6 หลายเดือนก่อน

    It would help to zoom in on code. It's impossible to see on a phone and I have to zoom in to see it

  • @roisoleilxiv14
    @roisoleilxiv14 7 หลายเดือนก่อน +5

    Would be interesting to test if this works on the PS3 OS aswell. As far as i know, it is also based on BSD, but i dont know whether the PS4 also has the lv1 lv2 hypervisor structure

    • @wingedzero
      @wingedzero 7 หลายเดือนก่อน +1

      Memory exploits often cause the ps3 to crash. The risk for bricking is too high so they are not ideal.

    • @81milliontotallylegitimate10
      @81milliontotallylegitimate10 7 หลายเดือนก่อน

      Not accurate at all ​@@wingedzero

    • @sirtra
      @sirtra 7 หลายเดือนก่อน +1

      Entirely different processor, definitely won't work.
      Ps3 was a weird console that developers hated because it was so weird.. same reason it's so hard to emulate even to this day.

    • @MuadDiiib
      @MuadDiiib 6 หลายเดือนก่อน +1

      @@sirtra rpcs3 is making a lot of progress, no?

    • @MontySlython
      @MontySlython 4 หลายเดือนก่อน

      @@MuadDiiib still no save state functionality but sure.

  • @VoyivodaFTW1
    @VoyivodaFTW1 7 หลายเดือนก่อน +1

    The PS3 could be jailbroken with a texas instrument calculator. Still one of the funniest things ever in tech to me.

  • @echeese63
    @echeese63 7 หลายเดือนก่อน +3

    "P comes out of H+1" after being stored in the balls, obviously

  • @wltechblog
    @wltechblog 7 หลายเดือนก่อน +2

    The length of a variable name should be relative to its scope. In many contexts, 'buf' is a perfectly adequate name! You don't lose any information using 'i' in a 2 line for loop compared to naming it 'iterator', but it's obviously a different story when you're using it over 2 pages of code.

  • @id104335409
    @id104335409 7 หลายเดือนก่อน +9

    Actually an open code game console WOULD BE WILDLY SUCCESSFUL!!!! Everyone will want one and all the indie developers will want to create games for it and port their old games for it. The potential is MASSIVE! All you need is a safe store that is protected so that devs get their money. Imagine everyone who does game related stuff - games, mods, items - everyone can put their own prise. Sure, you could pirate, but I imagine not many pirates would want to pirate stuff available on the console for like 1$ that goes to the developer and not Ubisoft. Plus open source means holes will be plugged pretty fast.

    • @jordanb722
      @jordanb722 7 หลายเดือนก่อน +6

      We have that - it's a regular computer XD

    • @joogled1839
      @joogled1839 5 หลายเดือนก่อน +1

      @@nagaserpentico that wasn't the pitch of ouya. the pitch of ouya was 'to bring videogaming back to the television', whatever the hell that means.. that, and you can make your own games to be sold on the platform.

  • @maotseovich1347
    @maotseovich1347 7 หลายเดือนก่อน +1

    People wrote code like that 20 years ago because they didn't want to have to scroll laterally all the time to read lines of code that wouldn't fit onto a 640p monitor.

  • @fardinhaque70
    @fardinhaque70 7 หลายเดือนก่อน +4

    Wish you gave TheFlow0 a shout out because that guy is a legend when it comes to sony console exploits.

  • @The_Pariah
    @The_Pariah 5 หลายเดือนก่อน +1

    @2:56
    Were you even alive 20 years ago...?
    And giving variables/functions/etc *meaningful* names was definitely something taught back then.
    I remember books and specifically a website called JavaScript Corral teaching this and specifically teaching people NOT to name variables like that.
    So IDK where you're getting this "Yup...this is a clear mid-2000s identifier" from.

  • @LibreGlider
    @LibreGlider 7 หลายเดือนก่อน +21

    Wanna feel old? 2004 was 20 years ago. I was a lost kid at uni drinking cheap beer...

    • @UnknownUnrecognized
      @UnknownUnrecognized 7 หลายเดือนก่อน +3

      uni 1968...

    • @v01d_r34l1ty
      @v01d_r34l1ty 7 หลายเดือนก่อน +3

      Born in '03, drinking cheap beer myself now. :)

    • @sunsetman22
      @sunsetman22 7 หลายเดือนก่อน

      I wish I could say this to myself 20 years from now

    • @LibreGlider
      @LibreGlider 7 หลายเดือนก่อน

      @@sunsetman22just dont win a Darwin Award and you'll be good.

    • @LibreGlider
      @LibreGlider 6 หลายเดือนก่อน

      @@sunsetman22Not with that attitude... You'd be amazed how fast a couple of decades can wiz by.

  • @yourdemiseishere
    @yourdemiseishere 7 หลายเดือนก่อน +1

    Meanwhile everyone with a PS4 that has standards against piracy now rushing to crack their stuff.

  • @saifhussain3303
    @saifhussain3303 7 หลายเดือนก่อน +12

    Description doesn't seem accurate 👀

    • @Cmanorange
      @Cmanorange 7 หลายเดือนก่อน +5

      the apple playstation

    • @happycolours8551
      @happycolours8551 7 หลายเดือนก่อน

      Hmmm 🤔

    • @LowLevelTV
      @LowLevelTV  7 หลายเดือนก่อน +7

      thank you youtube is trying to end my career ong

  • @JohnThePon
    @JohnThePon 7 หลายเดือนก่อน +1

    The next time I complain about a black duck scan at work, I'll come back and watch this... 😅

  • @ClayTheFoxx
    @ClayTheFoxx 7 หลายเดือนก่อน +24

    2:26 missed opportunity to confirm that pee is stored in the balls

    • @oafkad
      @oafkad 7 หลายเดือนก่อน +4

      That laugh hurt.

  • @Cheezus-Crus7
    @Cheezus-Crus7 5 หลายเดือนก่อน

    Thing is, you don't know what their mini socket server is downloading, now it would be easier to enable USB read by default on startup in the kernel so that you don't need an Internet connection.
    The only good thing is, you could create your own socket server on that port locally and inject your own code which can enable literally everything you want.

  • @brandyballoon
    @brandyballoon 7 หลายเดือนก่อน +5

    Nice to meet you Ed 😊

  • @mohamedkoblawi4175
    @mohamedkoblawi4175 7 หลายเดือนก่อน +2

    Me nodding my head to this as if i understand anything

  • @supremebeme
    @supremebeme 7 หลายเดือนก่อน +5

    this stuff is over my head but i still enjoy your content

  • @wibblywobblyidiotvision
    @wibblywobblyidiotvision 7 หลายเดือนก่อน +1

    Point of order. Single letter variable naming comes from the times when source code space was problematic. It's carried over since then and has been known to be a problem for code readability since the '70s. It's not something that suddenly became known some time in the early 2010s. However, if code is structured in such a way that functions are short, it's less of a problem.
    That said, self documenting code is a good thing to aim for, but even fully comprehensible variable names can become misleading as a codebase evolves due to changing requirements; this can even be a problem for comprehension and correct usage of code which is not touched in that evolution.
    It's not new, and "fixing" it is not a silver bullet, is what I'm trying to say.

    • @lastfm4477
      @lastfm4477 6 หลายเดือนก่อน

      Hear, hear!

  • @horrorislander
    @horrorislander 7 หลายเดือนก่อน +5

    Wears shirt saying "everything is open source if you can read assembly" while complaining about abbreviated variable names! :-)

  • @youtube_acct_42
    @youtube_acct_42 7 หลายเดือนก่อน +2

    Naming conventions. Hilarious. FreeBSD kernel still uses variables like this. PS4 is FreeBSD. The style probably followed to the code you are showing given the experience needed to jailbreak a FreeBSD fork. I ran into the same buggy code at my dayjob that uses FreeBSD.

  • @mobslicer1529
    @mobslicer1529 7 หลายเดือนก่อน +18

    real name reveal is crazy

    • @Brahvim
      @Brahvim 7 หลายเดือนก่อน +1

      I've always wanted it, and he finally did it! Hey, Ed! Thanks for all the videos!

    • @Sarfarazzamani
      @Sarfarazzamani 7 หลายเดือนก่อน +1

      Why should he care when he has already revealed his REAL face? 😀

  • @oh3831
    @oh3831 6 หลายเดือนก่อน +1

    why am i watching this its not like the knowledge is going into my brain

  • @priyanshuupadhyay4854
    @priyanshuupadhyay4854 7 หลายเดือนก่อน +47

    One last video before i go to bed ,
    This video

    • @nickst2797
      @nickst2797 7 หลายเดือนก่อน +4

      Did you go to bed yet?

    • @priyanshuupadhyay4854
      @priyanshuupadhyay4854 7 หลายเดือนก่อน +1

      @@nickst2797 ya dude , good night its 2:20 am here in india

    • @anonp2958
      @anonp2958 7 หลายเดือนก่อน +3

      @@nickst2797 I wonder if we can get people to leave nice comments for him to wake up to?

    • @darksequenceyt2446
      @darksequenceyt2446 7 หลายเดือนก่อน +2

      Have cholay and anda in ur breakfast lol!

    • @scattagain
      @scattagain 7 หลายเดือนก่อน +1

      Im also gonna sleep after this, 4:30am for me >:D

  • @lorddorker3703
    @lorddorker3703 7 หลายเดือนก่อน +2

    Showing my age but that naming convention buf,p,etc.. would have not passed code reviews from 30 years ago maybe in the 70's when memory was limited.

  • @replikvltyoutube3727
    @replikvltyoutube3727 7 หลายเดือนก่อน +7

    It was also noted there that it works on PS5.
    Is this really the time we are going to see more PS4 and PS5 as Linux desktops?! Would be fire actually

    • @rj7250a
      @rj7250a 7 หลายเดือนก่อน

      I mean, they have x86_64 CPUs, you just would need drivers for GPUs (same arch as AMD desktop GPUs) and the wifi chip, and some more firmware.

    • @The2011andrey
      @The2011andrey 7 หลายเดือนก่อน +3

      from what i know, you can run linux on the ps4, if you have the firmware 9.00 and below jailbreak, i don't know how it is for the 11.00 one.

  • @jamesrivettcarnac
    @jamesrivettcarnac 5 หลายเดือนก่อน

    3:18 there are some good short bar names. i as index in for loop for example.
    Is so ubiquitous it's functionally it's own word. I see 'i', i know I'm indexing something in some loop or recursion. If I'm not: then there is a problem.
    If i see 'j', it's a nested loop, and i gotta be careful because it's super expensive to add any cycles.

  • @bsvenss2
    @bsvenss2 7 หลายเดือนก่อน +9

    Love your T-shirt! 🙂

    • @dasdos002
      @dasdos002 7 หลายเดือนก่อน

      Love it too! Came to the comments to say the same thing lol

  • @newsofthenerd
    @newsofthenerd 7 หลายเดือนก่อน +2

    Ed kidnapped Low Level Learning. Never forget, never surrender, stay strong LLL 💪

    • @LowLevelTV
      @LowLevelTV  7 หลายเดือนก่อน +5

      Who told you

  • @Winnetou17
    @Winnetou17 7 หลายเดือนก่อน +3

    Who's this Ed and what have you done with Low Level Learning ?

  • @KingofJ95
    @KingofJ95 5 หลายเดือนก่อน

    You could add most of this dialogue to an 80s hacker movie and it would fit right in perfectly.

  • @demolazer
    @demolazer 7 หลายเดือนก่อน +1

    Wow. Some of the stuff that's been achieve in the console world is on another level. I remember watching something where some people reverse engineered the NES hardware with no documentation.

  • @MattDog_222
    @MattDog_222 7 หลายเดือนก่อน +4

    His name is what? LLL?

  • @eyezikandexploits
    @eyezikandexploits 7 หลายเดือนก่อน

    As someone in the "hacking" seine i really like how you explained the exploit, its pretty wild how it got exploited

  • @cardboardbox_tech
    @cardboardbox_tech 7 หลายเดือนก่อน +3

    P comes out of...

  • @igorgiuseppe1862
    @igorgiuseppe1862 6 หลายเดือนก่อน

    3:15 even if you are the only one reading the code, its quite usefull to have more than one character in the name of an variable, you will make your life easier when you need to "control+F" all references to that variable.

    • @lastfm4477
      @lastfm4477 6 หลายเดือนก่อน

      WTF are you using '^F'? In what editor is that a thing. In 'vi' you use '/\[enter]'. In 'vim' or 'neovim' you put the cursor on the 'p' and hit *. This is UNIX code, you'd be using a real UNIX editor.

  • @poisonouspotato1
    @poisonouspotato1 7 หลายเดือนก่อน +4

    I like your funny words, magic man

  • @Zebra66
    @Zebra66 7 หลายเดือนก่อน

    Is it necessary to hack code to beat security? Aren't all of these security systems reduced to 5v or 0v, yes or no, 1 or 0 at the relevant part of the circuit... at the appropriate time?
    I.e. the code that tells the console if the disc is genuine or a copy is expecting a response that can be observed, recorded and duplicated at an electrical level with a scope? Or are they more sophisticated these days.

  • @idontexist-satoshi
    @idontexist-satoshi 7 หลายเดือนก่อน +4

    2024-2006 is not 20 years my guy.... regardless, thats a cool find! Now for someone to run it via GPT and have it clean up the code and find some fun things to do with it.

    • @init_yeah
      @init_yeah 7 หลายเดือนก่อน +1

      Not, if you round up

    • @idontexist-satoshi
      @idontexist-satoshi 7 หลายเดือนก่อน

      @DanteS-119 Did you just see GPT and not read the rest of what I put?

    • @idontexist-satoshi
      @idontexist-satoshi 7 หลายเดือนก่อน

      @@init_yeah untrue, rounding up means you are looking at it from a floating point value. In this case, it's 2024-2006 is 18. You can't round 18 to 20 lol. Simple maths.

  • @Sanglyon
    @Sanglyon 7 หลายเดือนก่อน

    Not explicitly naming your variables was already considered bad practice long before the 00's. You can find source code from the 80's with properly named variables, in now obsolete languages like Basic or Pascal.

  • @jogurcik13
    @jogurcik13 7 หลายเดือนก่อน +6

    Just a reminder: fuck sony

    • @ProtossOP
      @ProtossOP 7 หลายเดือนก่อน

      Based and true

  • @hamesparde9888
    @hamesparde9888 7 หลายเดือนก่อน +1

    I honestly think that using really short hard to decipher variable names is a holdover from when languages had much tighter limits on name lengths and also a lot of systems only supported 40 columns. And now you get people who think using really short names somehow makes programs easier to read "because that's how it's always been done" (or at least that's what I assume their reasoning is) and "reasons". I think this is especially the case for some people who write a lot of C. It's a different thing, (I think it comes from a similar attitude) but I once had a guy tell me that the function name should tell you what the code does and so you don't need comments (keep in mind he was talking about a function that was over 2,000 lines long and had no comments!)

    • @lastfm4477
      @lastfm4477 6 หลายเดือนก่อน

      Why is 'h' for "header" and 'p' for "pointer" so hard to remember as you're reading this code? Or modifying this code? I really don't think all you keyboard warriors doing nothing but biching about Unix/Linux kernel code have never read or modified such code.

    • @hamesparde9888
      @hamesparde9888 6 หลายเดือนก่อน

      @@lastfm4477 I didn't say everything shouldn't be shortened. No I haven't read any Linux source code. I've read the code for Minix. Sure very common thing might benefit from being shortened, but I think this is often taken much further than it should be. It's not that hard to type a few extra characters and in most cases it really helps with readability. Maybe it's a problem if you have a 640 by 480 display 🤔.

  • @Alberto-ww7vb
    @Alberto-ww7vb 7 หลายเดือนก่อน +4

    Bloodborne for Pc is coming rahhhhhhhhhhhhhhhhhhh

  • @TechX1320
    @TechX1320 7 หลายเดือนก่อน

    i would assume the code you're looking at is decompiled code in some form, which might be why the variables are p/h/r/buf etc. It just places generalized variables. I see this a lot in my reverse engineering of old stuff

  • @Rollthered
    @Rollthered 7 หลายเดือนก่อน +5

    hehe he said pp

    • @Trumben
      @Trumben 6 หลายเดือนก่อน

      Not only that, he also said pp pee

  • @lastfm4477
    @lastfm4477 6 หลายเดือนก่อน

    Some folks don't see the value in 'the_local_variable_thats_a_pointer' and 'the_result_that_will_be_returned_from_this_function' and 'the_local_variable_thats_a_buffer_holding_things' as variable names? Weird.

  • @warezit
    @warezit 7 หลายเดือนก่อน +5

    -20 years ago, developers used names like "p" and "h" because of hardware restrictions (specifically harddrive space), it wasn't because they liked doing it that way. 😉 You need to write code a bit differently when you only have 120 MB of space for the operating system and all your programs and files, compared to today where everyone has GBs of free space at all times.-
    ... Love that shirt btw!! 😀
    Thank you everyone for all the feedback! I ended up researching this topic a bit more, and learned a lot! 😎

    • @Niosus
      @Niosus 7 หลายเดือนก่อน +6

      Your variable names don't exist after compilation, so no need to be terse for that.
      If you're talking about memory limitations of the developer's computer... In 2004, it wasn't unusual to have a GB of RAM. The contents of a text file really didn't bother computers by then. Maybe this was an issue in the 80's, but not in the 00's. Half Life 2 came out in 2004. Crysis would release just 3 years later. It really wasn't the dark ages anymore. Computers were fast and had plenty of RAM for software development.
      I've worked with a guy who still named variables like that in 2016 or so. He was getting close to retirement and just stuck in bad habits. People just didn't think as much about code maintainability.

    • @warezit
      @warezit 7 หลายเดือนก่อน

      @@Niosus Those are definitely good points! I keep forgetting how 20 years ago means 2004 😭 I'm getting too old! 🤣

    • @welcometovalhalla2884
      @welcometovalhalla2884 7 หลายเดือนก่อน +1

      @@Niosus I was basically gonna write the same comment, I was a kid back then but I think our home PC had a 128gb hard drive and 512mb of ram around that time. I think the variable names do exist somewhere in interpreted languages so maybe it was a concern for late 90s Java/JS/PHP programmers? More likely to be habits taught by people who programmed even earlier tho

    • @talonhackbarth7652
      @talonhackbarth7652 7 หลายเดือนก่อน +3

      Yeah, it's not so much hardware limitations, since the names don't stick around after compilation, but more because C programmers for a while had a habit of writing this way and that got passed down to many developers. A lot of older c programmers came from assembly which is where some of it stems from. Sort of the opposite of Java devs 800 character names, LOL

    • @thesenamesaretaken
      @thesenamesaretaken 7 หลายเดือนก่อน

      Wew mate my childhood 386 machine back in the early 90s had more than 100MB of hard drive space. I'd very surprised if even back then people worried about how much space their variable names would take up

  • @BuckyOhYeah
    @BuckyOhYeah 7 หลายเดือนก่อน

    3:00 - I'd argue it was due to memory constraints of some systems the library is used in. Say it's updated now with human readable variable names, and some convention, the size would likely inflate by more than 50%... this could affect older systems were they to keep updated? (I'm thinking).
    Having been a dev for roughly 26 years, I remember in my early days it was quite important to save bytes wherever you could.

    • @cmf2nmMWX9qy
      @cmf2nmMWX9qy 7 หลายเดือนก่อน

      This is linux kernel C code, so variable names don't make it into a binary unless optional debugging flags are enabled.

    • @BuckyOhYeah
      @BuckyOhYeah 7 หลายเดือนก่อน

      @cmf2nmMWX9qy it's a library used all over the place. Not just the Linux kernel. But very good point nonetheless. Perhaps it wouldn't be so much due to memory? Not sure...
      But whenever I see single letter vars, I immediately think memory constraint.

  • @ding.1367
    @ding.1367 7 หลายเดือนก่อน +4

    rawr

  • @peterjansen4826
    @peterjansen4826 6 หลายเดือนก่อน

    For this video a higher resolution would help a lot, just because it makes the code much more easily readable.

  • @nickwallette6201
    @nickwallette6201 5 หลายเดือนก่อน

    This makes me so happy.

  • @katana2k
    @katana2k 7 หลายเดือนก่อน

    I imagine that “naming things properly” has been a thing since the first time somebody was expected to work on code they didn’t write

    • @lastfm4477
      @lastfm4477 6 หลายเดือนก่อน

      Yes, because 'h' for header and 'p' for pointer is *so hard* for a developer to remember when maintaining this function.

  • @damencole5960
    @damencole5960 5 หลายเดือนก่อน

    I am still waiting to hear back that someone exploited code injection on the game Portal 2 in order to jailbreak a PlayStation. When that day comes, it will be the silliest way to jailbreak known possible.

  • @onedeadsaint
    @onedeadsaint 7 หลายเดือนก่อน +1

    your break down of the code reminds me of playing a OTK deck in yugioh; everything is chained together in this ridiculous combo