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 files18
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
- ↑..Parent directory
- ActivityChartBasePanel.html
- ActivityChartBasePanel.java
- ActivityPage.html
- ActivityPage.java
- DailyActivityPanel.java
- LiveActivityPanel.html
- LiveActivityPanel.java
- MonitorBasePage.java
- MonthlyActivityPanel.java
- OWSDetailsPanel.java
- OWSOverviewPanel.java
- OWSSummaryChartBasePanel.html
- OWSSummaryChartBasePanel.java
- OWSSummaryPage.html
- OWSSummaryPage.java
- ReportPage.html
- ReportPage.java
- WeeklyActivityPanel.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
extension/monitor/core/src/main/java/org/geoserver/monitor/web/OWSSummaryChartBasePanel.java
Java · 1,684 bytes/* (c) 2014 - 2016 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.monitor.web;
import java.awt.Color;
import java.util.Map;
import org.apache.wicket.markup.html.image.NonCachingImage;
import org.apache.wicket.markup.html.image.resource.BufferedDynamicImageResource;
import org.apache.wicket.markup.html.panel.Panel;
import org.geoserver.monitor.Monitor;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.data.general.DefaultPieDataset;
public abstract class OWSSummaryChartBasePanel extends Panel {
private static final long serialVersionUID = 8914945614020025223L;
protected String owsService;
public OWSSummaryChartBasePanel(String id, Monitor monitor, String owsService) {
super(id);
this.owsService = owsService;
Map<String, Integer> data = gatherData(monitor);
DefaultPieDataset dataset = new DefaultPieDataset();
for (Map.Entry<String, Integer> e : data.entrySet()) {
dataset.setValue(e.getKey(), e.getValue());
}
JFreeChart chart = ChartFactory.createPieChart(getChartTitle(), dataset, true, true, false);
chart.setBackgroundPaint(Color.WHITE);
BufferedDynamicImageResource resource = new BufferedDynamicImageResource();
resource.setImage(chart.createBufferedImage(650, 500));
add(new NonCachingImage("chart", resource));
}
protected abstract Map<String, Integer> gatherData(Monitor monitor);
protected abstract String getChartTitle();
}