December 2017
Intermediate to advanced
364 pages
7h 30m
English
The following playbook will perform enumeration of directories used by popular web applications and servers using http-enum and finds options that are supported by an HTTP server using http-methods using Nmap scripts.
The following playbook will perform http-enum and http-methods scans against scanme.nmap.org of ports 80 and 443:
- name: Advanced NMAP Scan using NSE hosts: localhost vars: ports: - 80 - 443 scan_host: scanme.nmap.org tasks: - name: Running Nmap NSE scan shell: "nmap -Pn -p {{ ports|join(',') }} --script {{ item }} -oA nmap-{{ item }}-results-%Y-%m-%d {{ scan_host }}" with_items: - http-methods - http-enum
The following playbook ...