Exploit databaseDownload repository ZIP
GH-99fccf23bc7207e7d8d767b0b2ec34ab
86x/cve-2023-32353-poc
Sources for CVE-2023-32353
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files26
86x/cve-2023-32353-pocRevision 86042c935c0f
- ↑..Parent directory
- Debug/
- Release/
- x64/
- CommonUtils.cpp
- CommonUtils.h
- CommonUtils.vcxproj
- CommonUtils.vcxproj.filters
- CommonUtils.vcxproj.user
- DirectoryObject.cpp
- FileOpLock.cpp
- FileOpLock.h
- FileSymlink.cpp
- FileSymlink.h
- Hardlink.cpp
- LICENSE.txt
- NativeSymlink.cpp
- RegistrySymlink.cpp
- ReparsePoint.cpp
- ReparsePoint.h
- ScopedHandle.cpp
- ScopedHandle.h
- ntimports.h
- stdafx.cpp
- stdafx.h
- targetver.h
- typed_buffer.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
CommonUtils/ReparsePoint.h
Text · 1,192 bytes#pragma once
#include <string>
#include <vector>
class ReparsePoint
{
public:
static bool CreateMountPoint(const std::wstring& path, const std::wstring& target, const std::wstring& printname);
static bool DeleteMountPoint(const std::wstring& path);
static std::wstring GetMountPointTarget(const std::wstring& path);
static bool CreateRawMountPoint(const std::wstring& path, DWORD reparse_tag, const std::vector<BYTE>& buffer);
static bool IsMountPoint(const std::wstring& path);
static bool IsSymlink(const std::wstring& path);
static bool ReadMountPoint(const std::wstring& path, std::wstring& target, std::wstring& printname);
static bool ReadSymlink(const std::wstring& path, std::wstring& target, std::wstring& printname, unsigned int* flags);
static bool ReadRaw(const std::wstring& path, unsigned int* reparse_tag, std::vector<BYTE>& raw_data);
static bool IsReparsePoint(const std::wstring& path);
static bool CreateSymlink(const std::wstring& path, const std::wstring& target, const std::wstring& printname, bool relative);
static bool CreateSymlink(HANDLE h, const std::wstring& target, const std::wstring& printname, bool relative);
static int GetLastError();
};