When you try to get a table, the sqlmap use
DISTINCT(COUNT(columnName))
But, what happens when NONE column have the exact number of distinct in the table? Well, it will NOT download all data. How solve it?
Why not use more than one column? And it worked for me. If I use:
DISTINCT(COUNT(SELECT (CAST(columnName AS VARCHAR(4000))+CHAR(100)+(CAST(secondColumn AS VARCHAR(4000)) )))
You can use more columns as pivot until it get all elements.
In the select, I just get the two column plus more data and use it as a pivot. You can use some good logic, but the idea is it.
When you try to get a table, the sqlmap use
DISTINCT(COUNT(columnName))
But, what happens when NONE column have the exact number of distinct in the table? Well, it will NOT download all data. How solve it?
Why not use more than one column? And it worked for me. If I use:
DISTINCT(COUNT(SELECT (CAST(columnName AS VARCHAR(4000))+CHAR(100)+(CAST(secondColumn AS VARCHAR(4000)) )))
You can use more columns as pivot until it get all elements.
In the select, I just get the two column plus more data and use it as a pivot. You can use some good logic, but the idea is it.