diff --git a/config.cfg b/config.cfg index 3f9bed7..bdfbc10 100644 --- a/config.cfg +++ b/config.cfg @@ -29,3 +29,8 @@ db=1 channelProc=CoordToProcess channelDisp=PicToDisplay pathMaxMindDB=/home/sami/Downloads/GeoLite2-City_20171003/GeoLite2-City.mmdb + +[RedisDB] +host=localhost +port=6250 +db=2 diff --git a/server.py b/server.py index 235513d..3fd1d25 100755 --- a/server.py +++ b/server.py @@ -106,6 +106,11 @@ def index(): zoomlevel=cfg.getint('Dashboard' ,'zoomlevel') ) + +@app.route("/geo") +def geo(): + return render_template('geo.html') + @app.route("/_logs") def logs(): return Response(event_stream_log(), mimetype="text/event-stream") diff --git a/templates/geo.html b/templates/geo.html new file mode 100644 index 0000000..7d1a54f --- /dev/null +++ b/templates/geo.html @@ -0,0 +1,227 @@ + + + + + + + + + + + Misp live dashboard + + + + + + + + + + + + + + + +
+ + + + + +
+
+
+
+
+
+ +
+
+
+ No map +
+
+
+
+
+ +
+
+ No map +
+
+
+
+
+ +
+
+ No map +
+
+
+
+
+
+ +
+
+
+ No map +
+
+
+
+
+ +
+
+ No map +
+
+
+
+
+ +
+
+ No map +
+
+
+
+
+
+ +
+ +
+ +
+
+ Hit map +
+
+
+
+ + +
+ +
+ +
+
+ +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/index.html b/templates/index.html index 5e04fe0..5f335d1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,7 +8,7 @@ - Misp feed dashboard + Misp live dashboard