Exploit databaseDownload repository ZIP
GH-9a017fa45abc7e1f8f6ba6e1285cae54
iplayforsg/cve-2023-51444
Sources for CVE-2023-51444
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files2
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
community/gsr/src/main/resources/demos/dynamic_map_layer.html
HTML · 2,318 bytes<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>MapImageLayer - create dynamic map layers - 4.5</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.5/esri/css/main.css">
<script src="https://js.arcgis.com/4.5/"></script>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
#info-div {
background-color: white;
border-radius: 8px;
padding: 8px;
opacity: 0.92;
}
</style>
<script>
require(["esri/config"], function (esriConfig) {
esriConfig.request.corsEnabledServers.push("localhost:8080");
});
require([
"esri/Map",
"esri/views/MapView",
"esri/layers/MapImageLayer",
"esri/widgets/Legend",
"dojo/domReady!"
], function (Map, MapView, MapImageLayer, Legend) {
var layer = new MapImageLayer({
url: "https://demo-master.boundlessgeo.com/geoserver/gsr/services/topp/MapServer",
title: "Census Demographics"
});
/*****************************************************************
* Add the layer to a map
*****************************************************************/
var map = new Map({
layers: [layer]
});
var view = new MapView({
container: "viewDiv",
map: map,
extent: { // autocasts as new Extent()
xmin: -124.73142200000001,
ymin: 24.955967,
xmax: -66.969849,
ymax: 49.371735,
spatialReference: 4326
}
});
});
</script>
</head>
<body>
<div id="viewDiv"></div>
<div id="info-div">
Select a demographic variable<br><br>
<select id="layer-select">
<option value="0">Population density</option>
<option value="1" selected>Renter occupied units</option>
<option value="2">Median age</option>
</select>
</div>
</body>
</html>