Skip to content

Commit

Permalink
amateurhour is unstoppable
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Sep 3, 2024
1 parent 0f1ee15 commit 4522e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input-restrictions/19-next-2/run
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $WORKDIR

doit() {
echo -n ""
cat dangerous-script.sh | tr -cd "[\n $\-/0-9a-z]" | grep -E "^(echo|read) " > safe-script.sh
cat dangerous-script.sh | tr -cd "[\n \-/0-9a-z]" | grep -E "^(echo|read) " > safe-script.sh
bash safe-script.sh
}

Expand Down

0 comments on commit 4522e0d

Please sign in to comment.