Giter Site home page Giter Site logo

sabyasachirana / webmap Goto Github PK

View Code? Open in Web Editor NEW
919.0 919.0 250.0 961 KB

WebMap-Nmap Web Dashboard and Reporting

License: GNU General Public License v3.0

Python 64.29% Dockerfile 1.28% Shell 0.23% Lua 2.11% JavaScript 11.33% CSS 1.23% HTML 19.52%
cve cybersecurity infosec nmap webmap

webmap's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webmap's Issues

docker pull failing

running the command:
docker pull reborntc/webmap

results in the following error:
Error response from daemon: manifest for reborntc/webmap:latest not found: manifest unknown: manifest unknown

Change of username

Because of the change of the GitHub username, from Rev3seSecurity to SabyasachiRana, trying to build from the docker file fails (ie. it's trying to clone a non-existent repo).

how to import an nmap xml file

First I run:

sudo docker run -d --name webmap4 -h webmap -p 8000:8000 -v /tmp/webmap:/opt/xml reborntc/webmap

This would seem to indicate that /tmp/webmap on my host OS will be mounted to /opt/xml inside the docker image. However when I drop an nmap.xml file into /tmp/webmap the docker webapp doesn't load/parse it?

Thoughts?

"+" button should be clickable

Specifically this button
image

When you click it, it expands the sidebar

image

But then if you click it again, it moves a little but does not open the new scan dialog

Invalid Token

Generate a new token with:
docker exec -ti webmap /root/token

  1. after docker image build, also need run: chmod +x /opt/nmapdashboard/nmapreport/token.py otherwise /root/token return "Permission denied".
  2. After token generation I have still receive error about wrong token.

root@c0e56bc65d19:# cat /root/token.sha256
4b1015c1b1f8cd597286a38e692760b86f44a5d8d3d7ae818b2648a1d0f8c7a1root@c0e56bc65d19:
#

Parse multiple files

Hi

How can I parse multiple XML files with this? I don't see any option for that. I have multiple XMLs that I want to parse/merge into one so the report gets a bit better.

PDF Export

hi, i tried the docker and works, but ... when i try to generate the pdf, i get an exception

KeyError at /view/pdf/'@reason'Request Method:GETRequest URL:http://127.0.0.1:8000/view/pdf/Django Version:3.0.3Exception Type:KeyErrorException Value:'@reason'Exception Location:/opt/nmapdashboard/nmapreport/pdf.py in reportPDFView, line 94Python Executable:/usr/bin/python3Python Version:3.6.9Python Path:['/opt/nmapdashboard', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages']Server time:Fri, 20 Mar 2020 18:39:45 +0000 

Am not a python fun so i don't know what is happening.

And.... this is not an issue just an additional feature... import scans...

Kind Regards!

PDF-Export broken

Hello!
I get a KeError at /view/pdf, when trying to create a PDF-Report.
Is this feature broken?
I am using the docker-container.
Everything else seems to work fine.

Cheers
Niko

Cannot start docker container

I get the next error when i try to start the container:
standard_init_linux.go:211: exec user process caused "exec format error"

I'm trying to start the container on a raspberry pi 3 b+

KeyError for cveobj['references'] in cve.py

First things first,
Awesome piece of software! it helps me a lot and saves me a lot of time, as long as it works fully as expected, but does not.

File:

root@webmap:/opt/nmapdashboard/nmapreport/nmap# cat cve.py
...
line 80: r.=.requests.get('http://cve.circl.lu/api/cvefor/'+cpestr)t()
...

there is 2x API reference, unfortunately "cvefor" doesn't work, as below

blaise@dev:~/app$ curl -k -X 'GET'   'https://cve.circl.lu/api/cvefor/cpe%3A2.3%3Ao%3Amicrosoft%3Awindows_11%3A-%3A*%3A*%3A*%3A*%3A*%3Ax64%3A*?limit=20'   -H 'accept: application/json'
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache Server at cve.circl.lu Port 443</address>
</body></html>

I launched the whole project (cve search docker) locally, changed the addresses to my own (localhost)

and now the "CHECK FOR CVE AND EXPLOITS" function works, at the bottom of the page you can see: (222 CVE FOUND) but when I click to enable preview, I get an error from django:


KeyError at /report/192.168.16.147/
'references'
...

				elif type(i) is dict:
					listcve = [i]
					#cveout += 'dict<hr>'
				#continue
				for cveobj in listcve:
					cverefout = ''
					for cveref in cveobj['references']: …
						cverefout += '<a href="'+cveref+'">'+cveref+'</a><br>'
					cveexdbout = ''
					if 'exploit-db' in cveobj:
						cveexdbout = '<br><div class="small" style="line-height:20px;"><b>Exploit DB:</b><br>'
						for cveexdb in cveobj['exploit-db']:

'references' contains a list of urls

webmap

Loop Popup Nmap scan done

Hoi

i started Nmap scan on a /24 now it popups Nmap scan done
there is no way to cancel the scan restart de scan etc how to solve this

Chris

vimrc not found & token permission denied

I built the docker after cloning this repo. I got a couple of errors easy to fix.

  1. In Dockerfile line 40: there is no vimrc file to copy.
  2. When I try to generate a token: the /opt/nmapdashboard/nmapreport/token.py is not executable and I get a permission denied. chmod +x /opt/nmapdashboard/nmapreport/token.py should fix it.

CVE

It does not seem to be finding CVE's when I click on the link.

Package 'libssl1.0-dev'

"E:Package 'libssl1.0-dev' has no installation candidate"

i run webmap docker build ($ docker build -t webmap:latest ) in kali and ubuntu in both I got above error
too i install Package 'libssl1.0-dev' package

Nmap scan command syntax should happen before the dialog box is closed

When you try to create a new scan
image

But there's some error in your parameters

image

It will error out and close the dialog

Now you have to type in everything again, and it makes iterating harder than necessary.

(and if anyone can point out my error here, I can't get this to work at all unfortunately)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.