Skip to content

Commit

Permalink
Adding default Ubuntu file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
billburn authored Jun 1, 2020
1 parent 2edf3f6 commit ab66de5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Linux/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Linux Enumeration Tips

## Default Ubuntu File Permissions
```
* Folders should be 0755
* Files shuld be 0664
find /home/user -type d -print0 | xargs -0 chmod 0775
find /home/user -type f -print0 | xargs -0 chmod 0664
```

## Grep all file for string
```
grep -ilR "flag11" / 2>/dev/null
Expand Down

0 comments on commit ab66de5

Please sign in to comment.