LPIC 1 - 049 - 104.7 - Linux FHS (Filesystem Hierarchy Standard) & locating files on the filesystem
In this module of LPIC 1, we will do a quick review again on the Filesystem Hierarchy Standard (FHS) and see how we can files there using commands like find, locate & updatedb.
00:00 - FHS in Linux and Unix 08:10 - How linux finds commands: PATH 09:53 - which, whereis, whatis, type commands 13:06 - find 15:20 - locate and updatedb
At the The Cuckoo's Egg book, the writer explains how he were tracking a hacker at 1986. One of his ideas was adding a logger to the Shell executable and see every keystroke he pushes. In this Video, I'll try to add the same thing to the Bash and I will show you how you can study a source code and find your way around it.
...
https://www.youtube.com/watch?v=nNADFHjLLRI
In this challenge we are facing a PNG file with no clue. We will look into its contents and reveal the flag step by step. We will use Python, PIL and CyberChef
...
https://www.youtube.com/watch?v=DVkID9htax0
In this module we understand the reason behind having shared libraries and different methods they can be linked to your program. Then we will see how they are managed under GNU/Linux and at the end, as an extra we will go deeper than LPIC and I'll show a technique hackers use to run files which lack executable flag set.
Related chapter in my free LPIC 101 book: https://linux1st.com/1023-manage-shared-libraries.html
...
https://www.youtube.com/watch?v=1P58gW8xCkk
If you are new to CTFs or crypto challenges, this is a great start. This is an easy to understand and straight forward challenge in which we have to crack an encrypted message where we know part of the plaintext + length of the key.
We will use Python as our main tool against aliens.
...
https://www.youtube.com/watch?v=pvreYvRe-S0
All programming languages do have some common elements; inputs, functions, outputs, variables, ... . But there are also unique idea in some programming languages and if you want to know about them, you need to specifically study them. This is what makes a person proficient in a specific programming language.
One of these is the usage of underscore ( the _ ) in Python programming. In this video I will show you 7 different usages of this character from a very trivial "digit separator" to a more cool "underscore as a dummy variable" and some more advanced topics like the meaning of __name__ == "__main__" which you might see in some source codes (and most of the libraries).
Lets start and let's write better code!
00:40 - Underscore to separate digits in long numbers
01:40 - _ is the last result in IDLE
02:49 - underscore as dummy variable
04:52 - _ After python keywords as variable names
06:16 - Underscore before variable as a weak local
07:36 - two underscore before class members
08:45 - Variables with two underscores on both sides, like __name__
...
https://www.youtube.com/watch?v=ZCirxG9jrMo
I had "review GitHub CoPilot" in my to-do list for a long time. But today while working for my job it did something insane and amazing at the same time which forced me to stop working and record this.
CoPilot is an AI which studied the GitHub code and now plays the role of a Pair Programmer buddy.. let's have a look and see if it is going to phases us out or not.
...
https://www.youtube.com/watch?v=ML6BTTviPPk
So you know git (more and less! nobody knows all of git!) and you want to participate on a project on github. For this, you need to fork the repo, clone the code, change it, commit it, push it and send the PR to the main developer.
Looks hard? Maybe... but in reality, its very easy and straight forward. Other than general git stuff, you only need to push one button on Github! In this video I will send a pull request to a project I just found on github.
...
https://www.youtube.com/watch?v=U4LoWM4NzXk
In this challenge from Davinci CTF 2022; we have a pcap file with around 100 ICMP requests and responses and as always we are looking for a flag. Can it be in the payload? we will check... but its deeper.
I will use wireshark / python & scapy to investigate the pcap file.
...
https://www.youtube.com/watch?v=KzUgRVirmpg
LPIC1; 022; 103.1 part 2/2.
In this section we will start using our command line in a professional manner. In this part, I'll show you the Environment Variables and after introducing some common ones, we will focus on PATH. In the last section we will focus on bash (shell) command history and the .bash_history file.
00:00 - Environment Variables in shell
07:25 - PATH variable in shell
12:49 - Bash (shell) command history
16:00 - Exit the bash
Book: https://linux1st.com/1031-work-on-the-command-line.html
...
https://www.youtube.com/watch?v=KMvc1SyPgjw