Skip to content
Snippets Groups Projects
Unverified Commit 14998d30 authored by Nadin El-Yabroudi's avatar Nadin El-Yabroudi Committed by GitHub
Browse files

Update README.md

parent 4a297f93
No related branches found
No related tags found
No related merge requests found
...@@ -38,10 +38,12 @@ Custom Nmap Configuration ...@@ -38,10 +38,12 @@ Custom Nmap Configuration
By default Flan Scan runs the following Nmap command: By default Flan Scan runs the following Nmap command:
```bash ```bash
$ nmap -sV -oX $root_dir$xml_dir/$filename -oN - -v1 $@ --script=vulners/vulners.nse $line $ nmap -sV -oX /shared/xml_files -oN - -v1 $@ --script=vulners/vulners.nse <ip-address>
``` ```
The `-oX` flag adds an XML version of the scan results to the `/shared/xml_files` directory and the `-oN -` flag outputs "normal" Nmap results to the console. The `-v1` flag increases the verbosity to 1 and the `-sV` flag runs a service detection scan (aside from Nmap's default port and SYN scans). The `--script=vulners/vulners.nse` is the script that matches the services detected with relevant CVEs.
Nmap also allows you to run UDP scans and to scan IPv6 addresses. To add these and other flags to Scan Flan's Nmap command after running `make build` run the container and pass in you Nmap flags like so:
To add your own configuration to Nmap, after running `make build` run the container and pass in the Nmap arguments like so:
```bash ```bash
$ docker run -v $(shell pwd)/shared:/shared flan_scan <Nmap-flags> $ docker run -v $(shell pwd)/shared:/shared flan_scan <Nmap-flags>
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment