Permalink
Browse files

Escape wither input please

  • Loading branch information...
qrush committed Jan 17, 2016
1 parent f506d11 commit 65db6deca565aa3190cc4a246420c7dfe36a721d
Showing with 3 additions and 1 deletion.
  1. +3 −1 wither.sh
4 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.