diff --git a/slides/assets/intro-to-linux/7be.jpg b/slides/assets/intro-to-linux/7be.jpg new file mode 100644 index 0000000..e6b0001 Binary files /dev/null and b/slides/assets/intro-to-linux/7be.jpg differ diff --git a/slides/assets/intro-to-linux/giphy.gif b/slides/assets/intro-to-linux/giphy.gif new file mode 100644 index 0000000..3f403eb Binary files /dev/null and b/slides/assets/intro-to-linux/giphy.gif differ diff --git a/slides/assets/intro-to-linux/img3.jpg b/slides/assets/intro-to-linux/img3.jpg new file mode 100644 index 0000000..056ff2b Binary files /dev/null and b/slides/assets/intro-to-linux/img3.jpg differ diff --git a/slides/assets/intro-to-linux/man.png b/slides/assets/intro-to-linux/man.png new file mode 100644 index 0000000..a2efb5e Binary files /dev/null and b/slides/assets/intro-to-linux/man.png differ diff --git a/slides/assets/intro-to-linux/win-vs-linux.png b/slides/assets/intro-to-linux/win-vs-linux.png new file mode 100644 index 0000000..84374d1 Binary files /dev/null and b/slides/assets/intro-to-linux/win-vs-linux.png differ diff --git a/slides/assets/intro-to-linux/win-vs-linux2.jpg b/slides/assets/intro-to-linux/win-vs-linux2.jpg new file mode 100644 index 0000000..f441d1a Binary files /dev/null and b/slides/assets/intro-to-linux/win-vs-linux2.jpg differ diff --git a/slides/assets/intro-to-linux/windows-vs-linux-1.jpg b/slides/assets/intro-to-linux/windows-vs-linux-1.jpg new file mode 100644 index 0000000..7e4577e Binary files /dev/null and b/slides/assets/intro-to-linux/windows-vs-linux-1.jpg differ diff --git a/slides/intro-to-linux.md b/slides/intro-to-linux.md index 4dd1ec8..7d61dc7 100644 --- a/slides/intro-to-linux.md +++ b/slides/intro-to-linux.md @@ -37,56 +37,80 @@ revealOptions: --- -# Windows vs Linux & Why Linux ? +# Windows vs Linux +# & +# Why Linux ? ---- + +| Windows | Linux | +| :--------: | :--------: | +| Windows has different drives like C: D: E | There are no drives in Linux | +| pay to use | Free and open source | +| Reboot the system for just about everything | your OS will not bother you | +| Lots of games for windows | Linux is not for gaming (as for now) | +| Limited and unstable pen-testing tools | Lots of pentesting tools | +---- +![image](./assets/intro-to-linux/win-vs-linux2.jpg) +---- +## Why Linux ? +- Linux is a free and open-source software development and distribution. +- you can run Linux on any computer from a low-cost PC to a supercomputer +- Don’t Freeze Up Or Slows Down Due To Memory Leaks +- Linux is the most secure OS as it has very fewer vulnerabilities. +- Linux distros support all the Unix software packages ---- +![image](./assets/intro-to-linux/win-vs-linux.png) --- -# Different Distros of Linux +## Different Distros of Linux -* ### Linux has a number of different versions for every type of user. -* ### These versions are called distributions ( "distros" in short ) +* #### Linux has a number of different versions for every type of user. +* #### These versions are called distributions ( "distros" in short ) ---- -## Popular Linux distros : -* ### UBUNTU -* ### KALI LINUX -* ### DEBIAN -* ### LINUX MINT -* ### FEDORA -* ### PARROT OS -* ### ARCH LINUX -* ### Ubuntu Server -##### and many more.... +### Popular Linux distros : +* #### [UBUNTU](https://ubuntu.com/) +* #### [KALI LINUX](kali.org) +* #### [DEBIAN](https://www.debian.org/) +* #### [LINUX MINT](https://linuxmint.com/) +* #### [FEDORA](https://getfedora.org/) +* #### [PARROT OS](https://www.parrotsec.org/) +* #### [ARCH LINUX](https://archlinux.org/) +* #### [Ubuntu Server](https://ubuntu.com/download/server) +###### [and many more....](https://distrowatch.com/) ---- ## Installation * ### Install as the main OS * ### Using VirtualBox/VMware * ### Dual Boot ---- +![image](./assets/intro-to-linux/img3.jpg) +---- ##### comming soon .... --- -# File structure of Linux +## File structure of Linux -#### The Linux File Hierarchy Structure or the Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix-like operating systems. +##### The Linux File Hierarchy Structure or the Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix-like operating systems. ---- ## `/` [/root] #### root directory of the entire file system hierarchy ---- ![image](./assets/intro-to-linux/root.png) ---- -* ## `/bin` --> Contains binary executables -* ## `/boot` --> Contains Boot loader files, e.g., kernels, initrd. -* ## `/dev` --> Essential device files -* ## `/etc` --> Contains configuration files required by all programs. -* ## `/home` --> Users’ home directories, containing saved files, personal settings, etc. -* ## `/lib` --> Libraries essential for the binaries in /bin/ and /sbin/. -* ## `/media` --> Temporary mount directory for removable devices. -* ## `/opt` --> Contains add-on applications from individual vendors -* ## `/tmp` --> Directory that contains temporary files created by system and users. -* ## `/usr` --> Contains binaries, libraries, documentation, and source-code for second level programs. +* `/bin` --> Contains binary executables +* `/boot` --> Contains Boot loader files, e.g., kernels, initrd. +* `/dev` --> Essential device files +* `/etc` --> Contains configuration files required by all programs. +---- +* `/home` --> Users’ home directories, containing saved files, personal settings, etc. +* `/lib` --> Libraries essential for the binaries in /bin/ and /sbin/. +* `/media` --> Temporary mount directory for removable devices. +---- +* #### `/opt` --> Contains add-on applications from individual vendors +* #### `/tmp` --> Directory that contains temporary files created by system and users. +* #### `/usr` --> Contains binaries, libraries, documentation, and source-code for second level programs. --- @@ -95,40 +119,81 @@ revealOptions: * ### The commands are executed on the Linux terminal. * ### We can do basic work and advanced work through its terminal. ---- -* ## `pwd` -> Shows Present working directory -* ## `mkdir ` -> Make new directory -* ## `rmdir ` -> Remove a directory -* ## `ls` -> Shows list of content of a directory -* ## `cd ` -> Change directory -* ## `touch ` -> Create new Empty file -* ## `cat` -> Create/display/copy file -* ## `rm ` -> Remove a file -* ## `cp` -> copy a file or directory -* ## `head` & `tail` -> displays first and last 10 lines of a file respectively -* ## `tac` -> shows file content in reverse order ----- -* ## `su` -> Gives admin access to a user -* ## `useradd ` -> add or remove a user -* ## `passwd ` -> create or change the passowrd for a user -* ## `groupadd` -> create a user group -* ## `whoami` & `who` -> gives info abhout logged in user ----- -* ## `grep ` -> Used for searching the content from a file using regex. -* ## `comm ` -> compares two files -* ## `wc ` -> counts words,lines and charecters in a line. -* ## `od ` -> displays the content of a file in different format. -* ## `find ` -> find particular file in a directory +* #### `pwd` -> Shows Present working directory +* #### `mkdir ` -> Make new directory +* #### `rmdir ` -> Remove a directory +* #### `ls` -> Shows list of content of a directory +* #### `cd ` -> Change directory +---- +* #### `touch ` -> Create new Empty file +* #### `cat` -> Create/display/copy file +* #### `rm ` -> Remove a file +* #### `cp` -> copy a file or directory +* #### `head` & `tail` -> displays first and last 10 lines of a file respectively +* #### `tac` -> shows file content in reverse order +---- +![image](./assets/intro-to-linux/7be.jpg) +---- +* #### `su` -> Gives admin access to a user +* #### `useradd ` -> add or remove a user +* #### `passwd ` -> create or change the passowrd for a user +* #### `groupadd` -> create a user group +* #### `whoami` & `who` -> gives info abhout logged in user +---- +* #### `grep ` -> Used for searching the content from a file using regex. +* #### `comm ` -> compares two files +* #### `wc ` -> counts words,lines and charecters in a line. +* #### `od ` -> displays the content of a file in different format. +* #### `find ` -> find particular file in a directory +---- +* #### `df` -> Displays disk space used in file system. +* #### `clear` -> Clears the terminal's screen. +* #### `ifconfig` -> Shows ip of connected networks +* #### `ssh` -> Used to create a remote connection through ssh protocol +* #### `host` -> Displays id of a given domain name or vice versa +---- +* `man` -> Displays manual page for any command +![image](./assets/intro-to-linux/man.png) +---- +![image](./assets/intro-to-linux/7be.jpg) --- -* ## `df` -> displays disk space used in file system. -* ## `clear` -> clears the terminal's screen. -* ## `ifconfig` -> Shows ip of connected networks -* ## `ssh` -> used to create a remote connection through ssh protocol -* ## `host` -> displays id of a given domain name or vice versa -##### and many more ... ---- + + # Some common tools +#### Pre-installed app varries from distros to distro. But we can download and install maximum of apps in any distro , though installation process may verry. +---- +### Networking tools +- [Nmap](https://github.com/nmap/nmap) +- [Wireshark](https://github.com/wireshark/wireshark) +- [NetworkMinner](https://www.netresec.com/?page=NetworkMiner) + +---- +### Web tools +- [Burpsuite (& plugins)](https://portswigger.net/burp) +- [ZAP](https://github.com/zaproxy/zaproxy) +- [Gobuster](https://github.com/OJ/gobuster) +- [Nikto](https://github.com/sullo/nikto) +---- +### Criptography Tools + +- [HashID](https://github.com/psypanda/hashID) +- [John The Ripper](https://github.com/openwall/john) +- [Hashcat](https://github.com/hashcat/hashcat) +- [CyberChef](https://gchq.github.io/CyberChef/) +- [dCode](https://www.dcode.fr/en) +- [Ciphey](https://github.com/Ciphey/Ciphey) +---- +### Reversing Tools + +- [GDB](https://www.gnu.org/software/gdb/) +- [Ghidra](https://ghidra-sre.org/) +- [radare2](https://www.radare.org/) +- [IDA Pro](https://hex-rays.com/ida-pro/) +- [More](https://github.com/apsdehal/aWEsoMe-cTf#reversing) + --- -# Do and Donts ---- +![gif](./assets/intro-to-linux/giphy.gif) +### Thank you +