Skip to content

Commit

Permalink
Fix for simple image
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Jan 6, 2025
1 parent 99358bb commit ac88308
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion welcome/challenge/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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
3 changes: 2 additions & 1 deletion welcome/desktop-paste/.init
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
echo 'source /challenge/.bashrc' >> /etc/bash.bashrc
ln -s /etc/bash.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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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: 2 additions & 1 deletion welcome/desktop/.init
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
echo 'source /challenge/.bashrc' >> /etc/bash.bashrc
ln -s /etc/bash.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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /bin/bash -p

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

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

echo 'source /challenge/.bashrc' >> /etc/bashrc
echo 'source /challenge/.bashrc' >> /etc/bash.bashrc
ln -s /etc/bash.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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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: 2 additions & 1 deletion welcome/sensai/.init
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

echo 'source /challenge/.bashrc' >> /etc/bashrc
echo 'source /challenge/.bashrc' >> /etc/bash.bashrc
ln -s /etc/bash.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 @@
#!/usr/bin/exec-suid -- /bin/bash -p
#!/usr/bin/exec-suid --real -- /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
2 changes: 1 addition & 1 deletion welcome/vscode/solve
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/exec-suid --real -- /bin/bash
#!/usr/bin/exec-suid --real -- /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 ac88308

Please sign in to comment.