update for disco

master
trevorbryant 2019-04-21 00:48:33 -04:00
parent 5c32d512b7
commit 2ea30da13c
2 changed files with 28 additions and 78 deletions

View File

@ -4,14 +4,10 @@ Ansible playbooks to install various security tools to localhost.
## Playbooks ## Playbooks
In the beginning the idea was to create a set of roles to perform various tasks. To keep it simple, this has been scaled back to utilize the loop feature in Playbooks, and specific plays and tasks for what actually needs to be tasked with greater detailed arguments. This keeps the simplicity of hierarchy. In the beginning the idea was to create a set of roles to perform various tasks. To keep it simple, this has been scaled back to utilize the loop feature in Playbooks, and specific plays and tasks for what actually needs to be tasked with greater detailed arguments. This keeps the simplicity of hierarchy.
This branch is tailored for the 18.XX releases of Ubuntu Bionic and will be maintained as needed. Note that there will be packages that will not be backported by the authors and only maintained in newer Ubuntu versions. This branch is tailored for the disco releases of Ubuntu.
- To use the 1.5 release of `aircrack-ng`, upgrade to Ubuntu Disco.
## Testing ## Testing
This has been tested on the following distributions: This has been tested on disco 19.04.
- `Ubuntu 18.04.2 LTS`
- `18.10`
- `Pop!_OS 18.04 LTS`
- `18.10`
### Dependencies ### Dependencies
The package `python-apt` will need to be present prior to running the playbooks. Ansible requires this package as a dependency to the`--check` module. The package `python-apt` will need to be present prior to running the playbooks. Ansible requires this package as a dependency to the`--check` module.

View File

@ -31,6 +31,30 @@
tags: tags:
- deb-utils - deb-utils
- name: install kismet
hosts: localhost
connection: local
tasks:
- name: add gpg key
apt_key:
url: https://www.kismetwireless.net/repos/kismet-release.gpg.key
state: present
- name: add repository
apt_repository:
repo: 'deb https://www.kismetwireless.net/repos/apt/git/cosmic cosmic main'
state: present
filename: kismet
update_cache: yes
- name: add user to group
user:
name: trevor
groups: kismet
append: yes
tags:
- repository
- group
- gpg_key
- name: deb-sec - name: deb-sec
hosts: localhost hosts: localhost
connection: local connection: local
@ -57,7 +81,7 @@
- hashcat - hashcat
- hydra - hydra
- recon-ng - recon-ng
# - aircrack-ng - aircrack-ng
- airgraph-ng - airgraph-ng
- wireshark - wireshark
- kismet - kismet
@ -116,76 +140,6 @@
tags: tags:
- pip3-sec - pip3-sec
- name: install kismet
hosts: localhost
connection: local
tasks:
- name: add gpg key
apt_key:
url: https://www.kismetwireless.net/repos/kismet-release.gpg.key
state: present
- name: add repository
apt_repository:
repo: 'deb https://www.kismetwireless.net/repos/apt/git/cosmic cosmic main'
state: present
filename: kismet
update_cache: yes
- name: add user to group
user:
name: trevor
groups: kismet
append: yes
tags:
- repository
- group
- gpg_key
- name: install aircrack-ng 1.5.2
hosts: localhost
connection: local
become: true
vars:
packages:
- autoconf
- automake
- libtool
- shtool
- build-essential
- pkg-config
- libnl-3-dev
- libnl-genl-3-dev
- libssl-dev
- ethtool
- rfkill
- zlib1g-dev
- libpcap-dev
- libsqlite3-dev
- libpcre3-dev
- libhwloc-dev
- libcmocka-dev
- hostapd
- wpasupplicant
- tcpdump
- screen
- iw
tasks:
- name: install dependencies
apt:
name: "{{ item }}"
state: present
loop: "{{ packages }}"
- name: git clone aircrack-ng source
git:
repo: https://github.com/aircrack-ng/aircrack-ng.git
dest: /opt/aircrack-ng
version: master
- name: change dir and install
shell: autoreconf -i && ./configure --with-experimental && make && make install && ldconfig
args:
chdir: /opt/aircrack-ng
tags:
- aircrack-ng
- name: wordlists - name: wordlists
hosts: localhost hosts: localhost
connection: local connection: local