Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files54
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- CAggregSet.cs
- CAggregSortKey.cs
- CAggregSpec.cs
- CBaseStorageVariant.cs
- CCategSpec.cs
- CCategorizationSet.cs
- CCategorizationSpec.cs
- CCoercionRestriction.cs
- CColumnGroup.cs
- CColumnGroupArray.cs
- CColumnSet.cs
- CContentRestriction.cs
- CDbColId.cs
- CDbProp.cs
- CDbPropSet.cs
- CFeedbackRestriction.cs
- CFullPropSpec.cs
- CInGroupSortAggregSets.cs
- CInternalPropertyRestriction.cs
- CNatLanguageRestriction.cs
- CNodeRestriction.cs
- CPidMapper.cs
- CProbRestriction.cs
- CPropertyRestriction.cs
- CRangeCategSpec.cs
- CRelDocRestriction.cs
- CRestriction.cs
- CRestrictionArray.cs
- CReuseWhere.cs
- CRowSeekAt.cs
- CRowSeekAtRatio.cs
- CRowSeekByBookmark.cs
- CRowSeekNext.cs
- CRowsetProperties.cs
- CScopeRestriction.cs
- CSort.cs
- CSortAggregSet.cs
- CSortSet.cs
- CTableColumn.cs
- CTableVariant.cs
- CVectorRestriction.cs
- DECIMAL.cs
- RANGEBOUNDARY.cs
- SAFEARRAY.cs
- SAFEARRAYBOUND.cs
- SERIALIZEDPROPERTYVALUE.cs
- SProperty.cs
- VT_BLOB.cs
- VT_BLOB_OBJECT.cs
- VT_BSTR.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-WSP/Structures/CNatLanguageRestriction.cs
C# · 1,825 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Wsp
{
/// <summary>
/// The CNatLanguageRestriction structure contains a natural language query match for a property.
/// Natural language simply means that the string has no formal meaning.
/// The GSS is free to match on the string in a variety of ways.
/// It can drop words, add alternate forms, or make no changes.
/// </summary>
public struct CNatLanguageRestriction : IWspRestriction
{
/// <summary>
/// A CFullPropSpec structure. This field indicates the property on which to perform the match operation.
/// </summary>
public CFullPropSpec _Property;
/// <summary>
/// A 32-bit unsigned integer. The number of characters in the _pwcsPhrase field.
/// </summary>
public uint Cc;
/// <summary>
/// A non-null-terminated Unicode string containing the text to search for within the specific property.
/// MUST NOT be empty. The Cc field contains the length of the string.
/// </summary>
public string _pwcsPhrase;
/// <summary>
/// A 32-bit unsigned integer indicating the locale of _pwcsPhrase, as specified in [MS-LCID].
/// </summary>
public uint Lcid;
public void FromBytes(WspBuffer buffer)
{
throw new NotImplementedException();
}
public void ToBytes(WspBuffer buffer)
{
_Property.ToBytes(buffer);
buffer.Add(Cc, 4);
buffer.AddUnicodeString(_pwcsPhrase, false);
buffer.Add(Lcid, 4);
}
}
}