December 2017
Intermediate to advanced
364 pages
7h 30m
English
The following playbook will set up the VirusTotal API tool (https://github.com/doomedraven/VirusTotalApi), which is officially supported in the VirusTotal page itself:
- name: setting up VirusTotal hosts: malware remote_user: ubuntu become: yes tasks: - name: installing pip apt: name: "{{ item }}" with_items: - python-pip - unzip - name: checking if vt already exists stat: path: /usr/local/bin/vt register: vt_status - name: downloading VirusTotal api tool repo unarchive: src: "https://github.com/doomedraven/VirusTotalApi/archive/master.zip" dest: /tmp/ remote_src: yes when: vt_status.stat.exists == False - name: installing the dependencies pip: requirements: /tmp/VirusTotalApi-master/requirements.txt when: ...