Reddit Programming
209 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Git Rebase - Explained Like You’re New to Git
https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/

<!-- SC_OFF -->If git merge feels messy and your history looks like spaghetti, git rebase might be what you need. In this post, I explain rebase in plain English with: A simple everyday analogy Step-by-step example When to use it (and when NOT to) Perfect if you’ve been told “just rebase before your PR” but never really understood what’s happening. <!-- SC_ON --> submitted by /u/sshetty03 (https://www.reddit.com/user/sshetty03)
[link] (https://medium.com/stackademic/git-rebase-explained-like-youre-new-to-git-263c19fa86ec?sk=2f9110eff1239c5053f2f8ae3c5fe21e) [comments] (https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/)
Remote Code Execution With Buffer Overflow In C: Stack-frames, Return Addresses and Modern Defenses
https://www.reddit.com/r/programming/comments/1mnfutx/remote_code_execution_with_buffer_overflow_in_c/

<!-- SC_OFF -->When people said 'buffer overflows can be used to execute arbitrary code' in blogs/videos, I wondered how that is possible as for me, a buffer was just a reserved array of bytes in the program's memory meant for 'storage' and not 'execution'. On diving deeper, I was fascinated how return addresses are modified to execute code stored in the buffer and also the security measures undertaken by operating systems and compilers to avoid such attacks. I am not a cybersecurity expert (I'm into ML and Android dev), but the breadth of low-level concepts covered while researching the topic, motivated me to combine all my findings/ideas in a blogpost. The blogpost also describes the process of developing a payload that when given to a vulnerable program can cause a RCE. Do share your thoughts on the topic and the blog! <!-- SC_ON --> submitted by /u/shubham0204_dev (https://www.reddit.com/user/shubham0204_dev)
[link] (https://shubham0204.github.io/blogpost/programming/rce-with-buffer-overflow) [comments] (https://www.reddit.com/r/programming/comments/1mnfutx/remote_code_execution_with_buffer_overflow_in_c/)