ok

Mini Shell

Direktori : /proc/self/root/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/ruby-lsapi-5.2/examples/
Upload File :
Current File : //proc/self/root/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/ruby-lsapi-5.2/examples/testlsapi.rb

#!/opt/alt/ruby23/bin/ruby

require 'lsapi'

$count = 0;

while LSAPI.accept != nil
	print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\nHello World! \##{$count}<br>\r\n"
	ENV.each_pair {|key, value| print "#{key} is #{value}<br>\r\n" }
	$count = $count + 1
end

Zerion Mini Shell 1.0