Skip to content

Commit 731780c

Browse files
committed
Formatting
1 parent 9e832eb commit 731780c

File tree

1 file changed

+2
-2
lines changed

1 file 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', 'exploit.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'))
125125
end
126126

127127
# Upload payload executable

0 commit comments

Comments
 (0)