linux-setuid-files
Runs the find / -user root -perm -4000 -print
command and lists the files with setuid permissions.
Syntax
linux-setuid-files [md5=BOOL]
Optional Parameter
md5=BOOL
- Boolean option to output the MD5 hash of files (default:
f
)t
: outputs the MD5 hash of filesf
: NOT output the MD5 hash of files
Description
After running the linux-setuid-files command, the output fields are as follows:
Output Fields
Field | Type | Description |
---|---|---|
file_path | String | File path |
file_name | String | File name |
file_type | String | File type |
permissions | String | Permissions |
file_size | Long | File size |
file_ctime | Date | Last change time |
file_mtime | Date | Last modification time |
file_atime | Date | Last access time |
md5 | String | MD5 hash of the file |
owner_read | Boolean | Whether owner read permission is given |
owner_write | Boolean | Whether owner write permission is given |
owner_execute | Boolean | Whether owner execute permission is given |
group_read | Boolean | Whether group read permission is given |
group_write | Boolean | Whether group write permission is given |
group_execute | Boolean | Whether group execute permission is given |
others_read | Boolean | Whether other read permission is given |
others_write | Boolean | Whether other write permission is given |
others_execute | Boolean | Whether other execute permission is given |