KO
|
EN
gitlite — search
Search
#javascript
#java
#python
#php
#chrome-extension
#ruby
#android
#cakephp
#css
#node
#jekyll
#website
CVE-2022-30206
★ 73
Open GitHub ↗
Exploit for CVE-2022-30206
Download README (.md)
Explore Similar Repositories
containers
:
Automated privilege escalation of the world's most popular Docker images.
The-Python-Workshop-Second-Edition
:
The Python Workshop - Second Edition, published by Packt
message-exploit
:
:trollface: Collection of text exploits / hacks
MultiDocumenter.jl
:
Aggregating all the docs
polyu
:
PolyU Msc in IT
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CVE-2022-30206
?
Download (.md)
# CVE-2022-30206 This is the PoC for CVE-2022-30206. ## Introduction Perform the following operations to arbitrary file deletion: 1. Run the `addprinter.exe` to create a printer and set the SpoolDirectory in `C:\Users\Public\tmp\1`. 2. Run the `FileLock.exe TargetFile` to redirect .SHD file to TargetFile and set a oplock on TargetFile. 3. Run the `openprinter.exe` to make the printer work, which will trigger the oplock, then release the oplock, the TargetFile will be deleted.  ## PS 1. This PoC needs to be combined with some other tricks(such as <https://github.com/thezdi/PoC/tree/master/FilesystemEoPs>) to make arbitrary file deletion to achieve EoP 2. If the execution is not successful at one time, you need to modify the .SHD filename of the FileLock's main.cpp. Normally, the file id is incremented by two each time after a print job, please try 00005.SHD、00007.SHD…