From 996e230d44c4c5531d1b4e33800fe83583330ffe Mon Sep 17 00:00:00 2001 From: Guillaume Emorine Date: Mon, 18 Nov 2024 11:17:00 +0100 Subject: [PATCH] Modification finale du script smbcc.sh. --- bts_annee_2/cyber2/ransomware-simulation/smbcc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh b/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh index a2a9395..1f4efab 100644 --- a/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh +++ b/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh @@ -19,6 +19,7 @@ mount.cifs -o "username=$user,password=$pass" "//${chemin}" /tmp/samba # Première vérification d'erreurs. if [[ $? != 0 ]] ; then + echo "Erreur dans la commande mount.cifs, vérifiez les paramètres entrés." rmdir /tmp/samba exit 1 fi