TP AIDE et autres IDS
This commit is contained in:
8
sio2/CYBER/IDS/aide
Executable file
8
sio2/CYBER/IDS/aide
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
aideinit #initialisation
|
||||
/etc/cron.daily/aide # on lance aide pour vérifier
|
||||
more /var/log/aide/aide.log # on affiche le compte-rendu : pas de changements
|
||||
touch /etc/truc # on créée un fichier
|
||||
echo "#########" >> /etc/hosts # on en modifie un autre
|
||||
/etc/cron.daily/aide # on vérifie à nouveau
|
||||
more /var/log/aide/aide.log # on constate les changements survenus ...
|
Reference in New Issue
Block a user