Phishing: Adding insecure macro config to Kali user (2/?)

This commit is contained in:
thomashaw
2024-11-26 14:04:40 +00:00
parent 99791fdbf5
commit a32017ef7d

View File

@@ -79,13 +79,6 @@ class phish_victim_bot::install {
}
}
}->
file { "/home/kali/.config/libreoffice/4/user/registrymodifications.xcu":
ensure => present,
owner => "kali",
group => "kali",
mode => '0600',
source => 'puppet:///modules/phish_victim_bot/libreoffice-macros-registrymodifications.xcu',
}
file { '/opt/mailreader/':
@@ -119,6 +112,13 @@ class phish_victim_bot::install {
path => ['/bin', '/usr/bin', '/usr/local/bin', '/sbin', '/usr/sbin'],
command => "javac -cp /opt/mailreader/mail.jar:/opt/mailreader/activation-1.1-rev-1.jar MailReader.java && chmod 0755 /opt/mailreader/MailReader.class && chown root:root /opt/mailreader/MailReader.class",
cwd => '/opt/mailreader/',
} ->
file { "/home/kali/.config/libreoffice/4/user/registrymodifications.xcu":
ensure => present,
owner => "kali",
group => "kali",
mode => '0600',
source => 'puppet:///modules/phish_victim_bot/libreoffice-macros-registrymodifications.xcu',
}
}