generated from stratosphereips/awesome-code-template
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create class06 with extra victim and proxy-hop machines
- Loading branch information
1 parent
16e8559
commit ba088bd
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: '3.3' | ||
|
||
services: | ||
class-06-victim: | ||
build: ssh/ | ||
stop_grace_period: 0s | ||
hostname: class6-victim | ||
container_name: scl-class-06-victim | ||
networks: | ||
playground-net: | ||
ipv4_address: 172.20.0.98 | ||
|
||
class-06-proxy-hop: | ||
build: ssh/ | ||
stop_grace_period: 0s | ||
hostname: class6-hop | ||
container_name: scl-class-06-proxy-hop | ||
networks: | ||
playground-net: | ||
ipv4_address: 172.20.0.99 | ||
|
||
networks: | ||
playground-net: | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "Class 06 - Privilege Escalation and Persistence", | ||
"id": "class-06", | ||
"description": "The sixth class focuses on privilege escalation, persistence and side channel attacks. Please open the Google document provided to all registered students and follow the document.", | ||
"google_doc_url": "", | ||
"yt_recording_url": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM debian:bookworm | ||
|
||
RUN apt update && \ | ||
apt install -y openssh-server | ||
|
||
RUN mkdir -p /var/run/sshd | ||
RUN mkdir -p /root/.ssh | ||
|
||
COPY sshd_config /etc/ssh/sshd_config | ||
|
||
RUN echo "root:admin" | chpasswd | ||
|
||
CMD ["/usr/sbin/sshd", "-D"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
PermitRootLogin yes | ||
ChallengeResponseAuthentication no | ||
UsePAM yes | ||
X11Forwarding yes | ||
PrintMotd no | ||
AcceptEnv LANG LC_* | ||
Banner /etc/banner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters