This commit is contained in:
Z. Cliffe Schreuders
2021-02-17 14:02:30 +00:00
parent 98f9a276a3
commit ada2cb9127
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ class chroot_debootstrap::install {
provider => 'shell',
creates => "$chroot_dir/usr/bin/ncat",
path => ['/bin', '/usr/bin', '/usr/sbin', '/sbin',],
logoutput => 'true',
} ->
file_line { "${chroot_dir}_chroot_proc":

View File

@@ -5,10 +5,10 @@ class nc_backdoor_chroot_esc::install {
$strings_to_leak = $secgen_parameters['strings_to_leak']
$leaked_filenames = $secgen_parameters['leaked_filenames']
ensure_pacakge("nmap")
ensure_package("nmap")
case $operatingsystemrelease {
/^(10).*/: { # do buster stuff
ensure_pacakge("ncat")
ensure_package("ncat")
}
}
# run on each boot via cron