Adding Caldera to DetectionLab
This commit is contained in:
11
Vagrant/resources/caldera/caldera.service
Normal file
11
Vagrant/resources/caldera/caldera.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=My Script Service
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
WorkingDirectory=/home/vagrant/caldera/caldera
|
||||
ExecStart=/usr/bin/python3 caldera.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
12
Vagrant/resources/caldera/mongod.service
Normal file
12
Vagrant/resources/caldera/mongod.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=High-performance, schema-free document-oriented database
|
||||
After=network.target
|
||||
Documentation=https://docs.mongodb.org/manual
|
||||
|
||||
[Service]
|
||||
User=mongodb
|
||||
Group=mongodb
|
||||
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
14
Vagrant/resources/caldera/sslproto.patch
Normal file
14
Vagrant/resources/caldera/sslproto.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- sslproto.py 2018-01-17 08:00:50.567571454 +0000
|
||||
+++ sslproto.py.new 2018-01-17 08:03:31.996275969 +0000
|
||||
@@ -533,8 +533,10 @@
|
||||
def _get_extra_info(self, name, default=None):
|
||||
if name in self._extra:
|
||||
return self._extra[name]
|
||||
- else:
|
||||
+ elif self._transport is not None:
|
||||
return self._transport.get_extra_info(name, default)
|
||||
+ else:
|
||||
+ return default
|
||||
|
||||
def _start_shutdown(self):
|
||||
if self._in_shutdown:
|
||||
Reference in New Issue
Block a user