Skip to Content
Security Automation with Ansible 2
book

Security Automation with Ansible 2

by Akash Mahajan, MADHU AKULA
December 2017
Intermediate to advanced
364 pages
7h 30m
English
Packt Publishing
Content preview from Security Automation with Ansible 2

Nikto – web server scanner

Nikto is an open source web server assessment tool written in Perl to perform security configuration checks and web server and application scanning using its checklist of items to scan.

Some of the checks Nikto does includes the following:

  • Server and software misconfigurations
  • Default files and programs
  • Insecure files and programs
  • Outdated servers and programs

Nikto setup and execution Ansible playbook looks like the following:

- name: Nikto Playbook  hosts: scanner  remote_user: ubuntu  become: yes  vars:    domain_name: idontexistdomainnamewebsite.com # Add the domain to scan    report_name: report.html    tasks:    - name: installing pre requisuites      apt:        name: "{{ item }}"        state: present        update_cache: yes      with_items: - git ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing DevOps with Ansible 2

Implementing DevOps with Ansible 2

Jonathan McAllister
Practical Ansible 2

Practical Ansible 2

Daniel Oh, James Freeman, Fabio Alessandro Locati

Publisher Resources

ISBN: 9781788394512Supplemental Content