Skip to content

Using the type option

gmnsii edited this page Mar 21, 2022 · 5 revisions

What is it used for ?

The type option allow you to filter the search depending of the type of what you are searching

How to use it ?

The syntax is as follows:

permscan --type type-id

List of types:

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

Examples

Here are some examples:

permscan --owner root --type -
permscan --user @r-- --type d
permscan -mi --group @rwx --type s
Clone this wiki locally