first commit
This commit is contained in:
13
target_process.sh
Executable file
13
target_process.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user