Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Extracting data from SQL database knowing tables and columns

well say theoretically that I have found a vulnerable website, found the number of columns, found the vulnerable column and finally found the names of both the tables and the columns...how the hell I extract data like passwords or anything else ? I mean what query should I use ? Please help
Using DIOS syntax (no limitation with output)
or using group_concat (possible output limitation as output is limited to 1024 characters).

See syntax :
http://pastie.org/private/de9jfl89op1hdvskpjpf7a
Janus - SQLi challenges for advanced injectors
hello bro! where can i get more DIOS code?
(Mar 9, 2016 05:22 AM)kolinn Wrote:  hello bro! where can i get more DIOS code?

I have a tutorial blog post which goes in depth regarding DIOS, specifically used for dumping the entire DB struct. But it's fairly easy to modify these queries to pull out the actual data. http://frostyhacks.blogspot.co.uk/2014/1...m-all.html
Maybe column is empty......
Use SqlMap tool to try.
thank you so much, I'll take a look to the DIOS tutorial
Hi guys!!! Now say theoretically that I've been able to watch all the data in all the columns of all the tables...is it possible that there's not sensible data ?? I mean there's no trace of passwords or mails or telephone numbers ! In this case is the sql injection totally unuseful ??
(Mar 23, 2016 11:12 AM)jackjohn Wrote:  Hi guys!!! Now say theoretically that I've been able to watch all the data in all the columns of all the tables...is it possible that there's not sensible data ?? I mean there's no trace of passwords or mails or telephone numbers ! In this case is the sql injection totally unuseful ??

Did you check all databases for passwords?

If passwords are not stored in database that doesn't mean SQLi is generally useless. SQLi can't give you something that isn't stored in database(s).
Janus - SQLi challenges for advanced injectors
yes it is what I was trying to say :) I meant it is useles in this particular case isn't it ? so is it possible that passwords are not stored anywhere ?
If you're using sqlmap hmu.
No I'm doing it "manually"


Possibly Related Threads...
Thread / Author Replies Views Last Post
by aviertismentApr 29, 2023 06:05 PM 0 183 Apr 29, 2023 06:05 PM
Last Post: aviertisment
by Error22Mar 2, 2023 12:42 AM 7 398 Mar 2, 2023 12:42 AM
Last Post: Disqual
by Error22Aug 24, 2021 10:09 AM 3 255 Aug 24, 2021 10:09 AM
Last Post: Error22