Skip to content

Commit

Permalink
Update to simple challenge image
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Jan 6, 2025
1 parent 46fe586 commit e76a679
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 14 deletions.
4 changes: 2 additions & 2 deletions dojo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ name: Getting Started

type: welcome

image: pwncollege/challenge-legacy:latest

award:
belt: white

image: pwncollege/challenge-simple

modules:
- id: welcome
- id: discord
2 changes: 1 addition & 1 deletion welcome/challenge/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/kick-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
5 changes: 3 additions & 2 deletions welcome/desktop-paste/.init
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

stat /bin/sudo | grep Access.*755 || echo "PRACTICE" > /challenge/.secret
chmod 700 /challenge/.secret
echo 'source /challenge/.bashrc' >> /etc/bashrc

chmod 400 /challenge/.secret
2 changes: 1 addition & 1 deletion welcome/desktop-paste/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/karate-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
3 changes: 3 additions & 0 deletions welcome/desktop/.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
2 changes: 1 addition & 1 deletion welcome/desktop/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/karate-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
2 changes: 1 addition & 1 deletion welcome/flag/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/kick-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
2 changes: 1 addition & 1 deletion welcome/persist-1/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://ascii.co.uk/art/karate

Expand Down
2 changes: 1 addition & 1 deletion welcome/persist-2/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://ascii.co.uk/art/karate

Expand Down
2 changes: 1 addition & 1 deletion welcome/practice/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/kung-fu-ascii-art

Expand Down
3 changes: 3 additions & 0 deletions welcome/restart/.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
2 changes: 1 addition & 1 deletion welcome/restart/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/karate-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
2 changes: 2 additions & 0 deletions welcome/sensai/.init
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc

chmod 4711 /challenge/solve
2 changes: 1 addition & 1 deletion welcome/sensai/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://www.asciiart.eu/electronics/light-bulbs
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down
3 changes: 3 additions & 0 deletions welcome/vscode/.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
2 changes: 1 addition & 1 deletion welcome/vscode/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/bash
#!/usr/bin/exec-suid -- /bin/bash -p

# art from https://emojicombos.com/karate-ascii-art
cat <<END | while read LINE; do echo "$LINE"; sleep 0.1; done
Expand Down

0 comments on commit e76a679

Please sign in to comment.