mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
Phishing: Adding insecure macro config to Kali user (2/?)
This commit is contained in:
@@ -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',
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user