TRYHACKME Pre Security-Learning .
Well, here we go. It’s been a while since I last saw a learning path like TryHackMe.
The premium version is strongly recommended for anyone regardless of whether they are new to the industry or already have advanced knowledge.
I love things that make you try harder, I won’t lie to you I didn’t sleep much since I started and after one day I’m practically done and I feel satisfied. You will never forget this learning path, it will be a resource that will help you a lot as a foundation for what awaits you in the future.
I will try to be brief and not spoil you too much about the course. I hope this will help you to improve and have a solid foundation of basic IT knowledge….
Now we can start talking about fundamentals
Well Networking is necessary to understand the types of devices and what their functions are.
OSI MODEL
TCP Starting a Connection
TCP Starting a Connection (Handshake)
TCP Closing a Connection (Handshake)
All of the above is very short of content. At the network level this is vital to understand what the traffic is like.
TryHackMe.com, https://tryhackme.com/path/outline/presecurity
WEB APPLICATION & JAVASCRIPT
JavaScript is added within the page source code and can be either loaded within <script>
tags or can be included remotely with the src attribute: <script src="/location/of/javascript_file.js"></script>
The following JavaScript code finds a HTML element on the page with the id of “demo” and changes the element’s contents to “Hack the Planet” : document.getElementById("demo").innerHTML = "Hack the Planet";
HTML elements can also have events, such as “onclick” or “onhover” that execute JavaScript when the event occurs. The following code changes the text of the element with the demo ID to Button Clicked: <button onclick='document.getElementById("demo").innerHTML = "Button Clicked";'>Click Me!</button>
- onclick events can also be defined inside the JavaScript script tags, and not on elements directly.
LINUX FUNDAMENTALS
If you’ve used a Linux system, you know that when you log in, you are greeted by a prompt that looks something like this:
user $
The particular prompt that you see may look quite different. It may contain your systems host name, the name of the current working directory, or both. But regardless of what your prompt looks like, there’s one thing that’s certain. The program that printed that prompt is called a “shell,” and it’s very likely that your particular shell is a program called bash.
Are you running bash?
You can check to see if you’re running bash
by typing:
user $ echo $SHELL
/bin/bash
If the above line gave you an error or didn’t respond similarly to our example, then you may be running a shell other than bash. In that case, most of this tutorial should still apply, but it would be advantageous for you to switch to bash for the sake of preparing for the 101 exam.
About bash
Bash, an acronym for “Bourne-again shell,” is the default shell on most Linux systems. The shell’s job is to obey your commands so that you can interact with your Linux system. When you’re finished entering commands, you may instruct the shell to exit or logout, at which point you’ll be returned to a login prompt.
By the way, you can also log out by pressing control-D at the bash prompt.
Using “cd”
As you’ve probably found, staring at your bash prompt isn’t the most exciting thing in the world. So, let’s start using bash to navigate around our file system. At the prompt, type the following (without the $
):
user $ cd /
We’ve just told bash that you want to work in /, also known as the root directory; all the directories on the system form a tree, and / is considered the top of this tree, or the root. cd sets the directory where you are currently working, also known as the “current working directory.”
Paths
To see bash’s current working directory, you can type:
user $ pwd
/
In the above example, the / argument to cd
is called a path. It tells cd where we want to go. In particular, the / argument is an absolute path, meaning that it specifies a location relative to the root of the file system tree.
Absolute paths
Here are some other absolute paths:
/dev
/usr
/usr/bin
/usr/local/bin
As you can see, the one thing that all absolute paths have in common is that they begin with /. With a path of /usr/local/bin, we’re telling cd to enter the / directory, then the usr directory under that, and then local and bin. Absolute paths are always evaluated by starting at / first.
Relative paths
The other kind of path is called a relative path. bash
, cd
and other commands always interpret these paths relative to the current directory. Relative paths never begin with a /. So, if we're in /usr
:
user $ cd /usr
Then, we can use a relative path to change to the /usr/local/bin directory:
user $ cd local/bin
user $ pwd
/usr/local/bin
WINDOWS FUNDAMENTALS
Next, let’s look at some commands that are useful when troubleshooting.
A command used often is ipconfig
. This command will show the network address settings for the computer.
Each command will have a help manual to explain the expected syntax to execute the command properly, along with any additional parameters that can be added to the command to expand its execution.
A command to retrieve the help manual for a command is /?
.
For example, to see the help manual for ipconfig, you can use the following command: ipconfig /?
Note: To clear the command prompt screen, the command is cls
.
The next command is netstat
. Per the help manual, this command will display protocol statistics and current TCP/IP network connections.
In the above image, the line within the red box shows us an example syntax for the command.
The structure tells us the netstat command can be run alone or with parameters, such as -a
, -b
, -e
, etc.
When any of the parameters are appended to the root command, netstat in this case, the output changes. Play with a few to see for yourself.
The net
command is primarily used to manage network resources. This command supports sub-commands.
If you type net without a sub-command, the output will show the syntax for the root command showing a few of the sub-commands you can use.
For the net command, to display the help manual /?
will not work. In this case, you need to use different syntax, which is net help
.
So, if you wish to see the help information for net user
, the command is net help user
.
SOME MACHINES EXPLAINED AFTER YOUR START LEARNING COMPLETE PATH
Now lets talk about put this acknwoledge on a machine. This have an entire guide for enumeration and its good explained.
THANKS I’ve really loved this and all its content…
If you wanna sign use my code: Wyov
If you wanna add me as friend: Wyov