We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45249d5 commit 0d573e1Copy full SHA for 0d573e1
modules/exploits/linux/local/glibc_origin_expansion_priv_esc.rb
@@ -223,7 +223,9 @@ def exploit
223
224
# Launch exploit
225
print_status 'Launching exploit...'
226
- output = cmd_exec "#{exp_path}&"
+ # The echo at the end of the command is required
227
+ # else the original session may die
228
+ output = cmd_exec "#{exp_path}& echo "
229
output.each_line { |line| vprint_status line.chomp }
230
end
231
0 commit comments