Advanced Linux/UNIX User's Guide
Welcome back, everyone!
Magic byte identifier table: https://en.wikipedia.org/wiki/List_of_file_signatures
FD Script: github.com/x
In this video, we get into some deeper more-intricate Linux/UNIX concepts. While the word ‘advanced’ is relative and context-dependent of course, specifically we are talking about IO via the alternate file descriptors available to us, process recon via the /proc files, magic bytes for bypassing upload filters/popping shells and finally TTYs and PTYs.
Everything in UNIX/Linux is a file and those files are identified by their magic bytes. I show how you can disguise a PHP script as an image and use it to get a shell. We also then talk about file descriptors and how processes can route information around invisible to use using alternate file descriptors. Finally, we finish out the video by talking about teletype-terminals, pseudo-terminal slave systems and how we have arrived where we’re at today from the old main-frame systems back in the day.
Please like and sub if you’re reading this! 🙂
Content
00:00 Introduction
00:51 Alternate File Descriptors
05:28 Process Recon via /proc
08:07 Magical Bytes
12:07 PTY/TTY
15:07 Outro
Views : 1546
linux