Skip to content
Snippets Groups Projects

Hide rest password

Merged Hahn Axel (hahn) requested to merge hide-rest-password into master
4 files
+ 1
329
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
34
# ----------------------------------------------------------------------
# what to detect
# ----------------------------------------------------------------------
[detect]
# binaries that must befound, comma seperated
binary = 'mysql,mysqldump'
# a running process that must be found
process = 'mysqld|mariadb'
# a port that must be open on a given host
tcp = 3306
tcp-target = localhost
# process that opens a port (see netstat -tulpen) - works for local services only
# "slirp4netns" is docker network stack
# "rootlesskit" is docker too
tcp-process = 'mysqld|mariadbd'
# ----------------------------------------------------------------------
# data to apply if it was found
# ----------------------------------------------------------------------
[set]
su = ''
dbuser = 'root'
dbpassword = '12345678'
# unschön - das ist in der Prozessliste
params = '--port={{tcp}} --password={{dbpassword}} --user={{dbuser}} --host={{tcp-target}}'
# ----------------------------------------------------------------------
Loading