Sinisterly
Help With SQL Injection - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Website & Server Hacking (https://sinister.li/Forum-Website-Server-Hacking)
+--- Thread: Help With SQL Injection (/Thread-Help-With-SQL-Injection)



Help With SQL Injection - Shawn_Rogers - 08-15-2011

OK, so the vulnerable URL that I'm attacking has only one column and the only way to retrieve data from that column is to generate an error. The column normally accepts an int value so any string value returns an error. However, when I try to cast an int to a string as to return an error like:

union select convert(varchar,zip) from address

I don't get an error. How can I generate one?
Additionally, conversion to type text only gives the error "Operand type clash: text is incompatible with int".


RE: Help With SQL Injection - FrostByte_mybb_import5923 - 08-15-2011

sow me the site and i will see if i can help you


RE: Help With SQL Injection - FrostByte_mybb_import5923 - 08-15-2011

sow me the site and i will see if i can help you


RE: Help With SQL Injection - Shawn_Rogers - 08-15-2011

http://www.timeimports.com/designer-watches/pc/viewCategories.asp?SFVID=1


RE: Help With SQL Injection - Shawn_Rogers - 08-15-2011

http://www.timeimports.com/designer-watches/pc/viewCategories.asp?SFVID=1