From b44cad09a1943f700a5f707245d3149337663109 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Tue, 14 Apr 2009 23:45:31 +0200 Subject: [PATCH] =?UTF-8?q?[conficker.sh]=20modifications=20cosm=C3=A9tiqu?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: 124b351d53c740cfc4446aa33dd4b9e darcs-hash:20090414214531-bd074-1118ba88ba0d522f54a1bee3850f2e2a50d1190d.gz --- surveillance/conficker.sh | 43 +++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/surveillance/conficker.sh b/surveillance/conficker.sh index af1472ae..319fed15 100644 --- a/surveillance/conficker.sh +++ b/surveillance/conficker.sh @@ -25,7 +25,7 @@ # [> fichier]). ##### # Options : -# -h / --help : Affiche les options +# -h / --help : Affiche les options # --mailto [adresse mail] : Envoie un mail avec le diff ##### # Fonctionnement : @@ -49,29 +49,36 @@ # On affiche l'aide si demandée if [ "$1" == "-h" ] || [ "$1" == "--help" ] then - echo "Script de détection des machines infectées par Conficker" - echo "Options :" - echo " -h / --help : Affiche les options" - echo " --mailto [adresse mail] : Envoie un mail avec le diff, ou les stats" - echo " s'il n'y a pas d'anciennes stats" +cat < Format :" - echo "> * [Hôte de destination suspect]" - echo "> [Nombre de requêtes] [IP Cr@ns source] [IP destination]" - echo +cat < Format : +> * [Hôte de destination suspect] +> [Nombre de requêtes] [IP Cr@ns source] [IP destination] + +EOF }