-
Notifications
You must be signed in to change notification settings - Fork 0
Using the type option
Pythack edited this page Mar 21, 2022
·
5 revisions
The type option allow you to filter the search depending of the type of what you are searching
The syntax is as follows:
permscan --type type-id| Type | type-id |
|---|---|
| regular file | - |
| directory | d |
| block file | b |
| character device file | c |
| named pipe file / pipe file | p |
| symbolic link file | l |
| socket file | s |
Here are some examples:
permscan --owner root --type -permscan --user @r-- --type dpermscan -mi --group @rwx --type s