#!/bin/sh


#Creates file
touch /etc/example.txt
echo "Step 1: Created maliciousfile.txt"

#Adds content to file
echo "Step 2: Contents being added to file..."
sleep 2s
echo "FIM Unit Test. Adding a contents to file." >> /etc/example.txt
echo "Step 3: File being Modified.."
sleep 2s
#Modifies File
echo "FIM Unit Test. Modifying this file" >> /etc/example.txt
echo "Step 4: File being deleted..."
sleep 2s
#Deletes file
rm -f /etc/example.txt
echo "File Deleted"

