Is there any way to save half-dumped output in csv file or in table format in sqlmap?
Look below image for better understanding. The target is boolean-based blind injection vulnerable. For sure, this injection takes a long time for larger database to extract. But my concern is if current columns I am trying to dump contains lets say 10000 rows (data). I spend 2-3 hours and extracted 5000 rows using flag --dump
. Now I don't want to extract further data and I am happy with the 5000 so, I pressed ctrl+C to stop the attack.
Now the problem is sqlmap will not save this 5000 extracted data in csv file because the attack was not finished or it was stopped in the middle. And the output in the terminal window is also not in table format where I can copy paste and save it in a txt file or anywhere.
Now I am stuck with this 5000 extracted data which is not even useful for me or sorting this data in table format might take me another 2-3 hours!
So what can I do save this half dumped data in table format?
sed
andawk
can do it or a python script