-
Notifications
You must be signed in to change notification settings - Fork 11
/
penet.yml
68 lines (59 loc) · 2.18 KB
/
penet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This playbook contains tasks to perform on a fresh Fedora installation to
# create a Fedora Security Lab Test bench.
#
# Copyright (c) 2013-2016 Fabian Affolter <[email protected]>
#
# Licensed under CC BY 3.0. All rights reserved.
#
# Usage: sudo ansible-playbook all-in-one.yml -f 10
#
---
- hosts: fsl-tb
user: root
vars_files:
- variables/application-versions.yml
- variables/sensitive.yml
- variables/containers.yml
tasks:
# Common tasks
################################################################################
- include: tasks/preparation.yml
- include: tasks/motd.yml
# FSL Test bench specific stuff
################################################################################
- include: tasks/web-servers/lighttpd.yml
- include: tasks/web-interface.yml
# Services
################################################################################
## Web servers
- include: tasks/web-servers/tomcat.yml
- include: tasks/misc-servers/cups.yml
- include: tasks/misc-servers/xrdp.yml
- include: tasks/misc-servers/ntp.yml
- include: tasks/misc-servers/mosquitto.yml
- include: tasks/misc-servers/snmp.yml
# Helpers
################################################################################
- include: tasks/helpers/linfo.yml
# Common Gateway Interface (CGI)
################################################################################
- include: tasks/cgi/cgi.yml
- include: tasks/cgi/time.yml
- include: tasks/cgi/time-py.yml
- include: tasks/cgi/env-sh.yml
- include: tasks/cgi/system-sh.yml
- include: tasks/cgi/time-pl.yml
# Vulnerable Web Application
################################################################################
- include: tasks/apps/mcir.yml
# Shells
################################################################################
- include: tasks/shells/b374k.yml
- include: tasks/shells/dnashell.yml
- include: tasks/shells/phpshell.yml
# Common tasks
################################################################################
# - include: tasks/cleanup.yml
handlers:
- include: handlers/system.yml
- include: handlers/services.yml