add slither. Add alternative slither install and manticore install via eth-security-toolbox https://gitlab.com/shopglue/ziion-tools/-/issues/5
This commit is contained in:
parent
096fdf8f8f
commit
a8756b55a4
|
@ -14,6 +14,7 @@
|
||||||
- sol2uml
|
- sol2uml
|
||||||
- solc
|
- solc
|
||||||
- solc-select
|
- solc-select
|
||||||
|
- slither
|
||||||
- brownie
|
- brownie
|
||||||
- manticore
|
- manticore
|
||||||
- mythril
|
- mythril
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
- name: Create manticore
|
||||||
|
community.docker.docker_container:
|
||||||
|
name: eth-security-toolbox
|
||||||
|
image: trailofbits/eth-security-toolbox
|
||||||
|
state: started
|
||||||
|
restart: true
|
||||||
|
|
3
ansible/roles/eth-security-toolbox/tasks/main.yml
Normal file
3
ansible/roles/eth-security-toolbox/tasks/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- import_tasks: install-via-docker.yml
|
||||||
|
tags: install-via-docker
|
7
ansible/roles/slither/tasks/install-via-docker.yml
Normal file
7
ansible/roles/slither/tasks/install-via-docker.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
- name: Create slither
|
||||||
|
community.docker.docker_container:
|
||||||
|
name: slither
|
||||||
|
image: trailofbits/eth-security-toolbox
|
||||||
|
state: started
|
||||||
|
restart: true
|
||||||
|
# not going to use it with all the extra baggage
|
4
ansible/roles/slither/tasks/install-via-pip.yml
Normal file
4
ansible/roles/slither/tasks/install-via-pip.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
- name: Install slither python package
|
||||||
|
ansible.builtin.pip:
|
||||||
|
name: slither-analyzer==0.8.3
|
||||||
|
state: present
|
6
ansible/roles/slither/tasks/main.yml
Normal file
6
ansible/roles/slither/tasks/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- import_tasks: install-via-pip.yml
|
||||||
|
tags: install-via-pip
|
||||||
|
|
||||||
|
#- import_tasks: install-via-docker.yml
|
||||||
|
# tags: install-via-docker
|
Loading…
Reference in a new issue