This repository is a simple project to protect the Linux system from ransomware.As it is just a contest project by undergraduates, we can't ensure sufficient effectiveness.Thus, please still be cautious when you use it.
This project is carried out under the Linux environment Ubuntu 18.04. The specific programming language is python3.7. Ubuntu 18.04 in Linux has its own Python 3.6. If you need to upgrade to 3.7, the process is as follows:
sudo apt install python3.7
sudo apt install python3-pip
If you point to python3.6 when using the pip command, you only need to use python3.7 - m pip install during installation:
pip3 install pyinotify
pip3 install shutil
pip3 install configparser
pip3 install psutil
pip3 install watchdog
pip3 install PyQt5
Before using the backup function, you need to set up the disk partition. In this document, you can use the virtual machine for related operations.
Under VMware: virtual machine > Settings > Add > hard disk > SCSI > create a new virtual disk > Save as a single file > complete
After restarting the system, input the following commands in turn for partition operation:
fdisk /dev/sdb
m(help)
n(create a new patition)
1(choose patition number)
w(write the result)
Use the instruction lsblk - f to check. If sdb1 appears, it means that the partition is successful.
Finally,format it: mkfs -t ext4 /dev/sdb1