Advertisement
H4T3D

Online Sql Bar with Online Proxy Web Browser - H4T3D

Sep 11th, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.06 KB | None | 0 0
  1. <?php
  2. ##########################################################################
  3. #Demo : http://openfbdns.webuda.com/sql-bar-and-proxy-web-browser.php
  4. #Only For Educational Purposes
  5. #Proxy Web browser
  6. #Sql Bar
  7. #############################################################################
  8.  
  9. @ini_set('output_buffering',0);
  10. @ini_set('display_errors', 0);
  11. $text = $_POST['code'];
  12.  
  13. ?>
  14. <?php
  15. $submit = $_POST['submit'];
  16. if (isset($submit)){
  17. $op = $_POST["ope"];
  18. switch ($op) {
  19. case 'base64': $codi=base64_encode($text);
  20. break;case 'str' : $codi=(base64_encode(str_rot13(gzdeflate(str_rot13($text)))));
  21. break;case 'json' : $codi=json_encode(utf8_encode($text));
  22. break;case 'gzinflate' : $codi=base64_encode(gzdeflate(str_rot13($text)));
  23. break;case 'gzinflater' : $codi=base64_encode(str_rot13(gzdeflate($text)));
  24. break;case 'gzinflatex' : $codi=base64_encode(gzdeflate(str_rot13(gzdeflate($text))));
  25. break;case 'gzinflatew' : $codi=base64_encode(gzdeflate(str_rot13(rawurlencode(gzdeflate(convert_uuencode(base64_encode(str_rot13(gzdeflate(convert_uuencode(rawurldecode(str_rot13($text))))))))))));
  26. break;case 'gzinflates' : $codi=base64_encode(gzdeflate($text));
  27. break;case 'str2' : $codi=base64_encode(str_rot13($text));
  28. break;case 'urlencode' : $codi=rawurlencode($text);
  29. break;case 'ur' : $codi=convert_uuencode($text);
  30. break;case 'url' : $codi=base64_encode(gzdeflate(convert_uuencode(str_rot13(gzdeflate(base64_encode($text))))));
  31. break;
  32. default:case'simple':$codi=$text;
  33. }
  34. }
  35.  
  36. $html = htmlentities(stripslashes($codi));
  37.  
  38.  
  39.  
  40. ?>
  41.  
  42.  
  43. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  44. <html xmlns="http://www.w3.org/1999/xhtml">
  45.     <head>
  46.         <title>Test Layout</title>
  47.        <link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
  48.  
  49. <style>
  50.  
  51. body, html {
  52. width:100% ;
  53. height:100% ;
  54. overflow:scroll;
  55. //background: #212C43;
  56. font-family: 'Orbitron', sans-serif;
  57.  
  58. }
  59.  
  60. iframe {
  61.     width:100% ;
  62.         height:80% ;
  63.         border:none;
  64.     scroll;
  65. }
  66.  
  67. select,h3,fieldset {
  68.         width:80%;
  69.         border:2px solid red;
  70.         font-family: 'Orbitron', sans-serif;
  71.  
  72. }
  73.  
  74. textarea{
  75.     font-family: monospace;
  76.     border-color: rgb(169, 169, 169);
  77.     margin: 0px; width: 892px; height: 195px;
  78.     border:4px solid #33CCFF;
  79.  
  80. }
  81.  
  82.  
  83. #frm1{
  84. }
  85. #frm2{
  86.    
  87. }
  88.  
  89.  
  90. #searchbar{
  91.  
  92. width:80% ;
  93. height:80% ;
  94. border:4px solid #33CCFF;
  95.  
  96. }
  97.  
  98. #submit{
  99.         color: 3300FF;
  100.         border:4px solid #33CCFF;
  101.         font-family: 'Orbitron', sans-serif;
  102. }
  103.  
  104. #sidebar { float:left; width:150px; background-color:#ccc; min-height:171px; }
  105.  
  106.  
  107. </style>
  108.     </head>
  109.    
  110. <body>
  111. <center>
  112. <h1>0nline Sql Bar + Pr0xy WebBrowser - H4T3D</h1>
  113. <tr><td><font size="2">
  114. <a href="#" onClick="history.go(-1); return false;" >[GO BACK]</a>
  115. <a href="javascript:alert('This is Purley For Eductional Purposes\nUse at you Own risk !\Coded By H4T3D')">[ABOUT]</a>
  116. <a href="#" onClick="history.go(1); return false;" >[GO FOWARD]</a>
  117. <tr><td width=650 style="height: 1px;" bgcolor="black"></td></tr>
  118.  
  119.  
  120.  
  121. <form method="POST" id="frm1">
  122. <fieldset>
  123. <legend>ENCODE URL</legend>
  124. <select class='inputz' size="1" name="ope">
  125. <option value="simple">-Select Type To Encode-</option>
  126. <option value="urlencode">url</option>
  127. <option value="base64">Base64</option>
  128. <option value="ur">convert_uu</option>
  129. <option value="json">json</option>
  130. <option value="gzinflates">gzinflate - base64</option>
  131. <option value="str2">str_rot13 - base64</option>
  132. <option value="gzinflate">str_rot13 - gzinflate - base64</option>
  133. <option value="gzinflater">gzinflate - str_rot13 - base64</option>
  134. <option value="gzinflatex">gzinflate - str_rot13 - gzinflate - base64</option>
  135. <option value="gzinflatew">str_rot13 - convert_uu - url - gzinflate - str_rot13 - base64 - convert_uu - gzinflate - url - str_rot13 - gzinflate - base64</option>
  136. <option value="str">str_rot13 - gzinflate - str_rot13 - base64</option>
  137. <option value="url">base64 - gzinflate - str_rot13 - convert_uu - gzinflate - base64</option>
  138. </select>
  139. <legend>
  140. <input type="text" class='inputz' name="code" size="80" value="<?php echo $html;?>">
  141. <input type="submit" value="Go" class="url-input url-button" name="submit" id="submit">  
  142. </fieldset>
  143. <br></br>
  144. </form>
  145.  
  146. <fieldset>
  147.  
  148. <form action="http://12345proxy.info/includes/process.php?action=update" method="post" onsubmit="return updateLocation(this);" target="browser"  id="frm2">
  149.  
  150.       <p>
  151.          
  152.          <legend><b>URL COMPOSER:</b></legend>
  153.  
  154.       </p>
  155. <div id="sidebar">
  156. <a href="#" onClick="addid()" >[ ID ]</a>
  157. <script type="text/javascript">
  158.     function addid() {
  159.         clicks += 1;
  160.         document.getElementById("clicks").value = document.getElementById("clicks").value+"id";
  161.     };
  162.     </script>
  163. </br></br>
  164. <a href="#" onClick="addversion()" >[ VERSION ]</a>
  165.  
  166. <script type="text/javascript">
  167.     function addversion() {
  168.         clicks += 1;
  169.         document.getElementById("clicks").value = document.getElementById("clicks").value+"@@version";
  170.     };
  171.     </script>
  172. </br></br>
  173. <a href="#" onClick="addC0mment()" >[ C0mment ]</a>
  174.  
  175.  
  176. <script type="text/javascript">
  177.     function addunion() {
  178.         clicks += 1;
  179.         document.getElementById("clicks").value = document.getElementById("clicks").value+"union";
  180.     };
  181.  
  182.  function addselect() {
  183.         clicks += 1;
  184.         document.getElementById("clicks").value = document.getElementById("clicks").value+"Select";
  185.     };
  186.  
  187.  function addscript() {
  188.         clicks += 1;
  189.         document.getElementById("clicks").value = document.getElementById("clicks").value+"<script>";
  190.     };
  191.  
  192.  function addorder() {
  193.         clicks += 1;
  194.         document.getElementById("clicks").value = document.getElementById("clicks").value+"ORDER BY";
  195.     };
  196.  
  197. function addC0mment() {
  198.         clicks += 1;
  199.         document.getElementById("clicks").value = document.getElementById("clicks").value+"--";
  200.     };
  201.  
  202. function submitact() {
  203.  document.getElementById("clicks").value = document.getElementById("clicks").value+"<?php echo $html;?>";
  204.   };
  205.  
  206.     </script>
  207. </br></br>
  208. <a href="#" onClick="addunion()" >[ UNI0N ]</a></br></br>
  209. <a href="#" onClick="addselect()" >[ SELECT ]</a></br></br>
  210. <a href="#" onClick="addscript()" >[ SCRIPT ]</a></br></br>
  211. <a href="#" onClick="addorder()" >[ Order By ]</a>
  212.  
  213. </div>
  214.  
  215. <script type="text/javascript">
  216.     var clicks = 0;
  217.     function onClick() {
  218.         clicks += 1;
  219.         document.getElementById("clicks").value = document.getElementById("clicks").value+document.getElementById("clicks").innerHTML+clicks+",";
  220.     };
  221.     </script>
  222. <textarea name="u" class="url-input" cols="80" rows="10" id="clicks" placeholder="http://www.example.com/"/></textarea>
  223. <br></br>
  224. <input type="submit" value="Go" class="url-input url-button" name="submit" id="submit">  
  225. <button type="button" onClick="onClick()" id="submit" >Counter++</button>  
  226.    </form>
  227. </fieldset>
  228. </center>
  229.        
  230.             <iframe name="browser" id="browser"></iframe>
  231.  
  232.     <center><h3>Coded By H4T3D</h3></center>
  233.     </body>
  234. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement