index.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <!DOCTYPE html>
  2. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="style" content="day1"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  7. <!--
  8. Copyright 2021, 2024 5 Mode
  9. This file is part of Http Console.
  10. Http Console is free software: you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation, either version 3 of the License, or
  13. (at your option) any later version.
  14. Http Console is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. GNU General Public License for more details.
  18. You should have received a copy of the GNU General Public License
  19. along with Http Console. If not, see <https://www.gnu.org/licenses/>.
  20. -->
  21. <title>Http Console: Ubiquity c'est la vie..</title>
  22. <link rel="shortcut icon" href="HCres/favicon.ico" />
  23. <meta name="description" content="Welcome to Http Console"/>
  24. <meta name="author" content="5 Mode"/>
  25. <meta name="keywords" content="http,web,console,terminal,emulator,wrapper"/>
  26. <script src="/HCjs/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="/HCjs/HC_common.js" type="text/javascript"></script>
  28. <script src="/HCjs/bootstrap.min.js" type="text/javascript"></script>
  29. <script src="/HCjs/sha.js" type="text/javascript"></script>
  30. <script src="/HCjs/HC.js" type="text/javascript" defer></script>
  31. <link href="/HCcss/bootstrap.min.css" type="text/css" rel="stylesheet">
  32. <link href="/HCcss/style.css?v=8831827555" type="text/css" rel="stylesheet">
  33. <script>
  34. function hideTitle() {
  35. $("#myh1").hide("slow");
  36. }
  37. function startApp() {
  38. $("#HCsplash").css("display","none");
  39. $("#frmHC").show();
  40. //$("#originsDisplay").show();
  41. }
  42. function _startApp() {
  43. setTimeout("startApp()", 1000);
  44. }
  45. function setOriginsPos() {
  46. h=parseInt(window.innerHeight);
  47. w=parseInt(window.innerWidth);
  48. mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
  49. $("#originsDisplay").css("top", mytop+"px");
  50. setTimeout("hideOrigins()",15000);
  51. }
  52. function hideOrigins() {
  53. $("#originsDisplay").css("visibility","hidden");
  54. }
  55. window.addEventListener("load", function() {
  56. $("#frmHC").hide();
  57. setTimeout("setOriginsPos()", 500);
  58. //Splash
  59. $("#HCsplash").show();
  60. }, true);
  61. window.addEventListener("load", function() {
  62. setTimeout("_startApp()", 6000);
  63. });
  64. </script>
  65. </head>
  66. <body>
  67. <div id="HCsplash" style="padding-top: 200px; text-align:center;display:none;">
  68. <img src="/HCres/hcsplash.gif" style="width:310px;">
  69. </div>
  70. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  71. <div class="header">
  72. <a href="/" style="color:white; text-decoration: none;"><img src="/HCres/hclogo.png" style="width:48px;">&nbsp;Http Console</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/HttpConsole" style="color:#ffffff"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:code@gaox.io" style="color:#ffffff"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:white;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
  73. </div>
  74. <div style="clear:both; float:left; padding:8px; width:15%; height:700px; border-right: 1px solid #2c2f34; text-align:center;">
  75. <div style="padding-left:10px;text-align: left;">
  76. <a href="https://github.com/par7133/HttpConsole/archive/refs/tags/v1.2.8.zip">Rel. 1.2.8 (zip)</a><br>
  77. <a href="https://github.com/par7133/HttpConsole/archive/refs/tags/v1.2.8.tar.gz">Rel. 1.2.8 (tar.gz)</a><br>
  78. </div>
  79. <br><br>
  80. <img src="/HCres/HCgenius.png" alt="HC Genius" title="HC Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  81. &nbsp;<br><br><br>
  82. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" value="" autocomplete="off"><br>
  83. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
  84. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#ffffff; font-size:12px;">Hash Me!</a>
  85. <br><br><br>
  86. </div>
  87. <div style="float:left; width:85%;height:100%; padding:8px;">
  88. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #33aced; padding: 20px; margin-bottom:8px;">
  89. <button type="button" class="close" aria-label="Close" onclick="" style="position:relative; left:-10px;">
  90. <span aria-hidden="true">&times;</span>
  91. </button>
  92. Hello and welcome to Http Console!<br><br>
  93. Http Console is a light and simple web console to manage your website.<br><br>
  94. Http Console is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  95. First step, use the left side panel password and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
  96. As you are going to run Http Console in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
  97. <ol>
  98. <li>Create a "stage" folder in your web app path; give to the stage folder the write permissions; and set the stage path in the config file.</li>
  99. <li>In the stage path create a ".HCsampledir" folder and give to this folder the write permission. This folder will be the sample folder to copy from new folders inside the stage path.</li>
  100. <li>Likewise, in the stage path create an empty ".HCsamplefile" and give to this file the write permission. This file will be the sample file to copy from new files inside the stage path.</li>
  101. <li>Configure the max history items and max recall history items as required (default: 50).</li>
  102. </ol>
  103. <br>
  104. Http Console understands a limited set of commands with a far limited set of parameters:<br>
  105. cd, cd.., cp, cp -p, cp -R, help, ls, ls -lsa, mv, pwd<br><br>
  106. Feedback: <a href="mailto:code@gaox.io" style="color:#e6d236;">code@gaox.io</a>
  107. <br><br><br>
  108. </div>
  109. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  110. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  111. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  112. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  113. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  114. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  115. </div>
  116. <div id="originsDisplay">
  117. <br>
  118. &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>
  119. &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
  120. &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
  121. <br>
  122. </div>
  123. <div class="footer">
  124. <div id="footerCont">&nbsp;</div>
  125. <div id="footer"><span style="background:#FFFFFF;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="https://5mode.com/dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. CC</span></div>
  126. </div>
  127. </form>
  128. </body>
  129. </html>