From ee8ba29e3909c260e7701a5ba5456af542e35419 Mon Sep 17 00:00:00 2001 From: Guillaume Emorine Date: Mon, 18 Nov 2024 10:53:46 +0100 Subject: [PATCH] =?UTF-8?q?L=C3=A9g=C3=A8res=20modifications=20au=20script?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bts_annee_2/cyber2/ransomware-simulation/smbcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh b/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh index 3fbd5e8..a2a9395 100644 --- a/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh +++ b/bts_annee_2/cyber2/ransomware-simulation/smbcc.sh @@ -24,7 +24,7 @@ if [[ $? != 0 ]] ; then fi # Commande ccrypt pour encrypter ou décrypter le répertoire avec le partage. -ccrypt "$action" -r -k $ficcle /tmp/samba +ccrypt "$action" --recursive --key $ficcle /tmp/samba # Seconde vérification d'erreurs. if [[ $? != 0 ]] ; then