Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolerVoid authored Mar 12, 2022
1 parent 7e9d0b2 commit 28f1da7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ fs-rules:
2: my_vault.db
- protect:
1: backup_httpd.log
2: secret_img.iso
3: secret_file.img
```
The array is hidden and array protected. You can insert a lot of the elements of another file on context, for example:
```
Expand Down Expand Up @@ -111,6 +109,19 @@ $ echo "Alakazam" > /dev/usb15
$ ls
-- no results--
```
So this is an example of trying to remove a protected file by Casper-fs:
```
# ls
test.txt log.txt backup_httpd.log
# rm backup_httpd.log
# ls
test.txt log.txt backup_httpd.log
# echo "Sesame" > /dev/usb15
# rm backup_httpd.log
# ls
test.txt log.txt
# echo "Sesame" > /dev/usb15 // to active protection again
```

* Note
You need to turn casperfs visible at the "lsmod" command. Need this action before removing module
Expand Down

0 comments on commit 28f1da7

Please sign in to comment.