diff --git a/README.md b/README.md index 2d3e327..07a5671 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,16 @@ A Web Dashbord for Nmap XML Report ## Usage You should use this with docker, just by sending this command: ```bash -$ mkdir /tmp/webmap -$ docker run -d \ - --name webmap \ - -h webmap \ - -p 8000:8000 \ - -v /tmp/webmap:/opt/xml \ - rev3rse/webmap - -$ # now you can run Nmap and save the XML Report on /tmp/webmap -$ nmap -sT -A -T4 -oX /tmp/webmap/myscan.xml 192.168.1.0/24 +$ cd /opt +$ git clone https://github.com/Hamza-Megahed/WebMap.git +$ cd WebMap/docker +$ docker build -t webmap:latest . +$ docker run -d --name webmap -v /opt/WebMap/docker/xml:/opt/xml -p 8000:8000 webmap:latest + +# now you can run Nmap and save the XML Report on /opt/WebMap/docker/xml +$ nmap -sT -A -T4 -oX /opt/WebMap/docker/xml/myscan.xml 192.168.1.0/24 ``` + Now point your browser to http://localhost:8000 ### Generate new token @@ -71,14 +70,10 @@ but if you need it you can find all building steps inside the [Dockerfile](https ## Video The HTML template changes often. This video could not be up to date with the latest version. -Version v2.3:
-coming soon...

HackerSploit Video about WebMap v2.2:
[![HackerSploit](https://img.youtube.com/vi/SoEIDNnOCGY/0.jpg)](https://www.youtube.com/watch?v=SoEIDNnOCGY)
-Official Video of v2.1:
-[![WebMap v2.1](https://img.youtube.com/vi/TujtG1Ki0TQ/0.jpg)](https://www.youtube.com/watch?v=TujtG1Ki0TQ) ## Features diff --git a/docker/Dockerfile b/docker/Dockerfile index 33311cc..5aec7c7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,12 +1,12 @@ # WebMap # - -# https://github.com/Rev3rseSecurity/WebMap +# https://github.com/Hamza-Megahed/WebMap # Rev3rse Security: https://www.youtube.com/rev3rsesecurity # Author: theMiddle # - # Usage: # $ cd /opt -# $ git clone https://github.com/Rev3rseSecurity/WebMap.git +# $ git clone https://github.com/Hamza-Megahed/WebMap.git # $ cd WebMap/docker # $ docker build -t webmap:latest . # $ docker run -d -v /opt/WebMap/docker/xml:/opt/xml -p 8000:8000 webmap:latest @@ -22,7 +22,7 @@ FROM ubuntu:latest ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages \ - python3 python3-pip curl wget git wkhtmltopdf libssl1.0-dev vim nmap tzdata + python3 python3-pip curl wget git wkhtmltopdf libssl-dev vim nmap tzdata RUN mkdir /opt/xml && mkdir /opt/notes && \ wget -P /opt/ https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && \ @@ -30,12 +30,12 @@ RUN mkdir /opt/xml && mkdir /opt/notes && \ RUN pip3 install Django requests xmltodict && \ cd /opt/ && django-admin startproject nmapdashboard && cd /opt/nmapdashboard && \ - git clone https://github.com/Rev3rseSecurity/WebMap.git nmapreport && \ + git clone https://github.com/Hamza-Megahed/WebMap.git nmapreport && \ cd nmapreport && git checkout v2.3/master COPY settings.py /opt/nmapdashboard/nmapdashboard/ COPY urls.py /opt/nmapdashboard/nmapdashboard/ -COPY vimrc /root/.vimrc +# COPY vimrc /root/.vimrc COPY tzdata.sh /root/tzdata.sh COPY startup.sh /startup.sh