MatthewClarkMay / geoip-attack-map

Cyber security geoip attack map that follows syslog and parses IPs/port numbers to visualize attackers in real time.
Apache License 2.0
353 stars 203 forks source link

how can I make a same map just use my own token #5

Closed zaxfenfeiyu closed 7 years ago

zaxfenfeiyu commented 7 years ago

I build the map in my server some days. But yesterday,I find the token have some problems. It seems the token is out of time. How can I use Mapbox and get a map same as yours with my own token. Thanks!

amassi-network commented 7 years ago

reponse is here i think https://github.com/MatthewClarkMay/geoip-attack-map/issues/4

ToxicRoot commented 7 years ago

you need to adapt with your data this portion of code in AttackMapServer/index.html:

// link map L.mapbox.accessToken = "pk.eyJ1IjoibW1heTYwMSIsImEiOiJjaWgyYWU3NWQweWx2d3ltMDl4eGk5eWY1In0.9YoOkALPP7zaoim34ZITxw"; var map = L.mapbox.map("map", "mmay601.p9if994e", { center: [0, 0], // lat, long zoom: 2 });

diegodblr commented 7 years ago

Here I use 3 options: mapbox.satellite, mapbox.streets or mapbox.dark.

var map = L.mapbox.map("map", "mapbox.satellite", {

zaxfenfeiyu commented 7 years ago

Thank you!