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 files47
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
- ↑..Parent directory
- ActionTypeBinding.java
- AllSomeTypeBinding.java
- BaseRequestTypeBinding.java
- Base_TypeNameListTypeBinding.java
- DeleteElementTypeBinding.java
- DescribeFeatureTypeTypeBinding.java
- FeatureCollectionTypeBinding.java
- FeatureReferenceTypeBinding.java
- FeatureTypeListTypeBinding.java
- FeatureTypeTypeBinding.java
- FeaturesLockedTypeBinding.java
- FeaturesNotLockedTypeBinding.java
- GMLObjectTypeListTypeBinding.java
- GMLObjectTypeTypeBinding.java
- GetCapabilitiesTypeBinding.java
- GetFeatureTypeBinding.java
- GetFeatureWithLockTypeBinding.java
- GetGmlObjectTypeBinding.java
- IdentifierGenerationOptionTypeBinding.java
- InsertElementTypeBinding.java
- InsertResultTypeBinding.java
- InsertedFeatureTypeBinding.java
- LockFeatureResponseTypeBinding.java
- LockFeatureTypeBinding.java
- LockTypeBinding.java
- MetadataURLTypeBinding.java
- NativeTypeBinding.java
- OperationTypeBinding.java
- OperationsTypeBinding.java
- OutputFormatListTypeBinding.java
- PropertyTypeBinding.java
- QueryTypeBinding.java
- ResultTypeTypeBinding.java
- TransactionResponseTypeBinding.java
- TransactionResultsTypeBinding.java
- TransactionSummaryTypeBinding.java
- TransactionTypeBinding.java
- TypeNameListTypeBinding.java
- UpdateElementTypeBinding.java
- WFS.java
- WFSConfiguration.java
- WFSSchemaLocationResolver.java
- WFS_CapabilitiesTypeBinding.java
- WfsXmlReader.java
- XlinkPropertyNameBinding.java
- XmlSchemaEncoder.java
- wfs.xsd
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wfs/src/main/java/org/geoserver/wfs/xml/v1_1_0/LockTypeBinding.java
Java · 4,289 bytes/* (c) 2014 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.wfs.xml.v1_1_0;
import javax.xml.namespace.QName;
import net.opengis.wfs.LockType;
import net.opengis.wfs.WfsFactory;
import org.geotools.xsd.AbstractComplexBinding;
import org.geotools.xsd.ElementInstance;
import org.geotools.xsd.Node;
import org.opengis.filter.Filter;
/**
* Binding object for the type http://www.opengis.net/wfs:LockType.
*
* <p>
*
* <pre>
* <code>
* <xsd:complexType name="LockType">
* <xsd:annotation>
* <xsd:documentation>
* This type defines the Lock element. The Lock element
* defines a locking operation on feature instances of
* a single type. An OGC Filter is used to constrain the
* scope of the operation. Features to be locked can be
* identified individually by using their feature identifier
* or they can be locked by satisfying the spatial and
* non-spatial constraints defined in the filter.
* </xsd:documentation>
* </xsd:annotation>
* <xsd:sequence>
* <xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter"/>
* </xsd:sequence>
* <xsd:attribute name="handle" type="xsd:string" use="optional">
* <xsd:annotation>
* <xsd:documentation>
* The handle attribute allows a client application
* to assign a client-generated request identifier
* to a Lock action. The handle is included to
* facilitate error reporting. If one of a set of
* Lock actions failed while processing a LockFeature
* request, a WFS may report the handle in an exception
* report to localize the error. If a handle is not
* present then a WFS may employ some other means of
* localizing the error (e.g. line number).
* </xsd:documentation>
* </xsd:annotation>
* </xsd:attribute>
* <xsd:attribute name="typeName" type="xsd:QName" use="required">
* <xsd:annotation>
* <xsd:documentation>
* The value of the typeName attribute is the name
* of the feature type to be updated. The name
* specified must be a valid type that belongs to
* the feature content as defined by the GML
* Application Schema.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:attribute>
* </xsd:complexType>
*
* </code>
* </pre>
*
* @generated
*/
public class LockTypeBinding extends AbstractComplexBinding {
WfsFactory wfsfactory;
public LockTypeBinding(WfsFactory wfsfactory) {
this.wfsfactory = wfsfactory;
}
/** @generated */
@Override
public QName getTarget() {
return WFS.LOCKTYPE;
}
/**
*
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
@Override
public Class<LockType> getType() {
return LockType.class;
}
/**
*
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
@Override
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
LockType lock = wfsfactory.createLockType();
// <xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter"/>
if (node.hasChild(Filter.class)) {
lock.setFilter(node.getChildValue(Filter.class));
}
// <xsd:attribute name="handle" type="xsd:string" use="optional">
if (node.hasAttribute("handle")) {
lock.setHandle((String) node.getAttributeValue("handle"));
}
// <xsd:attribute name="typeName" type="xsd:QName" use="required">
lock.setTypeName((QName) node.getAttributeValue("typeName"));
return lock;
}
}