mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
Add multiple windows utilities
This commit is contained in:
1
modules/utilities/windows/adobereader/adobereader.pp
Normal file
1
modules/utilities/windows/adobereader/adobereader.pp
Normal file
@@ -0,0 +1 @@
|
||||
include adobereader::install
|
||||
@@ -0,0 +1,6 @@
|
||||
class adobereader::install {
|
||||
package { 'adobereader':
|
||||
provider => chocolatey,
|
||||
ensure => '2015.007.20033.02',
|
||||
}
|
||||
}
|
||||
25
modules/utilities/windows/adobereader/secgen_metadata.xml
Normal file
25
modules/utilities/windows/adobereader/secgen_metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>Adobe Acrobat Reader DC</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>Adobe Acrobat Reader DC software is the free, trusted global standard for viewing, printing, signing, sharing, and annotating PDFs.</description>
|
||||
|
||||
<type>win_documents</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://acrobat.com/</reference>
|
||||
<software_name>Adobe Reader</software_name>
|
||||
<software_license>non-free license</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
3
modules/utilities/windows/keepass/keepass.pp
Normal file
3
modules/utilities/windows/keepass/keepass.pp
Normal file
@@ -0,0 +1,3 @@
|
||||
include keepass::install
|
||||
# We will remove this for now. Install is fine. This probably belongs in a generator anyway?
|
||||
# include keepass::config
|
||||
21
modules/utilities/windows/keepass/manifests/config.pp
Normal file
21
modules/utilities/windows/keepass/manifests/config.pp
Normal file
@@ -0,0 +1,21 @@
|
||||
# keepass/manifests/config.pp
|
||||
|
||||
class keepass::config {
|
||||
$leaked_passwords = ['password1', 'password2']
|
||||
$leaked_usernames = ['user1', 'user2']
|
||||
$known_password = 'securepassword'
|
||||
|
||||
file { 'C:\\Users\\timbo_win7\\Desktop\\modules\\keepass\\files\\sample.kdbx':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/keepass/sample.kdbx',
|
||||
require => Package['keepass'],
|
||||
notify => Exec['add_entry_to_keepass'],
|
||||
}
|
||||
|
||||
exec { 'add_entry_to_keepass':
|
||||
command => 'powershell.exe -ExecutionPolicy Bypass -File "C:\\Users\\timbo_win7\\Desktop\\modules\\keepass\\Add-KeepassEntry.ps1" -DatabasePath "C:\\Users\\timbo_win7\\Desktop\\modules\\keepass\\files\\sample.kdbx" -MasterPassword "securepassword" -Username "user1" -Password "password1"',
|
||||
provider => 'powershell',
|
||||
refreshonly => true,
|
||||
subscribe => File['C:\\Users\\timbo_win7\\Desktop\\modules\\keepass\\files\\sample.kdbx'],
|
||||
}
|
||||
}
|
||||
6
modules/utilities/windows/keepass/manifests/install.pp
Normal file
6
modules/utilities/windows/keepass/manifests/install.pp
Normal file
@@ -0,0 +1,6 @@
|
||||
class keepass::install {
|
||||
package { 'keepass':
|
||||
provider => chocolatey,
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
25
modules/utilities/windows/keepass/secgen_metadata.xml
Normal file
25
modules/utilities/windows/keepass/secgen_metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>KeePass</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>KeePass is a free open source password manager, which helps you to manage your passwords in a secure way.</description>
|
||||
|
||||
<type>win_debugger</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://keepass.info/</reference>
|
||||
<software_name>keepass</software_name>
|
||||
<software_license>GPLv2</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
6
modules/utilities/windows/netcat/manifests/install.pp
Normal file
6
modules/utilities/windows/netcat/manifests/install.pp
Normal file
@@ -0,0 +1,6 @@
|
||||
class netcat::install {
|
||||
package { 'netcat':
|
||||
provider => chocolatey,
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
1
modules/utilities/windows/netcat/netcat.pp
Normal file
1
modules/utilities/windows/netcat/netcat.pp
Normal file
@@ -0,0 +1 @@
|
||||
include netcat::install
|
||||
25
modules/utilities/windows/netcat/secgen_metadata.xml
Normal file
25
modules/utilities/windows/netcat/secgen_metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>Netcat</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP.</description>
|
||||
|
||||
<type>win_security</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://nmap.org/ncat/</reference>
|
||||
<software_name>netcat</software_name>
|
||||
<software_license>custom</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
6
modules/utilities/windows/nginx/manifests/install.pp
Normal file
6
modules/utilities/windows/nginx/manifests/install.pp
Normal file
@@ -0,0 +1,6 @@
|
||||
class nginx::install {
|
||||
package { 'nginx-service':
|
||||
provider => chocolatey,
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
1
modules/utilities/windows/nginx/nginx.pp
Normal file
1
modules/utilities/windows/nginx/nginx.pp
Normal file
@@ -0,0 +1 @@
|
||||
include nginx::install
|
||||
25
modules/utilities/windows/nginx/secgen_metadata.xml
Normal file
25
modules/utilities/windows/nginx/secgen_metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>nginx</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, a generic TCP/UDP proxy server, as well as a load balancer and an HTTP cache.</description>
|
||||
|
||||
<type>win_services</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://nginx.org/en/</reference>
|
||||
<software_name>nginx</software_name>
|
||||
<software_license>BSD2</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
@@ -0,0 +1,6 @@
|
||||
class notepadplusplus::install {
|
||||
package { 'notepadplusplus':
|
||||
provider => chocolatey,
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
include notepadplusplus::install
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>NotepadPlusPlus</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages.</description>
|
||||
|
||||
<type>win_documents</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://notepad-plus-plus.org/</reference>
|
||||
<software_name>notepadplusplus</software_name>
|
||||
<software_license>GPLV2</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
6
modules/utilities/windows/vlc/manifests/install.pp
Normal file
6
modules/utilities/windows/vlc/manifests/install.pp
Normal file
@@ -0,0 +1,6 @@
|
||||
class vlc::install {
|
||||
package { 'vlc':
|
||||
provider => chocolatey,
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
25
modules/utilities/windows/vlc/secgen_metadata.xml
Normal file
25
modules/utilities/windows/vlc/secgen_metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>VLC</name>
|
||||
<author>Oscar Langford</author>
|
||||
<author>James Davis</author>
|
||||
<module_license>MIT</module_license>
|
||||
<description>VLC Player</description>
|
||||
|
||||
<type>win_security</type>
|
||||
<platform>windows</platform>
|
||||
|
||||
<reference>https://www.vlc.com</reference>
|
||||
<software_name>vlc</software_name>
|
||||
<software_license>non-free license</software_license>
|
||||
|
||||
<!-- for now we just make all windows modules conflict with linux bases -->
|
||||
<conflict>
|
||||
<module_path>bases/.*</module_path>
|
||||
<platform>linux</platform>
|
||||
</conflict>
|
||||
|
||||
</utility>
|
||||
1
modules/utilities/windows/vlc/vlc.pp
Normal file
1
modules/utilities/windows/vlc/vlc.pp
Normal file
@@ -0,0 +1 @@
|
||||
include vlc::install
|
||||
Reference in New Issue
Block a user