updated vsftpd role

This commit is contained in:
Pin
2023-02-13 20:29:27 -05:00
parent 2d38054540
commit 35ecf2a1dd
5 changed files with 18 additions and 50 deletions

View File

@@ -1,22 +1,22 @@
Role Name Role Name
========= =========
A brief description of the role goes here. This role installs a vulnerable version of vsftpd, version 2.3.4.
Requirements Requirements
------------ ------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. N/A
Role Variables Role Variables
-------------- --------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. N/A
Dependencies Dependencies
------------ ------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. N/A
Example Playbook Example Playbook
---------------- ----------------
@@ -25,14 +25,15 @@ Including an example of how to use your role (for instance, with variables passe
- hosts: servers - hosts: servers
roles: roles:
- { role: username.rolename, x: 42 } - CVE-2011-2523
License License
------- -------
BSD Unlicense
Author Information Author Information
------------------ ------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed). PinStraw

View File

@@ -1,2 +0,0 @@
---
# defaults file for CVE-2011-2523

View File

@@ -1,52 +1,22 @@
galaxy_info: galaxy_info:
author: Spencer author: Pin
description: your role description description: Installing VSFTPD 2.3.4
company: your company (optional)
# If the issue tracker for your role is not on github, uncomment the license: Unlicense
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
# Choose a valid license ID from https://spdx.org - some suggested licenses:
# - BSD-3-Clause (default)
# - MIT
# - GPL-2.0-or-later
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
min_ansible_version: 2.1 min_ansible_version: 2.1
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
#
# Provide a list of supported platforms, and for each platform a list of versions. # Provide a list of supported platforms, and for each platform a list of versions.
# If you don't wish to enumerate all versions for a particular platform, use 'all'. # If you don't wish to enumerate all versions for a particular platform, use 'all'.
# To view available platforms and versions (or releases), visit: # To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/ # https://galaxy.ansible.com/api/v1/platforms/
# #
# platforms: platforms:
# - name: Fedora - name: Ubuntu
# versions: versions:
# - all - 20
# - 25
# - name: SomePlatform
# versions:
# - all
# - 1.0
# - 7
# - 99.99
galaxy_tags: [] galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: [] dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@@ -26,8 +26,9 @@
- name: Unarchive VSFTPD - name: Unarchive VSFTPD
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: vsftpd-2.3.4.tar.gz src: https://file.pinfosec.dev/files/vuln/vsftpd-2.3.4.tar.gz
dest: /tmp/vsftpd_build dest: /tmp/vsftpd_build
remote_src: "true"
- name: Create install reqs - name: Create install reqs
ansible.builtin.file: ansible.builtin.file:

View File

@@ -1,2 +0,0 @@
---
# vars file for CVE-2011-2523