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:
```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:
```bash
$ sudo ansible-playbook playbooks/playbook_apt_bionic.yml
$ sudo ansible-playbook playbook_apt-utils.yml
```

View File

@ -3,31 +3,16 @@
become: true
vars:
packages:
- git
- ftp
- jq
- telnet
- netcat
- socat
- rdesktop
- nbtscan
- samba-common-bin
- smbclient
- polenum
- ldap-utils
- tmux
- vim
- golang-go
- python
- python-pip
- python3
- python3-pip
- samba
- cifs-utils
- python-scapy
- python3-scapy
- scanssh
- nmap
- zenmap
- sqlmap
- 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:
packages:
- impacket
# - pshtt
- dirhunt
- crackmapexec
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 }}"