Teaching Cyber Security (Unit2 - Part 1)

in #cybersecurity7 years ago

Hacking and protecting the secret server

Our mission is to get inside this server and fix the security:

server_in_holland.jpg

In the previous unit, we learnt to interact with the shell, to send commands to the core of the computer. We learnt to navigate the folders (called directories) and to find out what was inside them. The server we want to secure has no keyboard or screen, so we will need commands to talk to its shell.

You should have learnt the following commands:

  • whoami
  • pwd to print working directory
  • ls and the options ls -a, ls -l
    (Go ahead and try 3 options at once in the terminal: ls -alh : which means: list --all --list --human-readable)
  • cd to change directory
  • touch somefile.txt to create some file.
  • cat somefile.txt to see the content of the file

and finally some navigation tricks like cd .. to move up a directory level or cd ~ to move back to the home folder.

Let's learn some more interesting commands.

Coin Marketplace

STEEM 0.20
TRX 0.15
JST 0.030
BTC 65269.02
ETH 2653.11
USDT 1.00
SBD 2.84