<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Thomas Sorza on Medium]]></title>
        <description><![CDATA[Stories by Thomas Sorza on Medium]]></description>
        <link>https://medium.com/@thomassorza?source=rss-28bdc7ae7f63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NPOp6Oei91sxAxod6QEi8g.jpeg</url>
            <title>Stories by Thomas Sorza on Medium</title>
            <link>https://medium.com/@thomassorza?source=rss-28bdc7ae7f63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:29:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thomassorza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Talking like a hacker: Ethical hacking terminology]]></title>
            <link>https://thomassorza.medium.com/talking-like-a-hacker-ethical-hacking-terminology-108b0d7f5f0?source=rss-28bdc7ae7f63------2</link>
            <guid isPermaLink="false">https://medium.com/p/108b0d7f5f0</guid>
            <category><![CDATA[terms]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Thomas Sorza]]></dc:creator>
            <pubDate>Thu, 03 Aug 2023 02:07:41 GMT</pubDate>
            <atom:updated>2023-08-03T02:07:41.038Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Starting into ethical hacking can be difficult, and maybe you will read or hear many words for which you do not know the meaning or their context. Today you will learn the basic vocabulary to start with your hacking journey. After reading this guide of concepts, you will be able to understand the introductory speech used in cybersecurity.</blockquote><p>I will try to expose to you terms that are associated with hacking. There are some that are more general concepts used in<strong> IT (<em>information technology</em>)</strong>, but the core terms used in <strong>infosec (<em>information security</em>)</strong> are explained here:</p><p><strong><em>1. Host: </em></strong>When we refer to a host in IT, but especially in infosec, we mean a device, which can also be a computer (the abbreviation for personal computer is <strong><em>PC</em></strong>). However, being more strict and as a standard in computer networking, we will call a host a device<strong> that is connected to a network. </strong>For those who have more networking knowledge, a host can be a switch or a router, even a telephone, a laptop, a PC, or a server. It’s important to take into account that we will identify a host by its IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*853pFwhgUCWTbuju.jpg" /><figcaption>Image of devices that can be refered as hosts. Image taken from: <a href="https://www.daily-sun.com/post/213831/Electronic-devices-banned-on-some-US-flights-from-Middle-East">https://www.daily-sun.com/post/213831/Electronic-devices-banned-on-some-US-flights-from-Middle-East</a></figcaption></figure><p><strong><em>2. LocalHost:</em></strong> When we refer to a localhost, we refer to the local computer that is being referenced. To understand it better, let’s see an example: If you are using a PC and want to make reference to the own IP address of the device, then you will refer to the localhost IP add (IP add can be used to make reference to IP address). This concept is very useful when working with networks because you don’t need to work with the IP add of the device; you can make reference to the local machine itself, using:</p><pre>localhost <br>127.0.0.1 #loopback address </pre><p>The loopback address is another way to refer to the local machine itself, and just like localhost, it’s used in many programs and utilities in networking, ethical hacking, or even programming.</p><p><strong><em>3. Terminal: </em></strong>In very simple words, when we talk about a terminal, we mean software that allows you to write commands from your keyboards to your operating system, using software that understands the input commands and makes the translation to the OS, a shell. (This is a very short explanation; however, if you want to learn more in depth about shells, terminals, consoles, and more, click the link below to read another article.) <a href="https://medium.com/@thomassorza/whats-a-shell-c3735f216dde">https://medium.com/@thomassorza/whats-a-shell-c3735f216dde</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*NmjJJUaQWN-Ud93YjOs4jQ.png" /><figcaption>Screenshot of a ubuntu server terminal.</figcaption></figure><p><strong><em>4. Server:</em> A server is a specialized computer that provides a service or a source to other connected devices on the network. Servers usually store data. T</strong>hey can include web servers, email servers, file servers, database servers, and more. Even servers could be built to run games or play media. (The main idea about a server is that it is like a host, a host that has massive resources and makes the operations of the requests of the clients “the devices that make the requests”).</p><p><strong><em>5. Malware</em></strong>: Malware is very common in the infosec field, but commonly you may know malware like pc viruses. Software installed in a device to gain unautorized acces to many functuonalities, information storage in the device or a network. (I will do other post dedicaded for explaining malware). Here are some types of malware: Viruses, Trojans, Ransomware, Spyware, Adware, Worms, Botnets and Rootkits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ymRGTX9A8KEz6b96lMyLGA.png" /><figcaption>ScreenShot from the Cyberthreat Real-Time map by Kaspersky. <a href="https://cybermap.kaspersky.com/">https://cybermap.kaspersky.com</a></figcaption></figure><p><strong><em>6. Enumeration: </em></strong>The enumeration is the phase is the phase when is developed the recognizion to gather the greater amount of information about a target, a network, a service or a program to vulnerate. This info can be, resorces, services or components that can work as a first step to start the explotation of an attack vector. Applications like Nmap are very popular for enumeration.</p><p>7. <strong><em>Hacker:</em></strong> When we are talking about hackers, we are talking about a person who has expertise in technology usage, telecommunications, networks, or informatics in general. But in daily life, we found another conception about hackers, because in the newspapers, social media, news, TV shows, and movies, has been transmitted the popular idea that the hacker is a bad person who searches for ways to break into systems without any permission to commit criminal acts. But in reality, a hacker is a person who has a lot of experience and a large knowledge of technology. That’s why we talk about ethical hacking, because this “ethical” term is used to refer to hackers that make penetration tests in enterprises. (You con find an article about the types of hackers, soon).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OPHYC9I-ujUI3Y2K" /><figcaption>Image of Kevin Mitnick, one of the most famoust hackers arround the world. Image source: <a href="https://speakerideas.com/speaker/kevin-mitnick/">https://speakerideas.com/speaker/kevin-mitnick/</a></figcaption></figure><p>8. <strong><em>Cracking: </em></strong>Cracking refers to the act of bypassing security measures in one system to gain information or gather software or data without consent. This is done illegally. It’s important to take into account that the word “crack” also makes reference to the act of cyber piracy by getting free licenses or software in an illegal way, in some cases to sell it. When you find free software on the internet, just like a game, it could be a crack and can contain malware.</p><p><strong><em>9. Exploit: </em></strong>In order to obtain illegal access or elevate privileges, a method known as an exploit is used to take advantage of flaws in a system, network, or device. Exploits are tools that take advantage of flaws or security gaps in hardware or software to undermine security. They might result in data leaks, unauthorized entry, or command over a particular system.</p><p>On the other hand, the use of exploits by ethical hackers or security researchers can help find and repair flaws and boost overall security. In some circumstances, malicious software, also referred to as malware, can supply exploits. It’s essential to note that using exploits for malicious purposes is illegal and unethical, but there are websites like <strong><em>Exploit Database, </em></strong>where you can find exploits for almost any specific task or vulnerability. Use them with caution and only in controlled environments; it can always be risky to use code from another person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pDSI_0rH2I_Tnimyu3YWEw.png" /><figcaption>Image of the Exploit Database site: <a href="https://www.exploit-db.com/">https://www.exploit-db.com</a></figcaption></figure><p><strong><em>10. Zero-day : </em></strong>A zero-day is a vulnerability that hasn’t been discovered before. This kind of vulnerability is extremely dangerous because it can represent a giant risk to enterprises and even governments. If someone creates or discovers a new technique to get into a system or gain sensitive information, it is difficult for security professionals to patch or correct the problem quickly. That’s why, as an infosec professional, it’s crucial to be up-to-date with the most modern techniques and technologies to protect organizations.<br>The penalty for selling exploits for zero-day vulnerabilities is pretty high; it’s a serious crime. It would always be better to report these vulnerabilities.</p><p><strong><em>11. ScriptKidde : </em></strong>Don’t allow anyone to refer to you as a scriptkiddie. Considering the root of the words “Script” (an automated file to execute a task) and “Kiddie” (from kid), you can understand a scriptkiddie as a non-very-experienced person that needs scripts and tools to achieve an objective (most of the time, the scripts and the tools are gained from the internet). <strong>You need to work hard to build a strong kit of hacking abilities</strong> because a real hacker has the ability and experience to play around with the options available and complete the challenge, but on the other hand, a scriptkiddie is a person who does not understand very well how things work.</p><p>Well I hope you have understood the basiscs terms used in hacking and infosec, now continue expanding your knowledge and hacking skills. Don’t forget to always increse your technical vocabulary to improve your speech and knowledge.</p><blockquote>Don’t stop learning. Keep hacking!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=108b0d7f5f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s a shell?]]></title>
            <link>https://thomassorza.medium.com/whats-a-shell-c3735f216dde?source=rss-28bdc7ae7f63------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3735f216dde</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[pc]]></category>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[basic-linux]]></category>
            <dc:creator><![CDATA[Thomas Sorza]]></dc:creator>
            <pubDate>Sat, 10 Jun 2023 05:44:24 GMT</pubDate>
            <atom:updated>2023-06-14T04:49:05.023Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Today I will explain what a shell is, how it works, the differences between terms like “terminal” “shell” and “console”, which kinds of shells exist, and some basic stuff to do in your own shell. So let’s start.</blockquote><h4><strong>WHAT IS A SHELL?</strong></h4><p>Before talking about the stuff that we can make with a shell, we need to know what it is. In the GNU Linux operating system, a <strong>shell </strong>is a <em>command-line</em> interpreter that gives orders to the operating system. But what is a command-line interpreter? Well, when we talk about a command-line interpreter, we refer to software that takes the input, or whatever we write with our keyboard, and brings orders to the operating system based on the input we have written. Congrats! You have already understood what a shell is in very simple words.</p><p>Now, to make it clearer, we need to know the layer organization of all Linux operating systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*hswntOoInHuT2mKN.png" /><figcaption>source: <a href="https://mindmajix.com/shell-scripting-tutorial">https://mindmajix.com/shell-scripting-tutorial</a></figcaption></figure><h4>Kernel</h4><p>As a Linux administrator or ethical hacker, you need to know how the operating system works and how the layers are connected. In the image, you have a circular representation of the layers of the OS. In the center, we have the most <em>low-level</em> layer, the hardware, which refers to the physical components of your computer like the CPU, GPU, RAM, storage, and so on. (I will write an article later on focusing on hardware.) If you look closely at the wrapping layer over the hardware, we have the <strong>kernel</strong> of the operating system, which you can refer to as the core of the operating system. This kernel is the software that has total control over the operations that the OS develops. In simple terms, the kernel controls everything in the operating system, gives instructions, and manages all the tasks of the system. The important part is how we can give the instructions to the kernel, and that’s when we talk about the next layer in the operating system, the shell.</p><h4>Terminal</h4><p>The shell is the software that allows you to give instructions to the kernel to allow the operating system to develop an operation or task. Here, it’s important to make a distinction between the terms <strong><em>terminal, console, and shell. </em></strong>First we have the terminal, which makes reference to the very first computers with monitors, in which you could only write operating system instructions. In the early beginning of digital technology, these were black windows with white or green letters, just like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*gy-tsrL4Yq4syppN.jpg" /><figcaption>A VT100 terminal. Source: <a href="https://vgkits.org/blog/what-is-a-terminal/">https://vgkits.org/blog/what-is-a-terminal/</a></figcaption></figure><p>Nowdays we don’t use a terminal, we use a <strong><em>terminal emulator.</em></strong><em> </em>It is another piece of software that allows you to open a window in your operating system, just like a physical terminal, but now you can use a single program in your PC. Talking about the terminal, you should hear the terms “<strong><em>console”</em></strong> or<em> “</em><strong><em>CLI”, </em></strong>These two terms are very similar, and in daily life you shall not say something like,</p><blockquote>“-Dude, open your terminal emulator and write the next command to the shell.” ~Literally anybody in the world</blockquote><p>If you say that, rest assured that you will sound like an asocial and weird person, even if you say it to someone who knows about TI. Instead, you can refer to your terminal emulator asconsole,” or just like terminal, it’s a command line interface (CLI), but this one is just a little bit technical. So you have many terminal emulators to choose from. Personally, I recommend T<strong>erminator</strong>, a very powerful terminal emulator with a lot of features, and you can combine it with an external multiplexor like <strong>TMUX </strong>to make it even better (I will make an article only about TMUX, including <em>Oh My TMUX).</em> Another personal recommendation is T<strong>erminus</strong>, but the decision is up to you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xZ568nulvWQ5Iao5o1djzQ.png" /><figcaption>Image of an actual terminal emulator (Splited horizontally): Terminator, running ZSH and Tmux on Parrot OS.</figcaption></figure><h3>SHELL</h3><p>Finally, to focus on the shell, we have a few types of shells that you can choose from to use in your terminal emulator. You can use the shell of your preference with the terminal emulator of your choice. The differences between the different shells are, well, the different options of commands; in some shells, some commands work and in others, they may not; speed when executing commands; and personalization options. But in a general overview, you can work freely with any shell of your choice; the most common now are <strong>bash, fish, </strong>and<strong> zsh</strong>. But the list is long:</p><pre>Here is a list of the shell names commonly used in Linux:<br><br>1. Bash<br>2. Zsh<br>3. Ksh<br>4. Csh<br>5. Tcsh<br>6. Dash<br>7. Fish<br>8. Sh<br>9. PowerShell</pre><p>This is not an exhaustive list; there are many more out there, but these are the most relevant ones. Here you have proof that the majority of the programs and utilities of the last layer that you would like to use will work regardless of the shell that you are using. Each shell software has its own advantages and disadvantages.</p><p>NOTE: Shells like Reverse Shell, Bind Shell, and Web Shell are topics for other post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*JAW_59C8sgm_tbzNM_I92A.png" /><figcaption>Comparison between ZSH, BASH, and SH.</figcaption></figure><p>To start in the linux terminal and shell scripting, the bash shell would be a very good option for beginners because it is one of the default shells in most linux distributions, but I personally recommend using ZSH. It’s a huge, powerful shell with many options for personalization; you can use <em>oh my zsh!</em> to personalize it. It also has massive speed and options to have custom functions in the terminal, for example.</p><p>I hope that you have already understood the differences and main topics between a shell, a terminal, a terminal emulator, the layers of the OS, the uses of each software, and the feeling to start using Linux right now. See you later; I will continue posting Linux content.</p><p>Take care and continue learning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3735f216dde" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hard or Symbolic link?]]></title>
            <link>https://thomassorza.medium.com/hard-or-symbolic-link-2d3b174e5c93?source=rss-28bdc7ae7f63------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d3b174e5c93</guid>
            <category><![CDATA[hard-link-vs-soft-link]]></category>
            <category><![CDATA[softlink]]></category>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[hard-link]]></category>
            <dc:creator><![CDATA[Thomas Sorza]]></dc:creator>
            <pubDate>Thu, 04 Feb 2021 15:20:00 GMT</pubDate>
            <atom:updated>2021-02-04T15:20:00.562Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Bt1cZKWrtt8xoVMAmqWJ5g.jpeg" /><figcaption>image take from TechMind.com</figcaption></figure><p>Have you ever heard about a hard link or symbolic even soft links, but you don´t know how to use it or even which commands you required to create them? Well, here I go to explain to you what is this kind of links, how to create them, and some examples that will help you to understand the different uses that you can use when you are working in your Linux system.</p><ul><li><strong><em>let’s take a look at The Hard Link:</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*ALfDIVs2YWsVF46jvfWEZA.jpeg" /></figure><p>As you know a link is a reference to data that the user can follow by clicking or tapping, when you click on a link in your browser it will <strong>redirect</strong> you to another page or website, in the same way in Linux, we have an <strong>original file</strong> points to a specific spot on the hard drive, that is where it stores its data; and if you create a <strong>hard link</strong>, it would point to the same spot on the hard drive, As you can see in the picture.</p><p>To create a hard link we use the command <strong>(ln) with not complement or flags</strong>, like this:</p><pre>ln [File_name] [Hard_link_name]</pre><p><strong>Let´s take a look at an example:</strong></p><p>In this example, we have a file in the current working directory called <strong>file1.txt</strong> and the content of that file is: <strong>“This is a regular file”</strong> and we create a hard link to file1.txt called <strong>harlink.txt</strong>, both of them, the hardlink.txt and the file1.txt have the same permissions and occupy the same space in the hard drive, 23 bytes because both are pointing to the same spot on the hard drive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/0*cHoQvBSqrizNmobg" /></figure><p>And what happens if we edit the hard link content? Well, <strong>if we edit the hardlink.txt</strong> content to<strong> “This is a hard-linked file”</strong> and we look to the content of the file <strong>file1.txt</strong> we can see that is the same content that was edited in the <strong>hardlink.txt</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/0*_wnh3-mKx1Yyj-Sb" /></figure><p>And finally, What do you think will happen to the <strong>hardlink.txt</strong> if you <strong>remove the file1.txt?</strong> It´s interesting because if you delete any file that has a <strong>hard-link</strong> the hard link doesn´t have to be affected; as we can see in the next image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*X5B7fklNDIxSYiEl" /></figure><p>Well, I hope the concept of what is a <strong>Hard link is</strong> clear!</p><ul><li><strong><em>Now let´s talk about that is a symbolic link:</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/0*d6oweJtRcTovW1Vx" /></figure><p>A <strong>symbolic link</strong> (also called <strong>Soft Link</strong>) is a link that points to a file while the file is pointing to a specific spot of data in the hard disk, to make it clearer, in the image we can see an <strong>original file</strong> pointing to a spot of data in the hard disk, and a <strong>soft link</strong> that it is pointing that <strong>original file</strong>.</p><p>To create a soft link we use the same <strong>command (ln)</strong> but now, with the <strong>dash (s)</strong> that means symbolic, just like this:</p><pre>ln -s [File_name] [Symbolic_link_name]</pre><p><strong>Now let’s see an example of how to use a symbolic link:</strong></p><p>In this example, we have a file called <strong>hardlink.txt</strong> that comes from the previous example. then we create a soft link of the file hardlink.txt called <strong>softlink.txt</strong> and we use the command ls -l to print all the directory content of the working directory, in this way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/0*wcbECqOX6mcH_qll" /></figure><p>We can appreciate that the <strong>softlink.txt</strong> link is pointing to the <strong>hardlink.txt</strong> file and the content of the s<strong>oftlink.txt is the same that the hardlink.txt</strong>, but the softlink.txt size is half of the original file hardlink.txt, only 12 bytes compare with 26 bytes because <strong>softlink</strong>.txt only pointing to hardlink.txt, not to a spot in the hard drive.</p><p>The problem comes when we try to remove the hardlink.txt, <strong>what will happen with the softlink.txt?</strong> that´s an amazing question, well let´s take a look at the next image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/0*9_P-O954qnvkbaKO" /></figure><p><strong>Wow, What´s just happened?</strong> okay, let´s analyze the situation, remember that the softlink.txt is pointing to the hardlink.txt file, but <strong>we delete the hardlink.txt</strong> so the <strong>softlink.txt</strong> <strong>is pointing to something that doesn´t exist</strong>, that´s because we have the softlink.txt and the hardlink.txt highlighted in red and the content of the softlink.txt doesn’t exist, your OS can´t find anything to show.</p><p>In summary, I hope you are clearer about the concepts of what is a hard link and a symbolic link, know how to create them, and use them in your daily work. Remember <strong>that a hard link points to a point in the hard disk</strong> and t<strong>he soft link points to another file</strong>, the <strong>hard link does not depend on the original file and the soft link depends on it.</strong></p><p>See you next time.</p><blockquote>Written by Thomas Sorza.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d3b174e5c93" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>