sqlmap icon indicating copy to clipboard operation
sqlmap copied to clipboard

I want the result of --sql-query to be saved as a CSV file.

Open Nzoth9 opened this issue 2 years ago • 6 comments

Hi! How are you doing? I don't know if I can make this request without a 1 dollar sponsor. I would love to see sponsor marks on future my GitHub accounts.

As you may have noticed, the results of -D DB -T TB -C A,B --dump and --sql-query="SELECT A,B FROM DB.TB" are slightly different. The latter simply saves to the output and log file.

Currently, I want to save the results to a CSV file when the -D option is not available in SQLMAP (version detection failed [I'll try to debug it!]) or when using the ORDER BY syntax(with --sql-query).

Thank you as always. Dear Stampar👍🏼

Nzoth9 avatar May 22 '23 10:05 Nzoth9

nice idea

oguilhermegimenes avatar Jun 04 '23 04:06 oguilhermegimenes

please make this available

anauwal avatar Mar 13 '24 05:03 anauwal

Hello I want to inderstand your prblem ; you mean that you have to use -D DB -T TB -C A,B --dump and you want to save the result in CSV File or you have to use --sql-query="SELECT A,B FROM DB.TB" and you want to save the result in CSV file ?

Aridhi-Dhia-eddine avatar Mar 29 '24 16:03 Aridhi-Dhia-eddine

you have to use --sql-query="SELECT A,B FROM DB.TB" and you want to save the result in CSV file ?

That

mastercho avatar Mar 29 '24 16:03 mastercho

but as i know it accept only one attribute in the request is it what you want? you want to store this value in CSV file ?

Aridhi-Dhia-eddine avatar Mar 29 '24 20:03 Aridhi-Dhia-eddine

hello just i want to know where the function "_saveToResultsFile" is called in the sqlmap project ?

Aridhi-Dhia-eddine avatar Apr 07 '24 12:04 Aridhi-Dhia-eddine