I agree that the naming convention for this family of functions is badly designed. However, I personally prefer more abbreviated names over absurdly long names. I am a C programmer, so I guess take that with a grain of salt. But it's nice to have the most commonly used functions with the shorter names. For an additional reason that libc functions specifically have short names, my memory is that some pre-ANSI C versions considered two identifiers the same if they started with the same 8 characters, so libc functions needed to keep their names small enough to satisfy that constraint.
@@dumonu Point 2 is valid, but I think if you want your functions to have shorter names, you should redefine it yourself. A library shouldn't assume what abbreviations make sense. it's a little annoying that 'spwd' (the name of the struct) and 'sp' (in the function) are both used for abbreviations of ShadowPassword Edit: And I really think the function should just be called 'GetShadowPasswordEntry' It takes just one line to redefine and we can have informal agreed upon shortings (import numpy as np)
Very informative..... the way you are explaining the codes and function line by line this shows your grip on the subject... thanks for making such videos and keep the knowledge alive!!!
🤣 i was wondering why they called that function set"spend"() since begining... 5:09.... got me....😂 Yep it actually make sense... As always.. marvelous work.. i wouldn't thoght i would be able to understand any of these in my life.... you made it such fun learning it..🤗 thanks
I really love your video production, it's quite fantastic and you do a good job of breaking things down in a way that's easier to understand. Coming from someone who's more into networking and servers and such than the actual individual processes and libraries and such running baremetal, at least. It's kind of like taking decompiled binary data and turning it into ASM. It still sucks, but a lot less than it did previously, and at least i can learn things!
Small note: libnss does a lot of things including mapping user IDs to usernames, group membership etc. But the one thing it does not do is checking your password. That's actually the job of pam. Having said that, pam works very similar to nss by loading modules at runtime, based on a config file.
5:25 I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux.
sorry for noobing around but i can't help but wonder and ask if the "nss ldap" option can be taken advantage of in any way to leverage cve-44228(where vulnerable of course).......also if this is completely dumb please excuse me, i really know anything about this stuff lol😅
I have the same passion that you had when I was young, and more than that, I saw THE last video and I did not understand anything, so I saw your first video, which is the intro video Please, would you teach me the name of that passion?
Mich wundert in diesem Programmcode mittlerweile echt gar nichts mehr... Wobei, doch, eins: Mich wundert, dass es meistens scheinbar tatsächlich funktioniert.
@@vaisakhkm783 Looks like it's a hacked account. The account is old, but they have multiple comments that follow this same pattern so it's probably used as a bot now.
@@kajaxochi8562 😁yep.... Black markets would have selling bunch off these..... Too bad youtube require phone no. To sign up for account, otherwise we could make many account and sell them after 5 years😂
I love how there's a dedicated explanation of the function name "setspent". I wish C devs would stop using unnecessarily short identifiers.
Or just use the shift key
I agree that the naming convention for this family of functions is badly designed. However, I personally prefer more abbreviated names over absurdly long names. I am a C programmer, so I guess take that with a grain of salt. But it's nice to have the most commonly used functions with the shorter names.
For an additional reason that libc functions specifically have short names, my memory is that some pre-ANSI C versions considered two identifiers the same if they started with the same 8 characters, so libc functions needed to keep their names small enough to satisfy that constraint.
@@dumonu I am also a c programmer but im not too proud to use nicer cases
@@dumonu Point 2 is valid, but I think if you want your functions to have shorter names, you should redefine it yourself.
A library shouldn't assume what abbreviations make sense. it's a little annoying that 'spwd' (the name of the struct) and 'sp' (in the function) are both used for abbreviations of ShadowPassword
Edit: And I really think the function should just be called 'GetShadowPasswordEntry'
It takes just one line to redefine and we can have informal agreed upon shortings (import numpy as np)
@@kreuner11 I think uppercase letters existed in 197X
One of the best of best youtubers
I see why.
He has a real teachers mentality
Very informative..... the way you are explaining the codes and function line by line this shows your grip on the subject... thanks for making such videos and keep the knowledge alive!!!
🤣 i was wondering why they called that function set"spend"() since begining...
5:09.... got me....😂
Yep it actually make sense...
As always.. marvelous work.. i wouldn't thoght i would be able to understand any of these in my life.... you made it such fun learning it..🤗 thanks
I really love your video production, it's quite fantastic and you do a good job of breaking things down in a way that's easier to understand. Coming from someone who's more into networking and servers and such than the actual individual processes and libraries and such running baremetal, at least. It's kind of like taking decompiled binary data and turning it into ASM. It still sucks, but a lot less than it did previously, and at least i can learn things!
Small note: libnss does a lot of things including mapping user IDs to usernames, group membership etc. But the one thing it does not do is checking your password. That's actually the job of pam. Having said that, pam works very similar to nss by loading modules at runtime, based on a config file.
excited for the next part
NSS has been such a wonderful, painful mess for ever. It sure made many a day in my career a more "interesting" one.
Amazing!!!
Wait, 11 minutes have passed already? It felt like we were only 2 minutes in XD
Got me hooked
Amazing walkthrough.
Thank you.
Thank youuuu!!!!
5:25 I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux.
You should do a video on dirtycow! its a sudo exploit.
He already did
Going up and down the caustic in this vid :P
Thank you!
Nice video, as always! For an explanation on setXXent getXXent nomenclature : man getent
If there's a god, you're doing his work.
I'm also thankful you're not deep in the bushes burning witches. 🔥 🧙
great video
Push!
sorry for noobing around but i can't help but wonder and ask if the "nss ldap" option can be taken advantage of in any way to leverage cve-44228(where vulnerable of course).......also if this is completely dumb please excuse me, i really know anything about this stuff lol😅
argh ... macros which define a function is a macro and is surrounded by macros ...
I have the same passion that you had when I was young, and more than that, I saw THE last video and I did not understand anything, so I saw your first video, which is the intro video Please, would you teach me the name of that passion?
I'm not the expert but why glibc 2.31 when we have much more stable systems there !
Kannst du bitte mal ein Video darüber machen wiediese ganzen Call of Duty Unlock All Tools funktionieren?
Ich finde dazu leider nirgends Infos drüber.
Damn, that all is possible just because you don't check if provided string ended...
💝💝🔥🔥
also algorithm comment
I always had a bad feeling about NSswitch
Mich wundert in diesem Programmcode mittlerweile echt gar nichts mehr... Wobei, doch, eins: Mich wundert, dass es meistens scheinbar tatsächlich funktioniert.
Do you know that BTC are being in Wallet ETH smart contract ...Check out this token wallet address
Are you mr beast?
/////////
This somehow felt WAY shorter than 11 minutes
Someone needs to learn about how to name functions. This is awful. even camel case would've helped here.
First
2nd
Annoying music
?? There is no background music in this video.
@@foorack 😂it might be a bot
@@vaisakhkm783 Looks like it's a hacked account. The account is old, but they have multiple comments that follow this same pattern so it's probably used as a bot now.
@@kajaxochi8562 😁yep.... Black markets would have selling bunch off these.....
Too bad youtube require phone no. To sign up for account, otherwise we could make many account and sell them after 5 years😂