Browse Source

Minor fixes to ssh challenge blog post.

pull/77/head
jrtechs 5 years ago
parent
commit
188d4841f4
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      blogContent/posts/open-source/html/teaching-ssh-through-a-ctf.html
  2. +6
    -6
      blogContent/posts/open-source/teaching-ssh-through-a-ctf.md

+ 1
- 1
blogContent/posts/open-source/html/teaching-ssh-through-a-ctf.html View File

@ -1 +1 @@
<embed src="https://jrtechs.net/blogContent/posts/open-source/html/everything-ssh.pdf" type="application/pdf" width="100%" height="100%">
<embed src="https://jrtechs.net/blogContent/posts/open-source/html/everything-ssh.pdf" type="application/pdf" width="100%" height="500px">

+ 6
- 6
blogContent/posts/open-source/teaching-ssh-through-a-ctf.md View File

@ -11,7 +11,7 @@ This section will go over the SSH challenge and how to solve it.
Please note: although passwords, hosts, etc are given, the challenge is no-longer active so none of them will work. Please note: although passwords, hosts, etc are given, the challenge is no-longer active so none of them will work.
## 1 Basic SSH
## Basic SSH
This initial challenge was simply connecting to the base VM with a provided username and password. This initial challenge was simply connecting to the base VM with a provided username and password.
@ -30,7 +30,7 @@ password: password21
``` ```
## 2 SSH With Different Port
## SSH With Different Port
Based on the previous hint, you have to SSH into another SSH server from the base VM running on a non-default port. Based on the previous hint, you have to SSH into another SSH server from the base VM running on a non-default port.
@ -51,7 +51,7 @@ user: ritlug2
auth: key in home directory auth: key in home directory
``` ```
## 3 SSH With Key File
## SSH With Key File
While in the first container, SSH into another container with a key file. While in the first container, SSH into another container with a key file.
@ -74,7 +74,7 @@ password: something?
``` ```
## 4 SSH into Custom SSH Python Server
## SSH into Custom SSH Python Server
SSH into a custom SSH server and play a RITlug trivia game. SSH into a custom SSH server and play a RITlug trivia game.
@ -93,7 +93,7 @@ teleirc
mirrors.ritlug.com mirrors.ritlug.com
``` ```
## 5 Access and Play and Hack Game on Internal Web Server
## Access and Play and Hack Game on Internal Web Server
This is the part of the challenge where it starts getting more difficult. This is the part of the challenge where it starts getting more difficult.
This challenge requires you to port forward localhost:someport to the remote machine's localhost:7777 so you can access a website on your computer. This challenge requires you to port forward localhost:someport to the remote machine's localhost:7777 so you can access a website on your computer.
@ -135,7 +135,7 @@ After you acquired a score of over 100 "stonks" you see this at the /endGame pag
![ssh game](media/ssh/finalHint.png) ![ssh game](media/ssh/finalHint.png)
## 6 Forward Local Web Server to Remote Host
## Forward Local Web Server to Remote Host
Deciphering and figuring out how to complete this challenge was by far the hardest challenge. Deciphering and figuring out how to complete this challenge was by far the hardest challenge.
There was a remote nginx web server running in a docker container which only had its SSH and web ports exposed. There was a remote nginx web server running in a docker container which only had its SSH and web ports exposed.

Loading…
Cancel
Save