env.ctf

#!/bin/bash /ss/bin/ss.exe
<html>
    <head>
        <title>Display Environmental Variables</title>
    </head>
    <body>
<pre>
<lit>
<%
    basedir = path() + separator()
    include basedir + "env.inc"
%>
</lit>
</pre>
    </body>
</html>



==================================================
env.inc

<%
    env = env()
    keys = env.keys()
    do while keys.hasMoreElements()
        key = keys.nextElement().toString()
        println(key + " = [" + env.get(key) + "]")
    loop
%>




