security patch
This commit is contained in:
parent
2332625953
commit
2e8f977719
|
@ -16,6 +16,6 @@ text() {
|
|||
cat src/inc/aide.txt
|
||||
}
|
||||
|
||||
$@
|
||||
[[ $(type $@ | grep "est une fonction") ]] && $@ || echo "Veuillez préciser votre commande"
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -18,5 +18,4 @@ curl -s -H "X-Auth-Token: $API_TOKEN" \
|
|||
-d "{ \"channel\": \"$chan\", \"text\": \"$msg\" }" > /dev/null 2>&1
|
||||
}
|
||||
|
||||
$@
|
||||
|
||||
#[[ $(type $@ | grep "est une fonction") ]] && $@ || echo "Veuillez préciser votre commande"
|
||||
|
|
|
@ -35,6 +35,6 @@ membres() {
|
|||
}
|
||||
|
||||
|
||||
$@
|
||||
[[ $(type $@ | grep "est une fonction") ]] && $@ || echo "Veuillez préciser votre commande"
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -29,8 +29,6 @@ init() {
|
|||
|
||||
}
|
||||
|
||||
$args
|
||||
|
||||
[[ -z $args ]] && echo "Veuillez préciser votre commande"
|
||||
[[ $(type $args | grep "est une fonction") ]] && $args || echo "Veuillez préciser votre commande"
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -20,6 +20,6 @@ cagnotte() {
|
|||
}
|
||||
|
||||
|
||||
$@
|
||||
[[ $(type $@ | grep "est une fonction") ]] && $@ || echo "Veuillez préciser votre commande"
|
||||
|
||||
exit 0
|
||||
|
|
Reference in New Issue