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/ScopedHandle.h
Text · 473 bytes#pragma once
class ScopedHandle
{
HANDLE g_h;
public:
ScopedHandle(HANDLE h, bool duplicate);
void Close();
void Reset(HANDLE h);
bool IsValid() const {
return (g_h != nullptr) && (g_h != INVALID_HANDLE_VALUE);
}
ScopedHandle(const ScopedHandle& other);
ScopedHandle& operator=(const ScopedHandle& other);
ScopedHandle(ScopedHandle&& other);
ScopedHandle& operator=(ScopedHandle&& other);
operator HANDLE() const {
return g_h;
}
~ScopedHandle();
};