BB-Pen-1/README.md

39 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

2023-05-13 12:01:18 +10:00
# BB-Pen-1
There is a server running at `45.79.118.12` (or kali.boysbrigade.au).
You can connect using the following username: `gituser`
2023-05-13 12:29:08 +10:00
Somewhere in this repository is the password to the user `gituser`.
2023-05-13 19:23:31 +10:00
## Challenge 1 (Super Easy)
2023-05-13 12:29:08 +10:00
Once you log in, you will find a file called `flag.txt` in the home directory.
This file contains the flag (proof you finished) for this challenge.
2023-05-13 12:39:38 +10:00
After you find the flag, DM it to me on Discord or email it to me.
2023-05-13 19:23:31 +10:00
## Challenge 2 (Still Super Easy)
2023-05-13 18:29:42 +10:00
There is another flag hidden somewhere in the same directory.
2023-05-13 19:23:31 +10:00
## Challenge 3 (More Difficult)
There are many more flags hidden around the server.
Whoever finds the most flags will win a prize next week.
Submit your flags to me by DM on Discord or email.
Or you can just tell me in person on Friday.
2023-05-13 18:29:42 +10:00
### Hints
- After you find the password, you can use `ssh` to log in to the server.
- The command is `ssh <user>@<ip\domain>`.
- You will be prompted about the authenticity of the host. Type `yes` and press enter. (This is used to make sure you are connecting to the right server)
- You will be prompted for the password. You can type it or paste it by right clicking.
- Here are some useful commands to know
- `ls` - List files in the current directory
- `cat <file>` - Print the contents of a file
- `pwd` - Print the current working directory
- `cd <directory>` - Change directory (disabled for you atm)
- `help` or `man` - Get help about a command (some commands need one or the other)
2023-05-15 12:40:00 +10:00
- `su` - Switch user Eg. `su gituser` (you will be prompted for the password)
2023-05-19 21:56:32 +10:00
- `echo \<variable\>` - Print the value of a variable (eg. `echo $flag`)
2023-05-15 15:16:47 +10:00
- `logout` - Log out of the server (also `Ctrl+D`)
### Without SSH
If you don't have SSH you will be shown this message when you try to connect:
!['ssh' is not recognized asan internal or external command, operable probgram or batch file.](not_installed.png)
If this happens for you, you can use https://ssh.boysbrigade.au to connect to the server over the web.
Use username `BB` and the same password as you would to SSH.