stuff changed

bionic
trevorbryant 2019-04-01 21:53:53 -04:00
parent da275745d5
commit 01155ef076
5 changed files with 42 additions and 18 deletions

View File

@ -25,10 +25,10 @@ $ apt -y install python-apt
Perform a dry run: Perform a dry run:
```bash ```bash
$ sudo ansible-playbook playbooks/playbook_apt_bionic.yml --check $ sudo ansible-playbook playbook_apt-utils.yml --check
``` ```
Run playbook and install tools to localhost: Run playbook and install tools to localhost:
```bash ```bash
$ sudo ansible-playbook playbooks/playbook_apt_bionic.yml $ sudo ansible-playbook playbook_apt-utils.yml
``` ```

View File

@ -3,31 +3,16 @@
become: true become: true
vars: vars:
packages: packages:
- git
- ftp
- jq
- telnet
- netcat
- socat
- rdesktop
- nbtscan - nbtscan
- samba-common-bin - samba-common-bin
- smbclient - smbclient
- polenum - polenum
- ldap-utils - ldap-utils
- tmux
- vim
- golang-go
- python
- python-pip
- python3
- python3-pip
- samba - samba
- cifs-utils - cifs-utils
- python-scapy - python-scapy
- python3-scapy - python3-scapy
- scanssh - scanssh
- nmap
- zenmap - zenmap
- sqlmap - sqlmap
- dnsrecon - dnsrecon

26
playbook_apt-utils.yml Normal file
View File

@ -0,0 +1,26 @@
- hosts: localhost
connection: local
become: true
vars:
packages:
- git
- ftp
- jq
- telnet
- netcat
- socat
- rdesktop
- tmux
- vim
- golang-go
- python
- python-pip
- python3
- python3-pip
- nmap
tasks:
- name: install deb packages
apt:
name: "{{ item }}"
state: present
loop: "{{ packages }}"

View File

@ -4,7 +4,6 @@
vars: vars:
packages: packages:
- impacket - impacket
# - pshtt
- dirhunt - dirhunt
- crackmapexec - crackmapexec
tasks: tasks:

14
playbook_pip3-sec.yml Normal file
View File

@ -0,0 +1,14 @@
- hosts: localhost
connection: local
become: true
vars:
packages:
- pshtt
tasks:
- name: install pip3 packages
pip:
name: "{{ item }}"
executable: pip3
state: present
extra_args: --upgrade
loop: "{{ packages }}"