flan-scan, flan, vulnerability scanner
448
te-flan-scan is a lightweight network vulnerability scanner (based on Cloudflare Flan https://github.com/cloudflare/flan). With te-flan-scan you can easily find open ports on your network, identify services and their version, and get a list of relevant CVEs affecting your network.
te-flan-scan is a wrapper around Nmap and a vulnerability script that turns Nmap into a complete network vulnerability scanner. te-flan-scan makes it easy to deploy Nmap locally in a container and send the results to the cloud. te-flan-scan now has the ability to run scheduled scans (in cron format)
By default te-flan-scan runs the following Nmap command:
$ nmap -sV -oX /shared/xml_files -oN - -v1 $@ --script=vulners/vulners.nse <ip-address>
To change nmap parameters you can use -e arg="<parametrs>". For example:
docker run --rm --cap-drop=all --cap-add=NET_RAW --name te-flan-scan -v "$PWD/shared:/shared:Z" -e format="html" -e arg="-p1-65535" biwis/te-flan-scan
docker pull biwis/te-flan-scan
docker run --rm --cap-drop=all --cap-add=NET_RAW --name te-flan-scan -v "$PWD/shared:/shared:Z" -e format="html" biwis/te-flan-scan
docker run --rm --cap-drop=all --cap-add=NET_RAW --name te-flan-scan -v "$PWD/shared:/shared:Z" -e format="html" -e arg="-p1-65535" biwis/te-flan-scan
this is equivalent to running the command in the container
nmap -sV -oX /shared/xml_files -oN - -v1 -p1-65535 --script=vulners/vulners.nse <ip-address>
docker run -d --cap-drop=all --cap-add=NET_RAW --name te-flan-scan -v "$PWD/shared:/shared:Z" -v "/etc/localtime:/etc/localtime:ro" -v "/etc/timezone:/etc/timezone:ro" -e format="html" -e arg="-p1-65535" -e cron_time="00 5 * * 1" biwis/te-flan-scan
version: "3.9"
services:
te-flan-scan:
image: "biwis/te-flan-scan:latest"
volumes:
- "./shared:/shared:Z"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
environment:
cron_time: "00 5 * * 1"
arg: "-p1-65535"
format: "html"
cap_drop:
- all
cap_add:
- NET_RAW
restart: on-failure
These values are in run.sh and sheduler.py of this image
format="tex" # file extension for the report
cron_time="" # crond scheduling scanning
command="/run.sh" #run command in this container
arg="" #argument for the command in this container
Content type
Image
Digest
sha256:16a9527a4…
Size
41.2 MB
Last updated
about 3 years ago
docker pull biwis/te-flan-scan