960 lines
16 KiB
YAML
960 lines
16 KiB
YAML
root_folders:
|
|
- applications #common
|
|
- etc #common
|
|
- home #common
|
|
- lib
|
|
- lib32
|
|
- lib64
|
|
- mnt #common
|
|
- opt #common
|
|
- private #common
|
|
- run
|
|
- snap #common
|
|
- sys
|
|
- system
|
|
- systemd
|
|
- tmp #common
|
|
- usr #common
|
|
- var #common
|
|
|
|
common_file_folders: "applications etc home mnt opt private snap tmp usr var"
|
|
common_directory_folders: "applications etc home mnt opt private tmp usr var"
|
|
|
|
|
|
defaults:
|
|
auto_check: False #The builder will generate a ceck for the file
|
|
bad_regex: "" #The regex used to color red and grep lines (if only_bad_lines and no line_grep)
|
|
check_extra_path: "" #Check if the found files are in a specific path
|
|
good_regex: "" #The regex to color green
|
|
just_list_file: False #Just mention the path to the file, do not cat it
|
|
line_grep: "" #The regex to grep lines in a file (if only_bad_lines), by default bad_regex is used here if empty
|
|
only_bad_lines: False #Only print lines containing something red
|
|
regex_remove: "" #Extra regex to remove some lines
|
|
remove_empty_lines: False #Remove empty lines
|
|
remove_path: "" #Not interested in files contaiing this path
|
|
|
|
|
|
#Files & folders to search
|
|
search:
|
|
Systemd:
|
|
? "*.service"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- all
|
|
|
|
Timer:
|
|
? "*.timer"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- all
|
|
|
|
Socket:
|
|
? "*.socket"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- all
|
|
|
|
DBus:
|
|
? "system.d"
|
|
:
|
|
type: d
|
|
search_in:
|
|
- etc
|
|
|
|
? "system.d"
|
|
:
|
|
type: d
|
|
search_in:
|
|
- etc
|
|
|
|
MySQL:
|
|
mysql:
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
PostgreSQL:
|
|
? "pgadmin*.db"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "pg_hba.conf"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "postgresql.conf"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "pgsql.conf"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Apache:
|
|
? "sites-enabled"
|
|
:
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
? "000-default"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
PHP_files:
|
|
? "sess_*"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*config*.php"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "database.php"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "db.php"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "storage.php"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Wordpress:
|
|
? "wp-config.php"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "PASSWORD|USER|NAME|HOST"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Drupal:
|
|
? "settings.php"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "drupal_hash_salt|'database'|'username'|'password'|'host'|'port'|'driver'|'prefix'"
|
|
check_extra_path: "/default/settings.php"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Moodle:
|
|
? "config.php"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "dbtype|dbhost|dbuser|dbhost|dbpass|dbport"
|
|
check_extra_path: "moodle/config.php"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Tomcat:
|
|
? "tomcat-users.xml"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "dbtype|dbhost|dbuser|dbhost|dbpass|dbport"
|
|
check_extra_path: "username=|password="
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Mongo:
|
|
? "mongod*.conf"
|
|
:
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Supervisord:
|
|
? "supervisord.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "port.*=|username.*=|password.*="
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Cesi:
|
|
? "cesi.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "username.*=|password.*=|host.*=|port.*=|database.*="
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Rsync:
|
|
? "rsyncd.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "secrets.*|auth.*users.*="
|
|
type: f
|
|
remove_empty_line: True
|
|
remove_regex: '\W+\#|^#'
|
|
search_in:
|
|
- common
|
|
|
|
? "rsyncd.secrets"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Hostapd:
|
|
? "hostapd.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "passphrase.*="
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Anaconda-ks:
|
|
? "anaconda-ks.cfg"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "rootpw.*"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
VNC:
|
|
? ".vnc"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "passwd"
|
|
:
|
|
just_list: True
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
Ldap:
|
|
? "ldap"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "*.bdb"
|
|
:
|
|
bad_regex: "administrator|password|ADMINISTRATOR|PASSWORD|Password|Administrator"
|
|
line_grep: '-i -a -E -o "description.*"'
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
Anaconda-ks:
|
|
? "*.ovpn"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "auth-user-pass.*"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
SSH:
|
|
? "id_dsa*"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "id_rsa*"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "known_hosts"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "authorized_hosts"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "authorized_keys"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.pem"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.cer"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.crt"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.csr"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.der"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.pfx"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.p12"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "agent*"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- tmp
|
|
|
|
? "*ssh*config*"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- usr home
|
|
|
|
? "*config*ssh*"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- usr home
|
|
|
|
Cloud credentials:
|
|
? "credentials"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "credentials.db"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "legacy_credentials.db"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "access_tokens.db"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "access_tokens.json"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "azureProfile.json"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Kerberos:
|
|
? "krb5.conf"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "krb5.keytab"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? ".k5login"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "kadm5.acl"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Kibana:
|
|
? "kibana.y*ml"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "username|password|host|port|elasticsearch|ssl"
|
|
type: f
|
|
remove_empty_lines: True
|
|
remove_regex: '\W+\#|^#|^[[:space:]]*$'
|
|
search_in:
|
|
- common
|
|
|
|
Knockd:
|
|
? "knockd"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Logstash:
|
|
? "logstash"
|
|
:
|
|
auto_check: False
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
Elasticsearch:
|
|
? "elasticsearch.y*ml"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Vault-ssh:
|
|
? "vault-ssh-helper.hcl"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? ".vault-token"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
CouchDB:
|
|
? "couchdb"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "local.ini"
|
|
:
|
|
bad_regex: "admin.*|password.*|cert_file.*|key_file.*|hashed.*|pbkdf2.*"
|
|
remove_empty_lines: True
|
|
remove_regex: "^;"
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
Redis:
|
|
? "redis.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "masterauth.*|requirepass.*"
|
|
type: f
|
|
remove_empty_lines: True
|
|
remove_regex: '\W+\#|^#'
|
|
search_in:
|
|
- common
|
|
|
|
Mosquitto:
|
|
? "mosquitto.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "password_file.*|psk_file.*|allow_anonymous.*true|auth"
|
|
type: f
|
|
remove_empty_lines: True
|
|
remove_regex: '\W+\#|^#'
|
|
search_in:
|
|
- common
|
|
|
|
Cloud-Init:
|
|
? "cloud.cfg"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "consumer_key|token_key|token_secret|metadata_url|password:|passwd:|PRIVATE KEY|PRIVATE KEY|encrypted_data_bag_secret|_proxy"
|
|
only_bad_lines: True
|
|
type: f
|
|
remove_empty_lines: True
|
|
remove_regex: '\W+\#|^#'
|
|
search_in:
|
|
- common
|
|
|
|
Erlang:
|
|
? ".erlang.cookie"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
CMV Auth:
|
|
? "gvm-tools.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "username.*|password.*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
IPSec:
|
|
? "ipsec.secrets"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*PSK.*|.*RSA.*|.*EAP =.*|.*XAUTH.*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "ipsec.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: ".*PSK.*|.*RSA.*|.*EAP =.*|.*XAUTH.*"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
IRSSI:
|
|
? ".irssi"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "password."
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Keyring:
|
|
? "keyrings"
|
|
:
|
|
auto_check: True
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
? "*.keyring"
|
|
:
|
|
auto_check: True
|
|
just_list_file: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.keystore"
|
|
:
|
|
auto_check: True
|
|
just_list_file: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.jks"
|
|
:
|
|
auto_check: True
|
|
just_list_file: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Filezilla:
|
|
? "filelliza"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "sitemanager.xml"
|
|
:
|
|
bad_regex: "Host.*|Port.*|Protocol.*|User.*|Pass.*"
|
|
remove_empty_lines: True
|
|
remove_regex: "^;"
|
|
type: d
|
|
search_in:
|
|
- common
|
|
|
|
Backup Manager:
|
|
? "storage.php"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "password|pass|user|database|host"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "database.php"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "password|pass|user|database|host"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Splunk:
|
|
? "passwd"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
GitLab:
|
|
? "secrets.yml"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
remove_path: "/lib"
|
|
search_in:
|
|
- common
|
|
|
|
? "gitlab.yml"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
remove_path: "/lib"
|
|
search_in:
|
|
- common
|
|
|
|
? "gitlab.rm"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
remove_path: "/lib"
|
|
search_in:
|
|
- common
|
|
|
|
PGP-GPG:
|
|
? "*.pgp"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.gpg"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.gnupg"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Cache Vi:
|
|
? "*.swp"
|
|
:
|
|
auto_check: True
|
|
just_list: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "*.viminfo"
|
|
:
|
|
auto_check: True
|
|
just_list: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Docker:
|
|
? "docker.socket"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "docker.sock"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "Dockerfile"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "docker-compose.yml"
|
|
:
|
|
auto_check: False
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Firefox:
|
|
? ".mozilla"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "places.sqlite"
|
|
:
|
|
just_list: True
|
|
|
|
? "bookmarkbackups"
|
|
:
|
|
just_list: True
|
|
|
|
? "formhistory.sqlite"
|
|
:
|
|
just_list: True
|
|
|
|
? "handlers.json"
|
|
:
|
|
just_list: True
|
|
|
|
? "persdict.dat"
|
|
:
|
|
just_list: True
|
|
|
|
? "addons.json"
|
|
:
|
|
just_list: True
|
|
|
|
? "cookies.sqlite"
|
|
:
|
|
just_list: True
|
|
|
|
? "cache2"
|
|
:
|
|
just_list: True
|
|
|
|
? "startupCache"
|
|
:
|
|
just_list: True
|
|
|
|
? "favicons.sqlite"
|
|
:
|
|
just_list: True
|
|
|
|
? "prefs.js"
|
|
:
|
|
just_list: True
|
|
|
|
? "downloads.sqlite"
|
|
:
|
|
just_list: True
|
|
|
|
? "thumbnails"
|
|
:
|
|
just_list: True
|
|
|
|
? "logins.json"
|
|
:
|
|
just_list: True
|
|
|
|
? "key4.db"
|
|
:
|
|
just_list: True
|
|
|
|
? "key3.db"
|
|
:
|
|
just_list: True
|
|
|
|
type: d
|
|
search_in:
|
|
- home
|
|
|
|
Chrome:
|
|
? "google-chrome"
|
|
:
|
|
auto_check: True
|
|
files:
|
|
? "Cookies"
|
|
:
|
|
just_list: True
|
|
|
|
? "Cache"
|
|
:
|
|
just_list: True
|
|
|
|
? "Bookmarks"
|
|
:
|
|
just_list: True
|
|
|
|
? "Web Data"
|
|
:
|
|
just_list: True
|
|
|
|
? "Favicons"
|
|
:
|
|
just_list: True
|
|
|
|
? "Login Data"
|
|
:
|
|
just_list: True
|
|
|
|
? "Current Session"
|
|
:
|
|
just_list: True
|
|
|
|
? "Current Tabs"
|
|
:
|
|
just_list: True
|
|
|
|
? "Last Session"
|
|
:
|
|
just_list: True
|
|
|
|
? "Last Tabs"
|
|
:
|
|
just_list: True
|
|
|
|
? "Extensions"
|
|
:
|
|
just_list: True
|
|
|
|
? "Thumbnails"
|
|
:
|
|
just_list: True
|
|
|
|
search_in:
|
|
- home
|
|
|
|
Autologin:
|
|
? "autologin"
|
|
:
|
|
auto_check: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
? "autologin.conf"
|
|
:
|
|
auto_check: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
FastCGI:
|
|
? "fastcgi_params"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "DB_NAME|DB_USER|DB_PASS"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
SNMP:
|
|
? "snmpd.conf"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "rocommunity|rwcommunity"
|
|
only_bad_lines: True
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
Pypirc:
|
|
? ".pypirc"
|
|
:
|
|
auto_check: True
|
|
bad_regex: "username|password"
|
|
type: f
|
|
search_in:
|
|
- common
|
|
|
|
CloudFlare:
|
|
? ".cloudflared"
|
|
:
|
|
auto_check: True
|
|
type: d
|
|
search_in:
|
|
- common |