Skip to content

Commit 2b63f8b

Browse files
committed
Rename exploit
1 parent 731780c commit 2b63f8b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

modules/exploits/linux/local/cve_2023_0386_overlayfs_priv_esc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ def exploit
118118

119119
if live_compile?
120120
vprint_status('Live compiling exploit on system...')
121-
upload_and_compile(exploit_path, strip_comments(exploit_source('CVE-2023-0386', 'exploit.c')), '-D_FILE_OFFSET_BITS=64 -lfuse -ldl -pthread')
121+
upload_and_compile(exploit_path, strip_comments(exploit_source('CVE-2023-0386', 'cve_2023_0386.c')), '-D_FILE_OFFSET_BITS=64 -lfuse -ldl -pthread')
122122
else
123123
vprint_status('Dropping pre-compiled exploit on system...')
124-
upload_and_chmodx(exploit_path, exploit_data('CVE-2023-0386', 'cve-2023-0386'))
124+
upload_and_chmodx(exploit_path, exploit_data('CVE-2023-0386', 'cve_2023_0386.x64.elf'))
125125
end
126126

127127
# Upload payload executable

0 commit comments

Comments
 (0)