Skip to content

Commit

Permalink
Escape wither input please
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Jan 17, 2016
1 parent f506d11 commit 65db6de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wither.sh 100644 → 100755
@@ -1,3 +1,5 @@
#!/bin/bash
set -f
GLOBIGNORE="*"

tail -F /home/minecraft/pickaxe.club/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne $x | curl -X POST -d @- https://wither.herokuapp.com/minecraft/hook ; done
tail -F /home/minecraft/pickaxe.club/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne "$x" | curl -X POST -d @- https://wither.herokuapp.com/minecraft/hook ; done

0 comments on commit 65db6de

Please sign in to comment.