Strings can get you hacked! (buffer overflows, strcpy, and gets)
Strings are basic, but they also cause so many security problems, like buffer overruns, that new programmers usually don't understand or recognize. This video shows how careless string operations can make your code vulnerable to attack and gives some tips about what you can do to make your software more secure.
Objdump video: https://www.youtube.com/watch?v=bWMIpHVRFUo
**** Sponsor Offer ****
Register to get $100 free coupon:
https://www.nextpcb.com?code=Jacob
Double side PCB assembly free shipping:
https://www.nextpcb.com/pcb-assembly-services?code=Jacob
Free PCB Design Analysis Software:
https://www.nextpcb.com/nextdfm.html?code=Jacob
****
Welcome to my channel.. I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/
To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Note: I haven't posted ALL of the code from ALL of my videos yet. The site contains code from my recent tutorials (I wasn't quite as organized in the pre-2019 past). I will add examples from older videos as I dig them up.
Want me to review your code?
Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."
You can also find more info about code reviews here.
https://www.youtube.com/watch?v=k2K2HVg4Arc
Видео Strings can get you hacked! (buffer overflows, strcpy, and gets) канала Jacob Sorber
Objdump video: https://www.youtube.com/watch?v=bWMIpHVRFUo
**** Sponsor Offer ****
Register to get $100 free coupon:
https://www.nextpcb.com?code=Jacob
Double side PCB assembly free shipping:
https://www.nextpcb.com/pcb-assembly-services?code=Jacob
Free PCB Design Analysis Software:
https://www.nextpcb.com/nextdfm.html?code=Jacob
****
Welcome to my channel.. I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/
To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Note: I haven't posted ALL of the code from ALL of my videos yet. The site contains code from my recent tutorials (I wasn't quite as organized in the pre-2019 past). I will add examples from older videos as I dig them up.
Want me to review your code?
Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."
You can also find more info about code reviews here.
https://www.youtube.com/watch?v=k2K2HVg4Arc
Видео Strings can get you hacked! (buffer overflows, strcpy, and gets) канала Jacob Sorber
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
We moved to Africa! (and some thoughts about learning to program in C)Can I Debug Release Code?Header Issues: Guards, Name Mangling, and extern "C"Buffer Overflow Attack - ComputerphileWhat languages should you learn?A simple Format String exploit example - bin 0x11Reviewing your Code: RefactoringHow to Get Started Learning Embedded SystemsVulnerabilities of the gets function in CBit Fields in C. What are they, and how do I use them?Should you avoid linked lists? (linked list vs arrays)What if I try to malloc WAY too much memory?How one thread listens to many sockets with select in C.Starting Competitive Programming - Steps and MistakesUnderstanding and implementing a Hash Table (in C)How to exploit a buffer overflow vulnerability - PracticalSetup Tips for Your Next Programming ProjectSafety and Speed Issues with Threads. (pthreads, mutex, locks)Reading and Writing Files in C, two ways (fopen vs. open)