Category : Uncategorized

Strace useful – https://linux-audit.com/the-ultimate-strace-cheat-sheet/ strace -p PID -e trace=network -e trace=ipc – Track communication between processes (IPC) -e trace=memory – Track memory syscalls -e trace=network – Track memory syscalls -e trace=process – Track process calls (like fork, exec) -e trace=signal – Track process signal handling (like HUP, exit) -e trace=file – Track file related syscalls ..

Read more

Thought Maldet would just find manky files, it didn’t, I just wanted it to see the obvious, it did eventually after I did.. 1) Install Clam AV (By googling CentOS7 clamav as you do, cheers mate) yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd -y 2) Configure daemon cp /usr/share/clamav/template/clamd.conf /etc/clamd.d/clamd.conf sed ..

Read more

Original yum -y install yum-cron systemctl start yum-cron systemctl enable yum-cron Usage vi /etc/yum/yum-cron.conf Edit update_cmd = security apply_updates = yes emit_via = email@address Restart systemctl restar..

Read more

Grab the list from the servers rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server1.txt rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server2.txt Copy the files over to where you want to compare, probably one of the servers in question. for R in $(cat server1.txt) ; do grep $R server2.txt >/dev/null || echo..

Read more

Taken from – https://us.community.samsung.com/t5/Others/How-to-use-Secure-Erase-on-an-SSD-when-you-only-have-one-SATA/td-p/103566 1)First, Install FreeDOS onto a USB stick. The easiest way I found to do it is: Download Rufus (lets you make bootable USB disks) In Rufus, select your USB drive from the drop-down menu at the top Change the file system format to FAT32 Check the box to make the drive ..

Read more